4 Commits

Author SHA1 Message Date
David Anderson
c5449b945c dhcp: implement a linux specific "port sharing" Conn.
This implementation uses a raw IP socket combined with a BPF packet
filter to receive traffic for one UDP port, without having to bind()
to that port. This enables this Conn to coexist on a machine alongside
a DHCP server.
2016-05-14 22:17:10 -07:00
David Anderson
bd7be1a19a Enable custom import paths. 2016-03-24 13:12:10 -07:00
David Anderson
21d22e747d Make dhcp.Conn also be an io.Closer. 2016-03-23 23:43:52 -07:00
David Anderson
aa6bf25654 Add a Conn type for sending and receiving DHCP packets. 2016-03-23 23:30:42 -07:00