LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-24-2011, 11:13 AM   #1
Kilkenny32
LQ Newbie
 
Registered: Jan 2011
Location: Ireland
Distribution: Fedora 11 & 14, Ubuntu 10.4
Posts: 1

Rep: Reputation: 0
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Netfilter kernel module hook at PREROUTING forward packet use ip_forward(sk_buff) lukeshih Programming 0 11-18-2010 03:35 AM
How to get mac id of a packet using sk_buff structure iamjayanth Linux - Kernel 1 10-04-2009 11:28 PM
Convert directory structure from long file names in Linux to DOS 8.3 structure? manorina Linux - Software 5 09-12-2009 09:18 AM
Home Jail Folder Structure like Gobolinux Directory Structure luispt Linux - General 3 07-26-2008 06:46 PM
kernel APIs related to sk_buff seong moon Linux - Networking 0 08-27-2002 04:28 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration