Re: sk_buff

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

 



On Mon, Feb 24, 2003 at 08:37:30AM -0000, Dinesh  Gandhewar wrote:

> Hello,
> What does 'data_len' in sk_buff contain? What does 'skb_linearize' 
> do?

data_len is the total size of the fragmented data chunks in this
skb. (skb->frags[]). skb_linearize taks these fragments and after
enlarging the main skb buffer (skb->data), writes them there
sequentially, so you end up with one big sequential (linear) buffer of
data instead of serveral scattered ones. 
-- 
Muli Ben-Yehuda
http://www.mulix.org

Attachment: pgp00332.pgp
Description: PGP signature


[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