I'm looking for some feedback on this request. For example, I couldn't decide if the functions should include "Value" in their name. "Time Value" is part of the name of the option in the RFC.
dhcpv4.OptRenewTimeValue(...) or dhcpv4.OptRenewTime(...)
Also the access functions on DHCPv4 already exist and are named like IPAddressRenewalTime. Would it be more clear if the option creation helpers were named with an IPAddress prefix so like OptIPAddressRenewalTime (also renew vs renewal)?
I'm looking for some feedback on this request. For example, I couldn't decide if the functions should include "Value" in their name. "Time Value" is part of the name of the option in the RFC.
dhcpv4.OptRenewTimeValue(...)
ordhcpv4.OptRenewTime(...)
Also the access functions on
DHCPv4
already exist and are named likeIPAddressRenewalTime
. Would it be more clear if the option creation helpers were named with anIPAddress
prefix so likeOptIPAddressRenewalTime
(alsorenew
vsrenewal
)?