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)
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>

No differences found