| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- Reword 'Database version' to 'Schema version'.
- Remove a newline that was present only when running mysql operations
and not for postgresql operations. It was more visible since now it
appeared in the kea logs.
- Remove some extraneous exits. They weren't in the way of anything, but
weren't doing anything either.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Minor nits in:
src/bin/dhcp4/tests/dhcp4_test_utils.h
src/bin/dhcp6/tests/dhcp6_test_utils.h
|
|
|
|
| |
modified: pkt_filter_bpf.cc
|
|
|
|
|
|
|
|
|
|
|
| |
Added conditional compilation to address MacOS adding
the macro BPF_TIMEVAL to define the structure used
in the bpf header as either "struct timeval" or
"struct timeval32" (64 bit vs 32 bit). CMSG uses
timeval, BPF uses timeval32.
src/lib/dhcp/pkt_filter_bpf.cc
PktFilterBPF::receive()
|
|
|
|
| |
Minor cleanups, added a ChangeLog entry
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/hooks/dhcp/perfmon/perfmon_callouts.cc
dhcp4_srv_configured()
dhcp6_srv_configured()
- added to log socket received time support
src/hooks/dhcp/perfmon/perfmon_messages.mes
PERFMON_DHCP4_SOCKET_RECEIVED_TIME_SUPPORT
PERFMON_DHCP6_SOCKET_RECEIVED_TIME_SUPPORT
- new messages
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/hooks/dhcp/perfmon/perfmon_callouts.cc
pkt4_send()
pkt6_send()
Added dump off packet event stack as a DEBUG log message
src/hooks/dhcp/perfmon/perfmon_messages.mes
New messages:
PERFMON_DHCP4_PKT_EVENTS
PERFMON_DHCP6_PKT_EVENTS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add packet events and subnet callout argumments
to kea-dhcp4 and kea-dhcp6
src/bin/dhcp4/dhcp4_srv.*
Dhcpv4Srv::runOne() - add mt_queued packet event to query in MT mode
Dhcpv4Srv::processPacket() - add "process_started" event to query upon entry
Dhcpv4Srv::processDhcp4Query() - pass selected subnet (if one) into processPacketPktSend()
Dhcpv4Srv::sendResponseNoThrow() - add subnet parameter, pass it into processPacketPktSend9()
Dhcpv4Srv::processPacketPktSend() - add subnet parameter, add "process_completed" event
to query, add subnet to callout arguments
src/bin/dhcp4/tests/dhcp4_test_utils.cc
src/bin/dhcp4/tests/dhcp4_test_utils.h
src/bin/dhcp4/tests/hooks_unittest.cc
Updates to verify packet events content add subnet4 callout argument
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::runOne() - add mt_queued packet event to query in MT mode
Dhcpv6Srv::processPacket() - add "process_started" event to query upon entry
Dhcpv6Srv::processDhcp6Query() - pass selected subnet (if one) into processPacketPktSend()
Dhcpv6Srv::sendResponseNoThrow() - add subnet parameter, pass it into processPacketPktSend9()
Dhcpv6Srv::processPacketPktSend() - add subnet parameter, add "process_completed" event
to query, add subnet to callout arguments
src/bin/dhcp6/tests/dhcp6_test_utils.cc
src/bin/dhcp6/tests/dhcp6_test_utils.h
src/bin/dhcp6/tests/hooks_unittest.cc
Updates to verify packet events content add subnet4 callout argument
src/bin/dhcp4/dhcp4_hooks.dox
Updated pkt4_send arguments
src/bin/dhcp6/dhcp6_hooks.dox
Updated pkt6_send arguments
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Minor cosmetic fixes.
|
|
|
|
| |
modified: src/hooks/dhcp/perfmon/.gitattributes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New files:
arm/hooks-perfmon.rst
src/hooks/dhcp/perfmon/.gitattributes
src/hooks/dhcp/perfmon/.gitignore
src/hooks/dhcp/perfmon/Makefile.am
src/hooks/dhcp/perfmon/libloadtests/.gitignore
src/hooks/dhcp/perfmon/libloadtests/Makefile.am
src/hooks/dhcp/perfmon/libloadtests/load_unload_unittests.cc
src/hooks/dhcp/perfmon/libloadtests/run_unittests.cc
src/hooks/dhcp/perfmon/perfmon.dox
src/hooks/dhcp/perfmon/perfmon_callouts.cc
src/hooks/dhcp/perfmon/perfmon_log.cc
src/hooks/dhcp/perfmon/perfmon_log.h
src/hooks/dhcp/perfmon/perfmon_messages.cc
src/hooks/dhcp/perfmon/perfmon_messages.h
src/hooks/dhcp/perfmon/perfmon_messages.mes
src/hooks/dhcp/perfmon/tests/.gitignore
src/hooks/dhcp/perfmon/tests/Makefile.am
src/hooks/dhcp/perfmon/tests/run_unittests.cc
src/hooks/dhcp/perfmon/version.cc
Modified:
configure.ac
arm/hooks-perfmon.rst
arm/hooks.rst
arm/logging.rst
arm/rst_arm_sources.mk
conf.py
src/hooks/dhcp/Makefile.am
|
| |
|
|
|
|
| |
modified: tests/pkt_filter_bpf_unittest.cc
|
|
|
|
|
|
|
| |
src/lib/dhcp/tests/pkt_filter_inet6_unittest.cc
src/lib/dhcp/tests/pkt_filter_inet_unittest.cc
src/lib/dhcp/tests/pkt_filter_lpf_unittest.cc
Added test for isSocketReceivedTimeSupported)
|
|
|
|
|
| |
Move isSocketReceivedSuppported() impls out of headers and into
cc files so we're sure SO_TIMESTAMP is known.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/lib/dhcp/iface_mgr.*
IfaceMgr::isSocketReceviedTimeSupported() - new function
src/lib/dhcp/pkt_filter.*
PktFilter::isSocketReceviedTimeSupported() - new pure virtual function
src/lib/dhcp/pkt_filter6.cc
src/lib/dhcp/pkt_filter_bpf.h
src/lib/dhcp/pkt_filter_inet.h
src/lib/dhcp/pkt_filter_inet6.h
src/lib/dhcp/pkt_filter_lpf.h
Added implementation of isSocketReceivedTimeSupported()
src/lib/dhcp/pkt_filter_lpf.cc
Removed WITH_CMSG and refactored receive() to be a single function
with conditional codde based on SO_TIMESTAMP
Updated UTs accordingly
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds dhcp::PktEvent, modifies packet filters and tests
src/lib/dhcp/pkt.*
Add PktEvent class, add stack and methods to Pkt
src/lib/dhcp/pkt_filter_bpf.cc
PktFilterBPF::receive() - fetch timestamp from bpfhdr,
add SOCKET_RECEIVED and BUFFER_READ events
PktFilterBPF::send() - add RESPONSE_SENT event
src/lib/dhcp/pkt_filter_inet.cc
PktFilterInet::openSocket() - enable SO_TIMESTAMP socket option
PktFilterInet::receive() - fetch SO_TIMESTAMP via CMSG,
add SOCKET_RECEIVED and BUFFER_READ events
PktFilterInet::send() - add RESPONSE_SENT event
src/lib/dhcp/pkt_filter_inet6.cc
PktFilterInet6::openSocket() - enable SO_TIMESTAMP socket option
PktFilterInet6::receive() - fetch SO_TIMESTAMP via CMSG,
add SOCKET_RECEIVED and BUFFER_READ events
PktFilterInet::send() - add RESPONSE_SENT event
src/lib/dhcp/pkt_filter_lpf.cc
PktFilterLPF::openSocket() - enable SO_TIMESTAMP socket option
PktFilterLPF::receive() - added conditonal compilation version based
on WITH_CMSG macro that fetches SO_TIMESTAMP and add SOCKET_RECEIVED
and BUFFER_READ events
PktFilterLPF::send() - add RESPONSE_SENT event
src/lib/dhcp/tests/pkt4_unittest.cc
TEST_F(Pkt4Test, PktEvents) - new test
src/lib/dhcp/tests/pkt6_unittest.cc
TEST_F(Pkt6Test, PktEvents) - new test
src/lib/dhcp/tests/pkt_filter6_test_utils.cc
src/lib/dhcp/tests/pkt_filter6_test_utils.h
src/lib/dhcp/tests/pkt_filter_inet6_unittest.cc
src/lib/dhcp/tests/pkt_filter_inet_unittest.cc
src/lib/dhcp/tests/pkt_filter_test_utils.cc
src/lib/dhcp/tests/pkt_filter_test_utils.h
Updated tests to check PktEvent stack contents
src/lib/dhcp/tests/pkt_filter_bpf_unittest.cc
src/lib/dhcp/tests/pkt_filter_lpf_unittest.cc
Updated tests to check PktEvent stack contents,
Changed DISABLED_ tests to use SKIP_IF(notRoot)
|
|
|
|
| |
modified: encode/encode.cc
|
|
|
|
| |
Minor clean up, added commentary
|
| |
|
| |
|