summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4
AgeCommit message (Collapse)Author
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-23update error messagePablo Mazzini
2018-12-22increase coveragePablo Mazzini
2018-12-22[ztpv4] make it consistent with ztpv6Pablo Mazzini
2018-12-08Added netconf v4 tests and required modifiersAndrea Barberio
2018-11-29interfaces: added package with interface facilitiesAndrea Barberio
2018-11-27simplify client interface (#181)Pablo Mazzini
2018-11-27Removed unreachable code, fixed misspelling (#212)insomniac
* Removed unreachable code * Addressed misspelling errors
2018-11-21remove deprecated functions (#182)Pablo Mazzini
2018-11-21rfc1035label: using a structure to hold original dataAndrea Barberio
2018-11-19dhcpv4: run on unconfigured interfaces (#198)insomniac
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
2018-11-12OptRelayAgentInformation: increase coveragePablo Mazzini
2018-11-12Make server handlers asyncAndrea Barberio
2018-11-12server: do not skip network errors in ActivateAndServeAndrea Barberio
2018-11-11OptRelayAgentInformation: increase coveragePablo Mazzini
2018-11-11OptRelayAgentInformation: increase coveragePablo Mazzini
2018-11-11OptRelayAgentInformation: increase coveragePablo Mazzini
2018-11-11OptRelayAgentInformation: remove extra linePablo Mazzini
2018-11-11OptRelayAgentInformation: increase coveragePablo Mazzini
2018-11-11OptRelayAgentInformation: increase coveragePablo Mazzini
2018-11-11OptRelayAgentInformation: increase coveragePablo Mazzini
2018-11-11OptRelayAgentInformation: increase coveragePablo Mazzini
2018-11-11OptRelayAgentInformation: increase coveragePablo Mazzini
2018-11-11OptRelayAgentInformation: fix commentPablo Mazzini
2018-11-11add OptRelayAgentInformationPablo Mazzini
2018-11-09address commentsPablo Mazzini
2018-11-09add additional testPablo Mazzini
2018-11-09update commentsPablo Mazzini
2018-11-09return nil vendor dataPablo Mazzini
2018-11-09return nil vendor dataPablo Mazzini
2018-11-09fix typo #2Pablo Mazzini
2018-11-09fix typoPablo Mazzini
2018-11-09parse only option 60Pablo Mazzini
2018-11-06[ztp] add Opt60 (vc) and Opt124 (vico) parsingPablo Mazzini
2018-11-06[WIP] Added DHCPv4 server (#178)insomniac
* Added DHCPv4 server * Added more modifiers * Fixed some bugs
2018-10-18Make listening port for dhcpv4 client configurable (#179)Gianni Vialetto