socket() and select() working in dhcp relay

The Coder thecoder15 at gmail.com
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.

Regards,
The Coder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-workers/attachments/20190814/e3e842dd/attachment.html>


More information about the dhcp-workers mailing list