Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-19 | Added String methods for types (#140) | insomniac | |
* Added String methods for types * Reverted change on bsdp.OptionCode | |||
2018-08-15 | Merge branch 'master' into dhcpv4-moar-tests | Sean Karlage | |
2018-08-13 | add IsOptionRequested (#122) | insomniac | |
2018-08-11 | Merge branch 'master' into dhcpv4-moar-tests | Sean Karlage | |
2018-08-10 | rename IsRequested to IsRequestedOption | Pablo Mazzini | |
2018-08-10 | rename RequestFromOffer to NewRequestFromOffer | Pablo Mazzini | |
2018-08-10 | Added modifier for netbootv4 (#124) | Owen Mooney | |
2018-08-02 | OptUserClass: use only the flag as authoritative | Pablo Mazzini | |
2018-07-29 | Add some helper tools for tests | Sean Karlage | |
Adds new `OptionGetter` interface that helps when asserting that certain packets/vendor-specific opts contain specific options. | |||
2018-07-29 | Add modifier support to NewReplyFromRequest | Owen Mooney | |
2018-07-29 | DHCPv4: Refactor methods for easier testing | Sean Karlage | |
This refactors the input parameters for construction DISCOVER/INFORM* packets so that it's easier to write unit tests for DHCPv4 and BSDP methods. It also adds a bunch of unit tests for both packages and rounds out their test coverage. | |||
2018-07-29 | add NewReplyFromRequest (#100) | Pablo Mazzini | |
2018-07-27 | [DHCPv4] BroadcastSendReceive now can wait for specific reply types (#95) | insomniac | |
2018-05-11 | add dhcpv4.GetOption and dhcpv4.GetSingleOption methods (#63) | Brandon Bennett | |
GetOption and GetOneOption are convenience methods for getting a DHCPv4 option from its Option Code. GetOption returns a list of options that match since the DHCP RFC allows for an option to be present multiple times with its values appended together. (Note: I am not sure I've ever seen this done and it's not clear if how option parsing would work for more complex values. Is appending done at the byte level? ) GetOneOption will return the first found option that matches a code. | |||
2018-03-13 | Add OptionGeneric, comment out other code so tests compile/pass | Sean Karlage | |
2018-03-06 | Refactor tests to use stretchr/testify/require | Sean Karlage | |
2018-03-05 | Move bsdp functionality to its own subpackage. Bring in ↵ | Sean Karlage | |
stretchr/testify/assert for nicer asserts | |||
2018-03-03 | Add BSDP support | Sean Karlage | |
Adds support for constructing INFORM/ACK messages from Apple's Boot Service Discovery Protocol for netbooting (pxebooting) Apple hardware. The canonical reference for BSDP is: http://opensource.apple.com/source/bootp/bootp-198.1/Documentation/BSDP.doc | |||
2017-12-05 | Initial commit | Andrea Barberio | |