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>
Thu, 2 Oct 2014 15:40:16 +0000 (16:40 +0100)
commit1f4ff396bc3476bdfd6a87edcbb20cadd1c5b779
tree0cde0dd34e1156f3bc7a9efc0e77696c12dd706a
parentdb9d6ee0e906a4fa70e380dc79d158cd3dfec3fe
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