Look at http://www.linuxdoc.org/LDP/tlk/net/net.html (Section 10.5) for a good explanation with pictures :) On Mon, 18 Feb 2002, Geetha wrote: > Hi, > unsigned char *head > unsigned char *data > unsigned char *tail > unsigned char *end > > head points to the beginning of the allocated space, data is the beginning > of the valid octets( usually slightly greater than head ), tail is the end > of the valid octets and end points to the address tail can reach. > > Another way to look available buffer space is > skb->end - skb->head > > and currently used data space is > skb->tail - skb->data > > So the length of the data itself (skb->tail - skb->data). > > > Geetha -- The statement below is true. The statement above is false. ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^ Amit Kucheria EECS Grad. Research Assistant University of Kansas @ Lawrence (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774 ____________________________________________________ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/