chiark / gitweb /
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>
Mon, 29 Sep 2014 15:01:06 +0000 (16:01 +0100)
commitf545e6611e29cff81e4fa6fc84375362b776f5a2
treef620ef50aaba63d5521b570f742b9f17e4bb23c0
parent5e48411d798c73b44d22327466cc64daf8a296c0
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