RE: regarding about sk_buff ....

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

 



Hi Kevin,

I had already looked into that. The thing is that I am confused over the
data portion of packets with the data room in skbuff. It seems to me
that these pointers (head,data,tail,end) are just used for manipulating
the way you would want to insert data (including packet headers, msghdr,
etc) into skbuff. However, just before sending out a normal IP packets,
where would the pointers be pointing at?? That's what I am unsure of. :P


Cheers,
Jonathan

-----Original Message-----
From: owner-kernelnewbies@nl.linux.org
[mailto:owner-kernelnewbies@nl.linux.org] On Behalf Of Kevin Wojtysiak
Sent: Wednesday, October 10, 2001 11:05 PM
To: kernelnewbies@nl.linux.org
Subject: Re: regarding about sk_buff ....


Just look at include/linux/skbuff.h
It's actually quite informative about the actual skbuff structure (very
well 
commented)

On Wednesday 10 October 2001 06:01 am, you wrote:
> Hi guys,
> I am quite confused by the sk_buff's head, data and tail room concept.

> Let's say I have an IPv6 packet with a filled msghdr which carries 2 
> iovec structures. How would the skbuff looks like?
>
> Which part of the packet corresponds to:
> - ethernet header
> - ipv6 header
> - msghdr
> - iovec
> - other parts of skbuff
>
> Many thanks in advance!
>
> Cheers,
> Jonathan
>
> -
> 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/
-
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/

-
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