[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <45D62994.6000609@users.sourceforge.net>
Date: Fri, 16 Feb 2007 17:00:52 -0500
From: Elad Lahav <elad_lahav@...rs.sourceforge.net>
To: James Morris <jmorris@...ei.org>
CC: netdev@...r.kernel.org
Subject: Re: ip_append_page and the socket send buffer
James Morris wrote:
> On Fri, 16 Feb 2007, Elad Lahav wrote:
>
>> I wrote a function that is equivalent to udp_sendmsg, but uses ip_append_page
>> to attach data to an skb. The function is implemented as follows:
>
> Why?
This scheme allows you to send the same data to multiple recipients. The
user's data is copied only once into a set of pages, which are then
shared among multiple skbuff objects.
> Where is the code?
The code is probably too long to be attached to a mailing list message.
It pretty much follows the steps I specified in my original e-mail. I
can provide more details, if required.
Elad
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists