05_DCCP-Remove-Unused.diff Since DCCP now also uses the makesock function from net.c, it does no longer need the functions from dccp.c -- the file is thus removed by this patch. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
01_IPv6-Basic-Support.diff This patch provides an algorithm which, given a hostname and a numeric port identifier, will look up all matching IPv4/IPv6 addresses and either bind it (for passive sockets) or connect to it (for active sockets). Certain socket options need to be set before a connection is established. Since in paraslash the demand for such options is not very big at this time, the only present case (setting SO_REUSEADDR on passive sockets) has been integrated into the main loop. A more sophisticated variant for setting pre-connection socket options exists and is available as part of the DCCP library. The current solution is extensible, i.e. if one wants to later add more options, the alternative (more sophisticated approach) can be used. But for now, that would just have meant code bloat. The subsequent patches in this set will step by step replace the old infrastructure with the use of this algorithm. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Make para_fsck work without specifying tables. Also, move some fd related functions from osl.c to fd.c and introduce para_opendir().
replace standard GPL header by a one-line pointer to COPYING
dccp.c was modified in 2007, so change header to reflect this
simplify dccp_set_socket() (Gerrit Renker) This patch kills two unneccessary setsocketopt calls and cleans up the resulting fallout.
mark all fds used for select() as non-blocking This shouldn't matter much, but there _are_ (rare) situations where an fd is marked ready for reading, but a subsequent read will block nevertheless. It's never wrong to use non-blocking fds, so just do it. This patch also includes a check in para_fd_set() which spots blocking fds as they are added to the fd sets. This check is commented out for performance reasons but can easily be activated.
doxify dccp Add documentation for all non-static functions, and move the defines of the magic dccp constants from dccp.h to dccp.c as they are only used there.
Add Ian McDonald to CREDITS Also, add a copyright notice at the top of dccp.c dccp.h dccp_recv.c and dccp_send.c
Add GPL headers for dccp.c dccp.h, dccp_recv.c, and dccp_send.c
First draft of the dccp sender/receiver pair.