summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/option_iaprefix_test.go
AgeCommit message (Collapse)Author
2023-02-27IAPrefix: tests for Getters, FromBytes, ToBytesChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-19dhcpv6: convert every Parse function to FromBytesChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
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-05v6: add ElapsedTime getterChris 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-05-08Addressed various linter warningsAndrea Barberio
Mostly for dead code and potentially wrong comparisons. Signed-off-by: Andrea Barberio <insomniac@slackware.it>
2019-01-26dhcpv6: remove unnecessary Length functionChristopher Koch
2019-01-26dhcpv6: move option code and length marshaling to Options.ToBytes.Christopher Koch
2018-10-16OptIAPrefix: sub-options (#177)Pablo Mazzini
2018-10-11Add some more DHCPv6 option tests. (#171)David Barr
* Add some more DHCPv6 option tests. * Remove AddRequestedOption() duplicate detection test due to failing on Go 1.9
2018-10-09Avoid panic on malformed OptIAPrefixDavid Barr
2018-04-09fix OptIAPrefix (#31)Pablo Mazzini