summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/option_iaprefix.go
AgeCommit message (Collapse)Author
2020-03-11v6: introduce Prefix optionsChris Koch
IAPD has PDOptions which allows IAPrefix and StatusCode. IAPrefix has PrefixOptions which allow StatusCode. Signed-off-by: Chris Koch <chrisko@google.com>
2020-03-06dhcpv6: always write 16-byte IPsChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2020-03-04dhcpv6: allow using OptIAPrefix without initializingMikael Magnusson
Set the IPv6 prefix field to zero if the prefix is invalid or not initialized. Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
2020-01-02v6: use time.Duration for duration fieldsChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2019-01-26dhcpv6: remove unnecessary Length functionChristopher Koch
2019-01-26dhcpv6: move option code and length marshaling to Options.ToBytes.Christopher Koch
2019-01-26dhcpv6: easier option parsingChristopher Koch
- move option parsing to uio buffer library. - move option code and length reading into FromBytes rather than implementing it in each OptionParser.
2019-01-26dhcpv6: introduce options type.Christopher Koch
2018-10-16OptIAPrefix: sub-options (#177)Pablo Mazzini
2018-10-09Avoid panic on malformed OptIAPrefixDavid Barr
2018-07-30DHCPv6: Rename Option constants to CamelCaseSean Karlage
To appease linters
2018-04-09fix OptIAPrefix (#31)Pablo Mazzini
2017-12-07Refactored options into the dhcpv6 package to resolve circular imports. Sadly.Andrea Barberio