mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* a problem about non-linear sk_buff
@ 2001-10-10  3:51 Jianyong Zhang
  2001-10-11  2:08 ` Evgeniy Polyakov
  2001-10-11  9:42 ` Evgeniy Polyakov
  0 siblings, 2 replies; 3+ messages in thread
From: Jianyong Zhang @ 2001-10-10  3:51 UTC (permalink / raw)
  To: linux-kernel

Hi,

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

  I find that that sk_buff can be fragmented, and it's called nonlinear.
What's the meaning of nonlinear?  And what are the meaning of sk_buff's
fields: skb->data_len and skb_shinfo(skb)?  I have no idea about them.
May you explain them?  Thank you.

Jianyong Zhang



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: a problem about non-linear sk_buff
  2001-10-10  3:51 a problem about non-linear sk_buff Jianyong Zhang
@ 2001-10-11  2:08 ` Evgeniy Polyakov
  2001-10-11  9:42 ` Evgeniy Polyakov
  1 sibling, 0 replies; 3+ messages in thread
From: Evgeniy Polyakov @ 2001-10-11  2:08 UTC (permalink / raw)
  To: Jianyong Zhang; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: a problem about non-linear sk_buff
  2001-10-10  3:51 a problem about non-linear sk_buff Jianyong Zhang
  2001-10-11  2:08 ` Evgeniy Polyakov
@ 2001-10-11  9:42 ` Evgeniy Polyakov
  1 sibling, 0 replies; 3+ messages in thread
From: Evgeniy Polyakov @ 2001-10-11  9:42 UTC (permalink / raw)
  To: Jianyong Zhang; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-11  9:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-10  3:51 a problem about non-linear sk_buff Jianyong Zhang
2001-10-11  2:08 ` Evgeniy Polyakov
2001-10-11  9:42 ` Evgeniy Polyakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®