summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6
AgeCommit message (Collapse)Author
2023-02-27changes bla bla new uioChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-27DNS: tests for FromBytes, ToBytes, and DNS GetterChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-27ORO: tests for FromBytes, ToBytes, and ORO GetterChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-27Status: tests for FromBytes, ToBytes, and Status GetterChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-27ClientArchType: tests for FromBytes, ToBytes, and GetterChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-27IAPD: tests for FromBytes, ToBytes, and IAPD GetterChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-27IATA: tests for FromBytes, ToBytes, and IATA GetterChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-27IANA: tests for FromBytes, ToBytes, and IANA GetterChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-27New tests for ClientID & ServerIDChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-19Tests for option deserialization & gettersChris Koch
Tests that for the correct option code, the correct deserialization is applied. Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-19Simplify option parsingChris 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>
2023-02-19Option 4RD: switch to FromBytesChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-19Improve NTP server option parsingChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-19dhcpv6 DUID: re-add Equal functionChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-19dhcpv6: proper DUID typesChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-18dhcpv6: turn everythingmessage into a testChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-18Recursive pretty-printing with indentationChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-18Consistent short string messagesChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-18Remove superfluous print from testChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-18Normalize String functionsChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2023-02-184RD: API like every other Options wrapper typeChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2022-08-18Add ZTPv6 Cisco SupportHrvoje Cavrak
Adding ZTPv6 Cisco support based on Option 17 Suboption 1 (Vendor Specific Information Option). Signed-off-by: Hrvoje Cavrak <hrvoje@hrvoje.org>
2022-04-04Extending support for more interface types in parse_circuit_idEmanuele Fia
Adding support for DHCPv6 for Ciena Signed-off-by: Emanuele Fia <name29@fb.com>
2022-04-01Adding support for DHCPv6 for CienaEmanuele Fia
Signed-off-by: Emanuele Fia <name29@fb.com>
2022-03-31Extending support for more interface types in parse_circuit_idEmanuele Fia
Adding support for DHCPv6 for Ciena Signed-off-by: Emanuele Fia <name29@fb.com>
2021-10-26[dhcpv6] deprecate isUsingUEFIPablo Mazzini
2021-10-25dhcpv6: fix and improve IA_TA (#449)Mikma
Fix typo in MessageOptions.IATA(). Add iaid argument to WithIATA() to allow it to be set easily in line with WithIAPD(). Add a test for WithIATA(), Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net> Co-authored-by: Mikael Magnusson <mikma@users.sourceforge.net> Co-authored-by: Pablo Mazzini <pmazzini@gmail.com>
2021-10-21Revert "[dhcpv6] don't copy the RemoteID"Pablo Mazzini
This reverts commit 4cc310c391f640ff2ac15f6c56ccbba2d362a8aa.
2021-10-20[dhcpv6] don't copy the RemoteIDPablo Mazzini
2021-08-27dhcpv6: Implement RelayPort optionAnatole Denis
This is a simple 1-value option used in relay messages for RFC8357, specifying the UDP port on which messages should be sent to the relay Signed-off-by: Anatole Denis <natolumin@unverle.fr>
2021-08-17Fix a bug in MessageOptions.NTPServersDeomid "rojer" Ryabkov
Added a unit test Signed-off-by: Deomid "rojer" Ryabkov <rojer9@fb.com>
2021-08-13Added OptNTPServerAndrea Barberio
Signed-off-by: Andrea Barberio <insomniac@slackware.it>
2021-06-21Make server6 package compile on Windows (#431)Erik G
Signed-off-by: Erik G <erik.geiser@netaachen.de>
2021-05-28Break circular dependency on u-rootChris Koch
u-root -> dhcp -> u-root is the circular dependency. Which is fine, except we messed up modules in u-root big time. We need to break the circular dep for now. Signed-off-by: Chris Koch <chrisko@google.com>
2021-03-06Fix tests to match the change packetMarcel Moolenaar
Signed-off-by: Marcel Moolenaar <mmoolena@amazon.com>
2020-09-16nclients: export serverAddr and ifaceHWAddrChris Koch
For any users to write their own Discover or Request methods, they need access to the ifaceHWAddr and serverAddr. Discovered while trying to move pinterest/bender to nclients. Signed-off-by: Chris Koch <chrisko@google.com>
2020-09-16docs: fix package commentsChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2020-08-13Added structure, parsing and convenience fuctions for ↵Tom McPhail
OptInformationRefreshTime (32) https://tools.ietf.org/html/rfc8415#section-21.23 Signed-off-by: Tom McPhail <tom.mcphail@icloud.com>
2020-08-08ExtractMAC: use option 79Pablo Mazzini
2020-08-06dhcpv6: Handle IA_TA optionsAnatole Denis
This creates support for IA_TA options, based on and reusing the blocks from IA_NA, to which it is extremely similar Signed-off-by: Anatole Denis <natolumin@unverle.fr>
2020-07-11nclient6: optional dropped packet loggingChris Koch
Signed-off-by: Chris Koch <chrisko@google.com>
2020-06-01Add Client Link-Layer Address option for RFC 6939 support.Tom McPhail
Signed-off-by: Tom McPhail <tom.mcphail@icloud.com>
2020-04-21Generate new TransactionID for RequestTom McPhail
Signed-off-by: Tom McPhail <tom.mcphail@icloud.com>
2020-04-02adding fallback logic to remote id parsingakshay navale
Signed-off-by: akshay navale <akshaynawale@gmail.com>
2020-03-28remove some testsPablo Mazzini
Signed-off-by: Pablo Mazzini <pmazzini@gmail.com>
2020-03-19Added support for a custom logger when instantiating the server4 orValerio Santinelli
server6 object Signed-off-by: Valerio Santinelli <santinelli@altralogica.it>
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-11v6: rename IAPD option to be shorterChris Koch
Also removes superfluous GetOne/Del proxy functions. Signed-off-by: Chris Koch <chrisko@google.com>
2020-03-10dhcpv6 fqdn: fix domain encodingPablo Mazzini
Signed-off-by: Pablo Mazzini <pmazzini@gmail.com>