summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-01-14dhcpv4: move all list of IPs types to options_ips.go.Christopher Koch
2019-01-11dhcpv4: remove unused Option.Length function.Christopher Koch
2019-01-11dhcpv4: simplify marshaling options to binary.Christopher Koch
- Consolidate writing the option code and length to Options.Marshal rather than doing it in each individual option. - Use uio in marshaling code.
2019-01-10dhcpv4: remote OptionGetter interface in favor of Options type.Christopher Koch
2019-01-10dhcpv4: simplify option parsing.Christopher Koch
option's codes and lengths were being parsed twice: once in ParseOption and once in each option type's Parse implementation. Consolidate such that it only happens once. Additionally, only pass data to options that they should parse -- we know the length before the Parse function is called, so the option only gets to see the data it needs to see. Also, use uio.Lexer to simplify parsing code in general. Easier to read and reason about.
2019-01-09dhcpv4: export packet members; remove setters and getters.Christopher Koch
2019-01-09dhcpv4: simplify host name and boot file handling.Christopher Koch
2019-01-09dhcpv4: simplify handling of client MAC.Christopher Koch
2019-01-09dhcpv4: nicer (un-)marshaling of DHCP messages.Christopher Koch
2019-01-09dhcpv4: introduce TransactionID type.Christopher Koch
2018-12-23[ztpv4] make it consistent with ztpv6 (#221)insomniac
* [ztpv4] make it consistent with ztpv6
2018-12-23update error messagePablo Mazzini
2018-12-22increase coveragePablo Mazzini
2018-12-22[ztpv4] make it consistent with ztpv6Pablo Mazzini
2018-12-12[dhcpv6/ztpv6] Adding Parsing Vendor Opts and Parsing Remote Id Opts lib for ↵Chris Gorham
ztpv6 (#208)
2018-12-09Added netconf v4 tests and required modifiers (#219)insomniac
2018-12-09Merge branch 'master' into netboot_v4_testinsomniac
2018-12-09Addressed pmazzini's feedbackAndrea Barberio
2018-12-09Add Go code highlighting in examplesNikolas Sepos
Signed-off-by: Nikolas Sepos <nikolas.sepos@gmail.com>
2018-12-08Also simplified corresponding v6 modifiersAndrea Barberio
2018-12-08Added netconf v4 tests and required modifiersAndrea Barberio
2018-12-08Added netconf basic testing and required modifiersAndrea Barberio
2018-11-29interfaces: added package with interface facilitiesAndrea Barberio
2018-11-27simplify client interface (#181)Pablo Mazzini
2018-11-27update README: add CoreDHCPPablo Mazzini
2018-11-27Removed ineffective assignmentAndrea Barberio
2018-11-27Added missing check in testsAndrea Barberio
2018-11-27dhcpv6: using stretchr test framework for OptVendorOptsAndrea Barberio
2018-11-27Removed unreachable code, fixed misspelling (#212)insomniac
* Removed unreachable code * Addressed misspelling errors
2018-11-27Test TransactionID generationMikołaj Walczak
2018-11-26Add badges to READMEMikołaj Walczak
2018-11-26Add missing error check in GenerateTransactionIDMikołaj Walczak
2018-11-21remove deprecated functions (#182)Pablo Mazzini
2018-11-21rfc1035label: using a structure to hold original dataAndrea Barberio
2018-11-20Added example for DHCPv6 serverAndrea Barberio
2018-11-20netboot: delay in IfUp to avoid hammering the CPUAndrea Barberio
2018-11-20rfc1035label: support compression pointersAndrea Barberio
2018-11-19dhcpv4: run on unconfigured interfaces (#198)insomniac
2018-11-18iputils: add ExtractMAC (#199)insomniac
2018-11-18iputils: add ExtractMACPablo Mazzini
2018-11-18iputils: add ExtractMACPablo Mazzini
2018-11-18ExtractMAC: increase coveragePablo Mazzini
2018-11-18iputils: add ExtractMACPablo Mazzini
2018-11-13netboot: domain search list not mandatoryAndrea Barberio
2018-11-13Consolidated v6 and v4 server handlers (#196)insomniac
* Uniformed DHCPv6 and DHCPv4 servers * Reverted main goroutine * Reverted example code too * Added conn fix
2018-11-12add OptRelayAgentInformation (#193)insomniac
2018-11-12OptRelayAgentInformation: increase coveragePablo Mazzini
2018-11-12OptRelayAgentInformation: increase coveragePablo Mazzini
2018-11-12OptRelayAgentInformation: increase coveragePablo Mazzini
2018-11-12OptRelayAgentInformation: increase coveragePablo Mazzini