summaryrefslogtreecommitdiff
path: root/sbin/dhclient/options.c
AgeCommit message (Expand)Author
2017-07-14Replace remaining "!var" expressions withKenneth R Westerback
2017-07-14Replace remaining "!<pointer>" expressions withKenneth R Westerback
2017-07-10Use a modern spacious idiom on all function local variableKenneth R Westerback
2017-07-09Be consistent. "return (e);" -> "return e;"Kenneth R Westerback
2017-07-08Fold tables.c into options.c and stop exporting the oneKenneth R Westerback
2017-07-08Always use uintNN_t instead of sometimes u_intNN_tKenneth R Westerback
2017-07-07Replace the many occurances of '256' with a new #defineKenneth R Westerback
2017-07-07Rename cons_options() to pack_options(), and do_packet() toKenneth R Westerback
2017-07-06cons_options() only needs to know a buffer and a length toKenneth R Westerback
2017-06-15Nuke unused parameter 'client_addr' from the 'handlers', i.e.Kenneth R Westerback
2017-06-14Move xid, secs, first_sending, startup_time fields fromKenneth R Westerback
2017-06-14Start consolidating client_state into interface_info. FirstKenneth R Westerback
2017-06-13Rename 'packet' field to 'recv_packet' and 'bootrequest_packet'Kenneth R Westerback
2017-04-09Seven casts, a couple of tweaks and CFLAGS+=-Wsign-compare for theKenneth R Westerback
2017-04-08Reduce the overburden of signed vs unsigned comparisons by sprinklingKenneth R Westerback
2017-04-08Replace another snprintf() dance with easier to read code usingKenneth R Westerback
2017-04-08Replace a mess of snprintf() dances with easier to read code usingKenneth R Westerback
2017-04-07Simply decoding of domain search option. No intentional functionalKenneth R Westerback
2017-03-26Fix dhclient vis/unvis of strings stored in the leases file.Kenneth R Westerback
2017-03-08Add comments to #endif's to allow easy differentiation between manyKenneth R Westerback
2017-02-12Adjust lines that are too long.Kenneth R Westerback
2017-02-12Switch from 'legacy' errwarn.c to standard daemon logging functions.Kenneth R Westerback
2016-10-06Add support for RFC 6842, which says the client MUST drop packets whenKenneth R Westerback
2016-09-02Kill 'ifi' global.Martin Pieuchot
2016-08-31Remove the 'client' global and make it per-ifp.Martin Pieuchot
2016-08-23Make the 'ifi' global local to dhclient.c and pass it as an argument toMartin Pieuchot
2016-02-06Eliminate #include inside *.h files and include only needed headers inKenneth R Westerback
2015-10-26Give dhclient(8) the ability to use option 119, a.k.a. "DomainKenneth R Westerback
2014-10-27Nuke getLong(), getShort(), getUShort(). Two line functions (memcpy();Kenneth R Westerback
2014-10-27htonl(ntohl(memcpy'd buf)) seems like the long way around to copyKenneth R Westerback
2014-10-27Zap extraneous whitespace and a stuttered extra 'break;'.Kenneth R Westerback
2014-07-28Fix memory exhaustion occurring on DHCP options with 0 length.Tobias Stoeckmann
2014-07-09Special case pretty printing of DHO_CLASSLESS_STATIC_ROUTES andKenneth R Westerback
2014-05-05Zap trailing whitespace. Started by pointed comments from andre@.Kenneth R Westerback
2014-01-21Add parsing for options 121 (classless-static-routes) and 249Kenneth R Westerback
2014-01-19We don't have any (and I can't find elsewhere) signed 16 bit orKenneth R Westerback
2013-12-30Replace yet another hand-rolled list with a TAILQ. reject_list thisKenneth R Westerback
2013-12-22Setting format id to 't' when it's already 't' is a waste ofKenneth R Westerback
2013-12-22No need to change format id 'X' (ascii or hex) to 'x' (hex) whileKenneth R Westerback
2013-12-21Introduce pretty_print_string() and use for printing both textKenneth R Westerback
2013-12-18Code existed to print non-printable characters in strings writtenKenneth R Westerback
2013-12-14Start cleanup/fixup of pretty printing of option data. Use snprintf()Kenneth R Westerback
2013-12-12Delete spurious blank line.Kenneth R Westerback
2013-12-12Eliminate (most) double decrements of remaining space in the prettyKenneth R Westerback
2013-12-06Having stopped pretending we handle anything but ethernet packets,Kenneth R Westerback
2013-07-11Put more debug verbiage under DEBUG. Add a few more debug messages.Kenneth R Westerback
2013-07-07Remove erroneous warnings -- we do not reject offers just because theKenneth R Westerback
2013-07-06Fix a lie in one comment and zap a pointless sentence in another.Kenneth R Westerback
2013-05-02Bunch of comment/whitespace cleanup. Eliminate some misleading orKenneth R Westerback
2013-04-05Nuke parameter to do_packet() not used since 2006. From dhill.Kenneth R Westerback