lkml.org 
[lkml]   [2001]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: a problem about non-linear sk_buff
On Tue, 9 Oct 2001 23:51:17 -0400 (EDT)
Jianyong Zhang <jzhang@cse.psu.edu> wrote:

JZ> Hi,

JZ> I'm a newcomer of this list. I want to understand the tcp/ip stack's
JZ> implementaion, and hope that I can get your help.

kernlel-net is also good for this kind of questions.

JZ> I find that that sk_buff can be fragmented, and it's called nonlinear.
JZ> What's the meaning of nonlinear? And what are the meaning of
sk_buff's

May be because of MTU?

JZ> fields: skb->data_len and skb_shinfo(skb)? I have no idea about them.

As I've right understood it from
www.linux.org.uk/Documents/buffers.html (excellent Alan's book)
http://kernelnewbies.org/documents/ipnetworking/linuxipnetworking.html
(the best source of documentation fobeginners)
and skbuff.h
skb->data_len is actuall length of the data( that is all packet length -
header length).

skb_shinfo(skb) returns structure that containig number of fragments, list
of it, and some other( what? ).

JZ> May you explain them? Thank you.

I'm trying, but it can be absolutelly wrong :)

JZ> Jianyong Zhang

Evgeniy Polyakov.
---
WBR. //s0mbre
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:08    [W:0.268 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site