LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   sk_buff structure in kernel source (https://www.linuxquestions.org/questions/programming-9/sk_buff-structure-in-kernel-source-858379/)

Kilkenny32 01-24-2011 11:13 AM

sk_buff structure in kernel source
 
Hi all,

I'm trying to figure out a few things about the sk_buff structure. I've looked through the kernel source and some documentation, but I haven't been able to find the info I'm looking for... not yet anyway.

1. Is one sk_buff == one packet, or can a packet be spread across multiple sk_buffs?

2. What does *next actually point to? Is it pointing to the next packet in a stream, or does it point to the next fragment of a packet (if they are scattered across multiple sk_buffs)? In the code it says "@next: Next buffer in list" which I'm not sure how to interpret.

Thanks!


All times are GMT -5. The time now is 07:30 AM.