comm: Break out some common udp parts
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Sep 2014 15:11:16 +0000 (16:11 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 8 Oct 2014 17:25:09 +0000 (18:25 +0100)
commit763e458ff3a1cb4f9d11226db91f17069f7b8f7a
tree87898e092c3eee34d486605ed453d7a2be891535
parent54d5ef0053f1f9ef4e34dacba002513e5ccea0fd
comm: Break out some common udp parts

Provide a section in comm-common.h which allows other comms to share
some of the work done in udp.c.  Specifically, we provide the new
concepts of `udpsocks' and `udpcommon'.

The port configuration parameter is lifted into the udp struct.

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