2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00
Thomas Markwalder 21cac7d0a0 [#42,!103] Initial receiver thread and packet queuing
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
2018-10-29 11:27:12 -04:00
2017-07-23 11:58:09 -04:00
2018-02-08 08:31:16 +00:00
2017-08-18 18:44:05 +03:00
2018-10-11 09:29:36 -04:00
2018-05-24 13:17:10 +02:00
2018-06-13 06:44:46 -04:00
2018-08-14 14:10:32 -04:00

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
No description provided
Readme 148 MiB
Languages
C++ 94.1%
Shell 3.4%
PLpgSQL 0.7%
LLVM 0.6%
Meson 0.6%
Other 0.6%