Re: Gateway..skbuff

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

 




Angelo Dell'Aera wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
>> On Fri, 22 Nov 2002 00:06:51 -0500 (EST)
>> Ronghua Zhang <rz5b@cs.virginia.edu> wrote:
>>
>>
>>> But all the  document I can found is about  skbuffs in 2.2.xx.  There
>>> are some new  things added to skbuffs since  2.4. Anybody knows about
>>> them ?
>>
>> Try to look at  http://www.linux.org.uk/Documents .
>
>
> Excuse me but http://www.linux.org.uk/Documents/buffers.html is the correct
> URL.
>
> Regards,
>
> Angelo Dell'Aera 'buffer'
> <buffer@users.sourceforge.net>
>

struct sk_buf uses a lot of skb_*() functions to operate on the structure.
one known path is include/linux/skbuf.h and net/core/skbuf.c to access & link.
for an example you can alloc_skb()s and kfree_skb() and for example skb_copy()
and skb_clone socket buffers. Socket Buffers should be given priority and
task time through socket buffer queues (struct sk_buff_head). There are
skb_queue_*() and other skb_operations to operate on.

edwin

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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