mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
d7433e8d89af8cd224c70579fcbb68717c1f01bc
src/lib/dhcp/pkt.cc Pkt::getMAC(uint32_t hw_addr_src) sets HwAddr.source_ to HWADDR_SOURCE_RAW if appropriate Pkt::getMACFromIPv6(const isc::asiolink::IOAddress& addr) sets HwAddr.source_ to HWADDR_SOURCE_IPV6_LINK_LOCAL src/lib/dhcp/pkt6.cc Pkt6::getMACFromDUID() sets HwAddr.source_ to HWADDR_SOURCE_DUID Pkt6::getMACFromIPv6RelayOpt() sets HwAddr.source_ to HWADDR_SOURCE_CLIENT_ADDR_RELAY_OPTION; Pkt6::getMACFromDocsisModem() sets HwAddr.source_ to HWADDR_SOURCE_DOCSIS_MODEM; Pkt6::getMACFromDocsisCMTS() sets HwAddr.source_ to HWADDR_SOURCE_DOCSIS_CMTS; Pkt6::getMACFromRemoteIdRelayOption() sets HwAddr.source_ to HWADDR_SOURCE_REMOTE_ID; src/lib/dhcp/tests/pkt6_unittest.cc Added checks for correct HWAddr::source_ values to the following tests: TEST_F(Pkt6Test, getMAC) TEST_F(Pkt6Test, getMAC) TEST_F(Pkt6Test, getMACFromIPv6LinkLocal_direct) TEST_F(Pkt6Test, getMACFromIPv6LinkLocal_singleRelay) TEST_F(Pkt6Test, getMACFromIPv6LinkLocal_multiRelay) TEST_F(Pkt6Test, getMACFromIPv6RelayOpt_singleRelay) TEST_F(Pkt6Test, getMACFromIPv6RelayOpt_multipleRelay) TEST_F(Pkt6Test, getMACFromDUID) TEST_F(Pkt6Test, getMACFromDUID) TEST_F(Pkt6Test, getMAC_DOCSIS_Modem) TEST_F(Pkt6Test, getMAC_DOCSIS_CMTS) TEST_F(Pkt6Test, getMACFromRemoteIdRelayOption)
Kea provides DHCPv4 and DHCPv6 servers, a dynamic DNS update module, a portable DHCP library, libdhcp++, and a DHCP benchmarking tool, perfdhcp. Kea is developed by Internet Systems Consortium. The developers website is at http://kea.isc.org/ Limitations and known issues with this DHCP release can be found at http://kea.isc.org/wiki/KeaKnownIssues The Kea mailing lists are available via https://lists.isc.org/
Description
Languages
C++
94.1%
Shell
3.4%
PLpgSQL
0.7%
LLVM
0.6%
Meson
0.6%
Other
0.6%