3 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
aa6bf25654 Add a Conn type for sending and receiving DHCP packets. 2016-03-23 23:30:42 -07:00
David Anderson
6f642bb5ed Rename dhcp.go to packet.go in preparation for introduction of server. 2016-03-15 20:25:24 -07:00