summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/bsdp
AgeCommit message (Collapse)Author
2018-08-15refactor tests to take advantage of new helper functionsSean Karlage
2018-08-15Merge branch 'master' into bsdp-acksSean Karlage
2018-08-15Put back NewInformListForInterface to maintain compatSean Karlage
2018-08-15Merge branch 'master' into dhcpv4-moar-testsSean Karlage
2018-08-15Add nil check for Images sliceSean Karlage
2018-08-14BSDP: Add code to generate ACKs for INFORMsSean Karlage
2018-08-13BSDP: Exchange returns list of pointers, not list of objectsAndrea Barberio
2018-07-29Add some helper tools for testsSean Karlage
Adds new `OptionGetter` interface that helps when asserting that certain packets/vendor-specific opts contain specific options.
2018-07-29DHCPv4: Refactor methods for easier testingSean 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-29add NewReplyFromRequest (#100)Pablo Mazzini
2018-07-27[DHCPv4] BroadcastSendReceive now can wait for specific reply types (#95)insomniac
2018-07-27BSDP: Refactor to use dhcpv4.GetOneOption (#94)Sean Karlage
Refactors BSDP code to use `dhcpv4.GetOneOption` instead of manually searching through the list of options.
2018-04-18Fixed DHCPv4 listener (#37)insomniac
Fixed DHCPv4 listener There were two bugs in the DHCPv4 client: * the listener was called *after* the sender * the listener was not binding to the same interface as the sender, but listening for every UDP packet This is now fixed.
2018-03-30Remove build tags (#27)Sean Karlage
Removes build tags from BSDP and breaks vendor class identifier into OS-specific implementations so it is easier to integrate bsdp with other libs.
2018-03-26Add some more specific bsdp options + vendor specific implementation (#21)Sean Karlage
Add some more specific options + vendor specific implementation
2018-03-22Add vendor specific information optionSean Karlage
2018-03-22Add specific BSDP optionsSean Karlage
2018-03-16Add more specific dhcpv4 options (#17)Sean Karlage
Added several DHCPv4 options
2018-03-13Add OptionGeneric, comment out other code so tests compile/passSean Karlage
2018-03-10Move Exchange back to method on client, rebaseSean Karlage
2018-03-10Refactor client code, add timeout capabilitiesSean Karlage
2018-03-07Fixed build tag for darwin-only bsdp packageAndrea Barberio
2018-03-06Refactor tests to use stretchr/testify/requireSean Karlage
2018-03-06Fixed types for BSDP tooAndrea Barberio
2018-03-05Move bsdp functionality to its own subpackage. Bring in ↵Sean Karlage
stretchr/testify/assert for nicer asserts