Re: Info regarding Linux Network Buffers.

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

 



On Thu, Mar 20, 2003 at 11:04:55AM +0530, Deepankar Vidyarthi wrote:

> there are both the frag_list (which as far as I understand is the
> list of fragments set when reassembling the packet) 
> and frags[] array (which is an array with pointers to memory pages).

The frags array is limited to MAX_NUM_SKB fragments. If you need more
fragments, you need a place to store those frags.  Linux uses another
skb's ->frags for it, and chains this second skb to the first skb via
the frag_list. (skb1->frag_list = skb2). 
-- 
Muli Ben-Yehuda
http://www.mulix.org

Attachment: pgp00353.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