Re: ip_append_page and the socket send buffer

2007-02-16 Thread Elad Lahav
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 da

Re: ip_append_page and the socket send buffer

2007-02-16 Thread James Morris
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? Where is the code? -- James Morris <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line

ip_append_page and the socket send buffer

2007-02-16 Thread Elad Lahav
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: 1. Allocate a page and copy the given data to that page 2. Set up routing and cork the socket 3. Call ip_append_data to create an initial skb (with dat