]> git.ipfire.org Git - thirdparty/bird.git/commit
Rewritten the I/O loop. All socket operations are now safe, meaning that
authorMartin Mares <mj@ucw.cz>
Mon, 31 May 2004 21:48:19 +0000 (21:48 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 31 May 2004 21:48:19 +0000 (21:48 +0000)
commit38a608c55af7654f23c9a16129ab6211aac3b7ab
treeebe43e728b3e7fcbb7679ae4d52ba5deab9fdeae
parent206f59dfa8e59e32f4aef12dacb0804581b9f602
Rewritten the I/O loop. All socket operations are now safe, meaning that
you can delete the socket from anywhere in the hooks and nothing should break.
Also, the receive/transmit buffers are now regular xmalloc()'ed buffers,
not separate resources which would need shuffling around between pools.

sk_close() is gone, use rfree() instead.
lib/socket.h
proto/bgp/bgp.c
sysdep/unix/io.c
sysdep/unix/main.c