1. 27 Jul, 2020 1 commit
  2. 07 Jul, 2019 1 commit
  3. 20 Nov, 2018 1 commit
  4. 19 Nov, 2018 1 commit
  5. 05 Nov, 2018 1 commit
    • Thomas Markwalder's avatar
      [#42] Implemented PacketQueueMgr class · 90fd7ebf
      Thomas Markwalder authored
      New files:
          src/lib/dhcp/packet_queue_mgr.h
          src/lib/dhcp/packet_queue_mgr4.cc
          src/lib/dhcp/packet_queue_mgr4.h
          src/lib/dhcp/packet_queue_mgr6.cc
          src/lib/dhcp/packet_queue_mgr6.h
          src/lib/dhcp/tests/packet_queue_mgr4_unittest.cc
          src/lib/dhcp/tests/packet_queue_mgr6_unittest.cc
          src/lib/dhcp/tests/packet_queue_testutils.h
      
      src/bin/dhcp4/ctrl_dhcp4_srv.cc
          Cleaned up packet queue config block
      
      src/bin/dhcp4/dhcp4_lexer.ll
      src/bin/dhcp4/dhcp4_parser.yy
      src/bin/dhcp4/tests/config_parser_unittest.cc
          added queue-type
      
      src/bin/dhcp4/dhcp4_messages.mes
          added DHCP4_CONFIG_PACKET_QUEUE message
      
      src/lib/dhcp/Makefile.am
          packet_queue_mgr.h
          packet_queue_mgr4.cc packet_queue_mgr4.h
          packet_queue_mgr6.cc packet_queue_mgr6.h
      
      src/lib/dhcp/iface_mgr.*
          Replaced packet queue members with PQM members
          Added PQM instantion to IfaceMgr ctor
      
      src/lib/dhcp/packet_queue.h
          added getInfo,getInfoStr
      
      src/lib/dhcp/tests/Makefile.am
          packet_queue_mgr4_unittest.cc
          packet_queue_mgr6_unittest.cc
      
      src/lib/dhcpsrv/parsers/queue_control_parser.cc
          added queue-type
      90fd7ebf
  6. 29 Oct, 2018 1 commit
    • Thomas Markwalder's avatar
      [#42,!103] Initial receiver thread and packet queuing · 21cac7d0
      Thomas Markwalder authored
      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
      21cac7d0
  7. 01 Dec, 2017 1 commit
  8. 04 Oct, 2017 1 commit
  9. 14 Jul, 2017 1 commit
  10. 12 Apr, 2017 1 commit
  11. 16 Mar, 2017 2 commits
  12. 03 Jan, 2017 1 commit
  13. 29 Dec, 2016 1 commit
  14. 16 Dec, 2015 1 commit
  15. 17 Apr, 2015 1 commit
  16. 13 Feb, 2015 2 commits
  17. 10 Feb, 2015 2 commits
  18. 09 Feb, 2015 1 commit
  19. 06 Feb, 2015 1 commit