2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-10-15 14:16:31 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
Andrei Pavel
c53e135833 [#1656] 1.9.4 release: update copyrights 2021-01-25 13:52:09 +02:00
Andrei Pavel
96f049b111 [#1656] 1.9.4 release: spelling check 2021-01-25 13:52:09 +02:00
Razvan Becheriu
6980a97701 [#1405] addressed review 2020-11-18 15:55:24 +02:00
Razvan Becheriu
02ac459451 [#1405] added parser class 2020-11-18 15:55:22 +02:00
Francis Dupont
864849be5f [#1292] Added RAII MT test 2020-08-05 11:59:59 +02:00
Francis Dupont
c8b21c81a6 [#1173] Addressed comments 2020-05-07 19:49:15 +03:00
Francis Dupont
99ad85b77b [#1173] Implemented the incompatibility case 2020-05-07 19:49:15 +03:00
Thomas Markwalder
bbb822b115 [#260,!20] Packet queueing is now optional
src/bin/dhcp<4/6>/ctrl_dhcp<4/6>_srv.cc
    ControlledDhcpv<4/6>Srv::processConfig() - now calls
        IfaceMgr::configureDHCPPacketQueue

src/bin/dhcp<4/6>/dhcp<4/6>_parser.yy
    dhpc-queue-control parsing updated to enforce
    enable-queue/queue-type rules

src/bin/dhcp<4/6>/tests/config_parser_unittest.cc
    TEST_F(Dhcp<4/6>ParserTest, dhcpQueueControl)
    TEST_F(Dhcp<4/6>ParserTest, dhcpQueueControlInvalid)

src/lib/dhcp/iface_mgr.*
    IfaceMgr
    - closeSockets()  - now calls stopDHCPReceiver

    - openSockets<4/6>() -  now calls startDHCPReceiver

    - receive<4/6>Indirect() - new function which monitors receiver
    thread watch sockets, reads DHCP packets from queue

    - receive<4/6>Direct() - new function which monitors and reads DHCP
    packets from interface sockets directly

    - receive<4/6>() - rewritten to call receive<4/6>Indirect
    if receiver thread is running, otherwise it calls receive<4/6>Direct

    - configureDHCPPacketQueue() - new function which either enables queuing
    by creating a new packet queue, or disables it by destroying the
    existing queue

src/lib/dhcp/packet_queue_mgr.h
    PacketQueue::destroyPacketQueue() - new function

src/lib/dhcp/packet_queue_mgr<4/6>.cc
    PacketQueueMgr<4/6>::PacketQueueMgr<4/6>() - no longer creates a
    default packet queue

src/lib/dhcpsrv/cfg_iface.cc
    CfgIface::closeSockets() - removed call to stopDHCPReceiver
    CfgIface::openSockets() - removed call to startDHCPReceiver

src/lib/dhcpsrv/parsers/dhcp_queue_control_parser.*
    DHCPQueueControlParser
    - removed unused family_ member
    - parse() - added support for enable-queue

src/lib/dhcpsrv/tests/dhcp_queue_control_parser_unittest.cc
    - new file
2018-11-20 13:14:28 -05:00