Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom DHCP option processing #119

Merged
merged 2 commits into from Mar 26, 2014
Merged

Custom DHCP option processing #119

merged 2 commits into from Mar 26, 2014

Conversation

njh
Copy link
Owner

@njh njh commented Mar 26, 2014

Implemented functionality to request a custom DHCP option and process the response in a callback.

This allows an application to request additional options from the DHCP server (such as the address of an NTP server or TFTP server) and receive the response. List of DHCP options is maintained by IANA:
https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml

The currently implementation only support a single option and callback but the design of the API is designed to allow additional options for a future development.

There is an example of using this functionality to receive a list of NTP servers here:
https://github.com/njh/EtherCardClock

jcw added a commit that referenced this pull request Mar 26, 2014
Custom DHCP option processing
@jcw jcw merged commit 4480665 into njh:master Mar 26, 2014
@jcw
Copy link

jcw commented Mar 26, 2014

Looks good! Thanks.

@njh
Copy link
Owner Author

njh commented Mar 26, 2014

Thanks!

@njh njh deleted the dhcpoptioncb branch April 1, 2014 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants