- 13 Feb, 2014 4 commits
-
-
Thomas Markwalder authored
Adding missing commentary in ncr_io.h and ncr_upd.h
-
Thomas Markwalder authored
Added ability to suspend DDNS updates to D2ClientMgr, so updating can be stopped when errors communications with D2 fail. Made D2ClientMgr non-copyable to avoid programmatic errors. Changed D2ClientMgr to return simply return from startSender() if already in send mode.
-
Thomas Markwalder authored
Added enableUpdates() method to D2ClientConfig to allow DDNS updates to be enabled or disabled independent of reconfiguration.
-
Thomas Markwalder authored
Changed dhcp_ddns::NameChangeSender to kick-start send process if there are messages in the queue when startSending is called. Prior to this it required the queuing of a new message via sendRequest().
-
- 11 Feb, 2014 2 commits
-
-
Thomas Markwalder authored
D2ClientMgr now registers and unregisters its runReadyIO method and sender's select-fd with IfaceMgr's external socket monitoring.
-
Thomas Markwalder authored
Rememebering the io_service in use and how to run ready IO handlers was pushed down from D2ClientMgr into NameChangeSender. NameChangeSender stop logic was altered so it will now cleanly complete the last send as well as interrupting the daisy-chain of instigating the next send upon completion of the current send.
-
- 10 Feb, 2014 7 commits
-
-
Thomas Markwalder authored
d2_client.h and .cc was split into four files: D2ClientConfig class is now in d2_client_cfg.h/cc D2ClientMgr class is now in d2_client_mgr.h/cc
-
Thomas Markwalder authored
Also ran dhcp_ddns_messages.mes through reorder tool.
-
Marcin Siodelski authored
This prevents errors reported by valgrind about uninitialized value of hops being used in unit tests which skip parsing the packet. Okayed on jabber.
-
Tomek Mrugalski authored
-
Thomas Markwalder authored
Shored up the error handling in the sender when the WatchSocket fails to mark or clear. Addes unit tests accordingly.
-
Tomek Mrugalski authored
- getRelayInfo() implemented, relay_ is now protected - setRelay => setRelayInfo - Option::Universe is passed as const reference - Further clarified white_list_ field in Subnet.h
-
Marcin Siodelski authored
-
- 08 Feb, 2014 2 commits
-
-
Thomas Markwalder authored
Fixed a couple doxgyen errors and removed the commented out include of ioctl.h in d2_upd_unittest.cc
-
Thomas Markwalder authored
Made behavior of dhcp_ddns::WatchSocket a bit more robust in handling programmatic abuse. Cleaned up addresses used in ncr_upd_unittest.cc, added specific test for client side address if 0.0.0.0/port 0. Updated copyrights as appropriate and other cosmetics.
-
- 07 Feb, 2014 1 commit
-
-
Tomek Mrugalski authored
- RelayInfoParser now takes Option::Universe as last parameter; - Extra tests for checking invalid parameters in RelayInfoParser - Comments in subnet.h improved - Sanity checks in RelayInfoParser implemented, doc improved
-
- 06 Feb, 2014 5 commits
-
-
Tomek Mrugalski authored
- Copyright years updated - Minor corrections in BINDX Guide - dhcp4.spec relay structure description updated. - new unit-test for DHCPv4 client classification added - new unit-test for DHCPv6 client classification added - fixed Doxygen errors - comments for CfgMgr::getSubnet{4,6} updated
-
Tomek Mrugalski authored
-
Marcin Siodelski authored
-
Thomas Markwalder authored
Compilation under Fedora turned a couple of missing includes, errno.h and stdint.h.
-
Mukund Sivaraman authored
-
- 05 Feb, 2014 3 commits
-
-
Thomas Markwalder authored
Added creation and management of NameChangeSender to dhcpsrv::D2ClientMgr. Added new file of unit tests, d2_udp_unittest.cc, to exercise D2ClientMgr with a UDP sender.
-
Tomek Mrugalski authored
- IOAddress test renamed - flipped isV6() with !isV4() in perfdhcp/test_control.cc
-
Mukund Sivaraman authored
-
- 04 Feb, 2014 7 commits
-
-
Marcin Siodelski authored
-
Tomek Mrugalski authored
-
Marcin Siodelski authored
-
Marcin Siodelski authored
As long as libdhcp++ doesn't provide definitions for all options, it should be possible to create definitions for some standard options using a configuration mechanism. The new tests check that.
-
Tomek Mrugalski authored
- SocketCallbackContainer is now SocketCallbackInfoContainer - test callback is now quiet
-
Stephen Morris authored
-
Marcin Siodelski authored
-
- 03 Feb, 2014 9 commits
-
-
Tomek Mrugalski authored
-
Tomek Mrugalski authored
-
Marcin Siodelski authored
-
Tomek Mrugalski authored
-
Thomas Markwalder authored
Integrated use of WatchSocket to NameChangeSender and NameChangeUDPSender. Added addtional methods for accessing sender's send queue. Created include and source for common dhcp_ddns lib test components.
-
Tomek Mrugalski authored
-
Tomek Mrugalski authored
-
Tomek Mrugalski authored
-
Thomas Markwalder authored
Added a new to libdhcp_ddns, WatchSocket. This class provides an open file descriptor whose read-readiness can be set or cleared and checked via select() or poll() variants.
-