Hi netters.. I want to extract some info from the packet that comes to the driver and the packet comes with a prepended propietiery header ..The info i am interested in is in the propeitery header. Now bcos the minute it comes to the driver...SK_BUFF is gonna copy everything from the ethernet header ..So i lose the info once it enters the stack...so i was trying to find out if there is any PER PACKET structure that is filled when the recv calls are made. (i'm using UDP..so recvfrom) As per the defintion of the sockaddr_in structure there is some 8 bytes of unused space which i could possibly use. Now there r 2 questions. 1) Is this structure PER PACKET or PER SOCKET....does it get filled afresh for every new packet or is it taken from the SOCK structure and filled in. 2) I tried to look in to the source code for udp_recv msg(/usr/src/linux/net/ipv4/udp.c) and this 8 bytes there are not copied into the user space bocs they presume that it is not goona be used. AM I RIGHT??????? I appreciate any kind of suggestion that could help me out. Please let me know if there is another PER PACKET STRUCTURE THAT I COULD MANIPULATE. - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to [EMAIL PROTECTED]
