summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/sync.h
AgeCommit message (Collapse)Author
2013-04-13Give struct dhcp_synctlv_lease fields a prefix (lv_) as the fieldsKenneth R Westerback
in other structs have. Reduces potential for confusion with fields of same name but different types in leases. Use consistent variable name. No change to executable.
2008-05-08Insert pad blocks after sub-messages to keep the structures aligned toTheo de Raadt
16 byte boundaries for maximum portability (somewhat similar to CMSG's) ok beck
2008-05-08don't break dhcpd when not using synch mechanisms..Bob Beck
2008-05-07Add synchronisation support for dhcpd - this allows for two dhcpd'sBob Beck
with the same configuration to be run on the same net and they will keep their lease files/state in synch, and therefore allowing you to run redundant dhcpd's. Synchronization code stolen from spamd, uses an hmac key in /var/db/dhcpd.key if it exists. ok krw@ deraadt@