comm: Formalise interface to udp sockets
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Sep 2014 23:51:58 +0000 (00:51 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 8 Oct 2014 17:25:17 +0000 (18:25 +0100)
commitf7af31926b95660b98177fb4fd48c72edf32944d
tree1bddd3c06e880a02f4cab44754ed52b8555db2ba
parent763e458ff3a1cb4f9d11226db91f17069f7b8f7a
comm: Formalise interface to udp sockets

Have the poll registration done by the udpcommon/udpsocks code, rather
than by udp.c.  This means we can abolish the two wrapper functions,
but we do need an extra pointer in a udpsocks to find the udpcommon.

No overall functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
comm-common.h
udp.c