summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/client.go
AgeCommit message (Collapse)Author
2018-04-20dhcpv6: added modifiers (#41)insomniac
dhcpv6: added modifiers Added support for packet modifiers, i.e. functions that can arbitrarily manipulate a DHCPv6 packet. These modifiers are used by NewMessage, NewSolicitForInterface, NewRequestForAdvertise, and can be used by other packet creation functions. A bunch of sample modifiers have been added under modifiers.go , too. With the introduction of modifiers I also removed some options that should not necessarily be in a standard DHCPv6 message.
2018-04-18dhcpv6: Client.Exchange returns all the intermediate packetsAndrea Barberio
2018-04-18DHCPv6 client now waits for specific packet types (#38)insomniac
Before this patch the client just took whatever DHCP message it received, without checking if it's what it wants. Now it checks for the message type. If the message is not a relay, also check the transaction ID
2018-03-10dhcpv6: implemented NewClient and addressed linter warningsAndrea Barberio
2017-12-22Added SetOptions and AddOption to the DHCPv6 interface; Added ↵Andrea Barberio
EncapsulateRelay; refactored decapsulation
2017-12-11Refactored REQUEST code into NewRequestFromAdvertiseAndrea Barberio
2017-12-11Refactored Solicit and added RequestAndrea Barberio
2017-12-07Refactored options into the dhcpv6 package to resolve circular imports. Sadly.Andrea Barberio
2017-12-06DHCPv6 is now an interface; DHCPv6Message and DHCPv6RelayMessage are ↵Andrea Barberio
implementations
2017-12-05Initial commitAndrea Barberio