RE: skbuff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 18 Feb 2002 anupama.sonnenahalli@amd.com wrote:

> Thank you for your prompt reply. I appreciate it.
> 
> But, am still confused with data_len field. Just like I said before in my mail, 
> 
> len (skb->tail - skb->data)  : Actual data length for the specific protocol layer. Depending on the layer which is examining the stack, the data pointer ( and/or tail pointer) could move and len will indicate the portion of the memory which the protocol is examining!
> 
> But, what is data_len?

Where did u find the 'data_len' field? I dont see it in the sk_buff 
struct! AFAIK, there are 2 lengths: 'len' and 'truesize' and they are 
controlled by the head, tail, data and end pointers.

ciao,
Amit
-- 
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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux