| #
6d49aa6f |
| 22-Apr-2007 |
Matthew Dillon <dillon@dragonflybsd.org> |
Give the sockbuf structure its own header file and supporting source file. Move all sockbuf-specific functions from kern/uipc_socket2.c into the new kern/uipc_sockbuf.c and move all the sockbuf-speci
Give the sockbuf structure its own header file and supporting source file. Move all sockbuf-specific functions from kern/uipc_socket2.c into the new kern/uipc_sockbuf.c and move all the sockbuf-specific structures from sys/socketvar.h to sys/sockbuf.h.
Change the sockbuf structure to only contain those fields required to properly management a chain of mbufs. Create a signalsockbuf structure to hold the remaining fields (e.g. selinfo, mbmax, etc).
Change the so_rcv and so_snd structures in the struct socket from a sockbuf to a signalsockbuf.
Remove the recently added sorecv_direct structure which was being used to provide a direct mbuf path to consumers for socket I/O. Use the newly revamped sockbuf base structure instead. This gives mbuf consumers direct access to the sockbuf API functions for use outside of a struct socket. This will also allow new API functions to be added to the sockbuf interface to ease the job of parsing data out of chained mbufs.
show more ...
|
| #
0b30dad7 |
| 04-Mar-2007 |
Sascha Wildner <swildner@dragonflybsd.org> |
Remove weird license clause which has expired.
|
| #
a6ec04bc |
| 22-Dec-2006 |
Sascha Wildner <swildner@dragonflybsd.org> |
Rename printf -> kprintf in sys/ and add some defines where necessary (files which are used in userland, too).
|
| #
f3f70f0d |
| 14-Jan-2006 |
Sascha Wildner <swildner@dragonflybsd.org> |
* Remove (void) casts for discarded return values.
* Put function types on separate lines.
* Ansify function definitions.
* Remove __P.
In-collaboration-with: Alexey Slynko <slynko@tronet.ru>
|
| #
9a5b142f |
| 09-Mar-2005 |
Jeffrey Hsu <hsu@dragonflybsd.org> |
Take into account the number of SACKed bytes skipped when slow-starting in order to send out a full congestion window's worth of packets.
Reported by and tested by: Noritoshi Demizu <demizu@dd.iij4u
Take into account the number of SACKed bytes skipped when slow-starting in order to send out a full congestion window's worth of packets.
Reported by and tested by: Noritoshi Demizu <demizu@dd.iij4u.or.jp>
show more ...
|
| #
91489f6b |
| 14-Nov-2004 |
Jeffrey Hsu <hsu@dragonflybsd.org> |
Implement SACK.
|