netdev
[Top] [All Lists]

Re: Do you know about skb_header_pointer() ?

To: Harald Welte <laforge@xxxxxxxxxxxxx>
Subject: Re: Do you know about skb_header_pointer() ?
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Thu, 19 Aug 2004 10:27:53 -0700
Cc: yasuyuki.kozakai@xxxxxxxxxxxxx, kaber@xxxxxxxxx, kadlec@xxxxxxxxxxxxxxxxx, kisza@xxxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxxxxxx, usagi-core@xxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20040819170040.GW3921@sunbeam.de.gnumonks.org>
References: <200408190721.QAA02944@toshiba.co.jp> <20040819094401.GY3921@sunbeam.de.gnumonks.org> <20040819071750.67f0e924.davem@redhat.com> <20040819170040.GW3921@sunbeam.de.gnumonks.org>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 19 Aug 2004 19:00:40 +0200
Harald Welte <laforge@xxxxxxxxxxxxx> wrote:

> can imagine a case where parts of the header up and including the tcp
> options could be non-linear.

A driver could do this, by putting all receive SKB data into
pages.

I am not aware of any that currently do this.

Such a driver would have to be very careful, as things like
the ethernet header parsing code on receive is not ready
for such things.  Things like pskb_may_pull() calls would
need to be added to that code for this to work.


<Prev in Thread] Current Thread [Next in Thread>