dhcp.core
DHCP protocol definition.
default-response
(default-response msg-map srv-if)Takes a msg-map containing a :opt/msg-type and based on the msg-type and network info from srv-if, returns a populated msg-map with default values.
write-dhcp
(write-dhcp msg-map & [spec])Write/encode an DHCP payload into an allocated buffer using msg-map. Returns the allocated buffer sliced to the size written.