Take some of the mystery out of who does what by
authorkrw <krw@openbsd.org>
Mon, 10 Jul 2017 17:13:24 +0000 (17:13 +0000)
committerkrw <krw@openbsd.org>
Mon, 10 Jul 2017 17:13:24 +0000 (17:13 +0000)
commit9e1c2583c418ba0b08a3077b2ccd7a5bbd62a271
tree8a9da0ea2661113e448d44e812beb6df282ae239
parentd729d5a3b18abcae2abf8c55c440b1af62bf035a
Take some of the mystery out of who does what by
renaming "if_register_bpf()" to "get_bpf_sock()",
"if_register_send()" to "get_udp_sock()" and
"if_register_receive()" to "configure_bpf_sock()".

Pull back interface_info knowledge and just pass
the interface name, rdomain and bpf socket fd as
required.
sbin/dhclient/bpf.c
sbin/dhclient/dhclient.c
sbin/dhclient/dhcpd.h