socket() and select() working in dhcp relay

The Coder thecoder15 at
Wed Aug 14 12:47:15 UTC 2019

Hi All,

I was playing with DHCP Relay socket and and its option. I am using lpf
(default socket), and I read a comment in lpf.c as :
"/* Called by get_interface_list for each interface that's discovered.
   Opens a packet filter for each interface and adds it to the select
   mask. */"
But I was unable to find code which handles select() part of it.
Socket handling of isc dhcp is really complex, anyone can point to code or
show the direction ?
Any help would be appreciated.

The Coder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dhcp-workers mailing list