cvs commit: src/sys/kern uipc_socket.c
Mike Silbersack
silby at silby.com
Sun Dec 4 21:34:57 PST 2005
On Mon, 28 Nov 2005, Robert Watson wrote:
> Break out functionality in sosend() responsible for building mbuf
> chains and copying in mbufs from the body of the send logic, creating
> a new function sosend_copyin(). This changes makes sosend() almost
> readable, and will allow the same logic to be used by tailored socket
> send routines.
Now for a followup, you can merge this with m_uiotombuf. :)
Back when I wrote m_uiotombuf, I had intended to put it inside sosend, I
just didn't want to deal with the complexity of the zero copy sockets.
Mike "Silby" Silbersack
More information about the cvs-src
mailing list