mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 13:37:55 +00:00
21cac7d0a02b9af376c8dda1d7a7d2059254ece8
New files: src/lib/dhcp - packet_queue.h - defines packet queuing template classes socket_info.h - contains existing class extracted iface_mgr.h tests/packet_queue4_unittest.cc tests/packet_queue6_unittest.cc src/lib/dhcp/iface_mgr.* IfaceMgr:: - new functions - receiveDHCP<4/6>Packets() - thread worker function which monitors interface sockets, enqueues packets as they are read - receiveDHCP<4/6>Packet() - reads a single packet from a socket - startDHCPReceiver(const uint16_t family) - runs receiveDHCP<4/6?appropriate worker function in a thread - stopReceiver() - stops the receiver thread - setPacketQueue<4/6> - replaces the default packet queue instance receiveDHCP<4/6>() - modified to monitor receiver watch socekts rather than interface sockets. Dequeue packets from packet queue. src/lib/dhcp/tests/iface_mgr_unittest.cc TEST_F(IfaceMgrTest, packetQueue4) TEST_F(IfaceMgrTest, packetQueue6) src/lib/dhcpsrv/cfg_iface.cc CfgIface::openSockets() - starts DHCP receiver CfgIface::closeSockets() - stops DHCP receiver
Kea provides DHCPv4 and DHCPv6 servers, a dynamic DNS update module, a portable DHCP library, libdhcp++, control agent that provides management REST interface, and a DHCP benchmarking tool, perfdhcp. Kea is developed by Internet Systems Consortium. The developers website is at https://gitlab.isc.org/isc-projects/kea Limitations, known issues and feature requests can be found at https://gitlab.isc.org/isc-projects/kea/wikis/known-issues-list If you are thinking about contributing a patch, please read this first: http://kea.isc.org/wiki/ContributorsGuide 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%