RE: RE: Re: more questions on skbuff allocation

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

 



This is an sk_buff API function available to you to add data at the end.
It may not always be needed.
One situation where it might be useful is in data link layer where frame trailers are
added to the packet at the end.
And for that matter any trailing data/control information can be added using skb_put.
 
Deepankar.
-----Original Message-----
From: bunty [mailto:bunty123_4@rediffmail.com]
Sent: Thursday, April 29, 2004 1:28 PM
To: Deepankar Vidyarthi
Cc: kernelnewbies@nl.linux.org
Subject: Re: RE: Re: more questions on skbuff allocation



hi Deepankar,
>you are supposed to
>write whatever you want to (till length len which you gave in skb_put call

      i dont understand what can i write there? application data is already filled at start of building packet headers at tcp layer.does it corresponds to writing packet came from upper layers?


regards,
parag.

>  -----Original Message-----
>  From: kernelnewbies-bounce@nl.linux.org
>[mailto:kernelnewbies-bounce@nl.linux.org]On Behalf Of bunty
>  Sent: Thursday, April 29, 2004 12:00 PM
>  To: mohanlal jangir
>  Cc: kernelnewbies@nl.linux.org
>  Subject: Re: Re: more questions on skbuff allocation
>
>
>
>  hi ,
>            i already read that articale but it is not having clear
>explaination about how actually in kernel it works?
>  what i am not getting from diagram 3 and 4 is that what exactly has been
>put in skb in diagram 4 so that it looks like
>            | headroom | data area| skb_put area | tailroom
>  from diagram 3
>          | headroom | data area | tailroom
>
>  regards,
>  parag.
>
>
>  On Thu, 29 Apr 2004 mohanlal jangir wrote :
>  >Here is an excellent tutorial by Alan Cox
>  >http://www.tldp.org/LDP/khg/HyperNews/get/net/net-intro.html
>  >
>  >Regards
>  >Mohanlal
>  >
>
>
>
>
>




[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