summaryrefslogtreecommitdiff
path: root/sbin/dhclient/packet.c
AgeCommit message (Expand)Author
2021-02-22remove unused decode_hw_header() functionJonathan Gray
2018-02-28Now that log_debug() has been decyphered, replace DPRINTF() instancesKenneth R Westerback
2018-01-29Use log_init(), log_setverbose() and log_debug() moreKenneth R Westerback
2018-01-25Add DPRINTF() and use it to replace log_debug() statements insideKenneth R Westerback
2017-09-17Create global 'log_procname' and set it to '<ifname>' orKenneth R Westerback
2017-07-14Replace remaining "!var" 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-08Always use uintNN_t instead of sometimes u_intNN_tKenneth R Westerback
2017-07-07assemble_eh_header() needs only to know about hw_addr.Kenneth R Westerback
2017-04-18Tweak parameters to decode_*, add a check or two, and thus gain most of theKenneth R Westerback
2017-04-08Reduce the overburden of signed vs unsigned comparisons by sprinklingKenneth R Westerback
2017-03-08Add comments to #endif's to allow easy differentiation between manyKenneth R Westerback
2017-02-12Switch from 'legacy' errwarn.c to standard daemon logging functions.Kenneth R Westerback
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
2016-02-03be very careful accepting packets via bpf. First check that theKenneth R Westerback
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-07-28merge dhcpd's packet.c revision 1.7:Tobias Stoeckmann
2014-04-17Eliminate a couple of always-NULL parameters. Eliminate someKenneth R Westerback
2014-01-20more %d type correctness; ok krwTheo de Raadt
2013-12-12Assemble outgoing packets using iovec to combine the (optional)Kenneth R Westerback
2013-12-11Stray memcpy() using src size.Kenneth R Westerback
2013-12-06Having stopped pretending we handle anything but ethernet packets,Kenneth R Westerback
2013-12-05Use destination size as size of memcpy(). Use <in_addr> rather thanKenneth R Westerback
2013-12-05Nuke local #define ETHER_HEADER_SIZE and use the identical value'dKenneth R Westerback
2013-12-04More memcpy() stylistic repairs and size checks.Kenneth R Westerback
2013-05-02Bunch of comment/whitespace cleanup. Eliminate some misleading orKenneth R Westerback
2013-04-24Follow ISC and freebsd by increasing ip_ttl on packets from 16 toKenneth R Westerback
2013-02-03Remove unused (a.k.a. always passed NULL) parameter 'data' fromKenneth R Westerback
2013-01-05Apply same fix to UDP length check as was just committed in dhcpd.Kenneth R Westerback
2012-11-15Shuffle #include's to use the majority idiom everywhere - i.e. useKenneth R Westerback
2009-06-06Nuke debug() unless DEBUG is defined. Elminates debug output fromKenneth R Westerback
2006-12-28small knf (extra space, newline)Kevin Steves
2006-12-26Our dhclient only handles one interface. Simplify code by using theKenneth R Westerback
2006-12-22delete prototypes for functions that don't existKevin Steves
2004-05-04more shrink and lint fixes; henning okTheo de Raadt
2004-02-25doesn't quite make sense to have a wrapper to a wrapper to the incredibleHenning Brauer
2004-02-24remove dynamic port gunkHenning Brauer
2004-02-24cut debug crapHenning Brauer
2004-02-23no token ringHenning Brauer
2004-02-07more KNF From: Emil Mikulic <emikulic@dmr.ath.cx>Henning Brauer
2004-02-06more Knall & Rauch -> ANSI C, KNF and stuff that makes this a bit moreHenning Brauer
2004-02-04$OpenBSD$, teduHenning Brauer
2004-01-18this is where dhclient will start surgeryTheo de Raadt