summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhcpd.h
AgeCommit message (Expand)Author
2014-11-01Try to ensure that the various lease timeouts are sane. i.e., renewKenneth R Westerback
2014-10-29Calling a function to htonl() a constant 32-bit value into a stackKenneth R Westerback
2014-10-27Nuke getLong(), getShort(), getUShort(). Two line functions (memcpy();Kenneth R Westerback
2014-05-23A #define to rename another #define which is then used only once introducesKenneth R Westerback
2014-04-30Preserve intended chronological order of leases inKenneth R Westerback
2014-04-17Eliminate a couple of always-NULL parameters. Eliminate someKenneth R Westerback
2014-02-09Don't use imsg_flush(), roll a local flush_unpriv_ibuf() that loopsKenneth R Westerback
2014-01-21Allow dhclient.conf to specify 'fixed-address', 'next-server',Kenneth R Westerback
2014-01-21Add parsing for options 121 (classless-static-routes) and 249Kenneth R Westerback
2014-01-19Nuke unused functions putLong(), putUShort(), putShort().Kenneth R Westerback
2014-01-19Redo the parsing of numbers to improve the error messages andKenneth R Westerback
2014-01-19Rename parse_hardware_param() to parse_ethernet() to reflect whatKenneth R Westerback
2014-01-13warning(), note(), debug(), parse_warn() always return 0, which noKenneth R Westerback
2014-01-12Since the return value of read_client_conf() is not checked, don'tKenneth R Westerback
2013-12-30Replace yet another hand-rolled list with a TAILQ. reject_list thisKenneth R Westerback
2013-12-21Introduce pretty_print_string() and use for printing both textKenneth R Westerback
2013-12-12Assemble outgoing packets using iovec to combine the (optional)Kenneth R Westerback
2013-12-06Having stopped pretending we handle anything but ethernet packets,Kenneth R Westerback
2013-11-19include queue.h directly instead of relying on if.h to provide it;Mike Belopuhov
2013-11-11Shuffle function prototypes and extern declarations around toKenneth R Westerback
2013-10-22Save 'next-server' (a.k.a. siaddr) info in leases file. Saving theKenneth R Westerback
2013-06-09Make route adding interface more flexible by passing flags to beKenneth R Westerback
2013-06-09Re-apply route adding code refactoring -- it wasn't the problem thatKenneth R Westerback
2013-06-09Backout static/classless route handling and default route refactoringKenneth R Westerback
2013-06-01Refactor the default route adding code to use a general route addingKenneth R Westerback
2013-05-05Add a flag to struct client_state (IS_RESPONSIBLE) to record whenKenneth R Westerback
2013-05-02Bunch of comment/whitespace cleanup. Eliminate some misleading orKenneth R Westerback
2013-05-02Enough of the hand-rolling of queues. Turn client->leases andKenneth R Westerback
2013-04-27Use same parse_date() and date writing logic as in dhcpd. i.e.Kenneth R Westerback
2013-04-05Nuke parameter to do_packet() not used since 2006. From dhill.Kenneth R Westerback
2013-03-30Since deleting all the addresses on an interface removes all theKenneth R Westerback
2013-02-18Rework log messages to be more useful. RenameKenneth R Westerback
2013-02-17Using the value SIGQUIT to cause the dispatch loops to exit producedKenneth R Westerback
2013-02-14Don't rely on the packet buffer (client->packet) being preserved betweenKenneth R Westerback
2013-02-03Remove unused (a.k.a. always passed NULL) parameter 'data' fromKenneth R Westerback
2013-01-27Refactor code a bit. Calculate resolv.conf contents once when binding aKenneth R Westerback
2013-01-26Read /etc/resolv.conf.tail once on startup and save contents forKenneth R Westerback
2013-01-26Whitespace tweaks.Kenneth R Westerback
2013-01-18Add command line option '-L' that specifies an optional file into whichKenneth R Westerback
2013-01-17Try harder to clear out default routes on the interface beingKenneth R Westerback
2013-01-16Unrevert last reversion. otto@ pointed out that it wasn't asprintf()Kenneth R Westerback
2013-01-16Revert last. asprintf() breaks something.Kenneth R Westerback
2013-01-16Use the magic of asprintf() to produce more informative errorKenneth R Westerback
2013-01-05Change write_client_lease() into lease_as_string() and modifyKenneth R Westerback
2012-12-19Don't attempt to delete an address that has already been deletedKenneth R Westerback
2012-12-04Eliminate hand-rolled pseudo-strerror() %m strangeness by replacingKenneth R Westerback
2012-12-02Try harder to cleanup when exiting. In particular catch signalsKenneth R Westerback
2012-11-27Clean up parsing of option lists. Part 6.Kenneth R Westerback
2012-11-25Clean up parsing of option lists. Part 1.Kenneth R Westerback
2012-11-23Use the libutil imsg framework rather than a hand-rolled localKenneth R Westerback