aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/options.c
AgeCommit message (Collapse)Author
2008-09-26dhcp: add FAST_FUNC as appropriate. -160 bytes.Denis Vlasenko
2007-12-10udhcpc: support for -O <option>.Denis Vlasenko
Two important notes: * nissrv and nisdomain are not requested by default anymore! * inconsistency between "XXXsvr" and "XXsrv" in option names resolved, all are "XXXsrv" now. function old new delta udhcpc_main 2494 2600 +106 packed_usage 23023 23067 +44 add_requests 91 119 +28 static.udhcpc_longopts 209 226 +17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 195/0) Total: 195 bytes
2007-11-29dhcp: heed TODO item - divorced options from their string descriptionsDenis Vlasenko
code shrink while at it. function old new delta dhcp_option_strings - 258 +258 udhcp_run_script 1135 1174 +39 dhcp_option_lengths - 11 +11 udhcp_add_simple_option 93 92 -1 packet_num 4 - -4 read_opt 746 739 -7 udhcp_option_lengths 11 - -11 udhcpc_main 2590 2494 -96 dhcp_options 490 70 -420 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 1/4 up/down: 308/-539) Total: -231 bytes text data bss dec hex filename 775309 929 9100 785338 bfbba busybox_old 775098 929 9084 785111 bfad7 busybox_unstripped
2007-11-28dhcpc: let server know we don't like oversized packets.Denis Vlasenko
add TODO comment
2007-11-25dhcpc: cope with buggy DHCP servers which send oversized packetsDenis Vlasenko
(Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
2007-11-23dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smallerDenis Vlasenko
function old new delta udhcp_get_packet 146 134 -12 get_raw_packet 368 353 -15
2007-08-12trylink: produce even more info about final link stageDenis Vlasenko
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
2007-02-27udhcp: optionally support RFC3397 (by Gabriel L. Somlo <somlo@cmu.edu>)Denis Vlasenko
2007-02-02udhcpd: allow "domain" to be a list of DNS servers, not just oneDenis Vlasenko
2006-11-23add "wpad" DHCP option. Spotted some optimization opportunities: -80 bytesDenis Vlasenko
2006-11-18udhcp: fix indentation and style.Denis Vlasenko
Eliminate (group) a lot of smallish *.h files Remove lots of unneeded #includes
2006-10-20message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko
2006-10-14add open_read_close() and similar stuffDenis Vlasenko
2006-09-26several fixes from openWRT projectDenis Vlasenko
2006-09-06Implement optional syslog logging using ordinaryDenis Vlasenko
bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-05-31Use BB endianness macro.Rob Landley
2006-05-08add back in udhcp supportMike Frysinger
2006-03-23remove in place of external linkMike Frysinger
2006-03-23sync busybox and udhcp treesMike Frysinger
2006-01-25just whitespaceTim Riker
2005-09-23more make safe the exported namespace for udhcp. Move to bb-specific file ↵"Vladimir N. Oleynik"
for reduce change into udhcp-CVS
2005-09-22move a couple of functions from common code (options.c) to udhcpd privatePaul Fox
code (files.c) to make udhcpc a little smaller.
2005-09-08Fix the warning by rewriting the function to be smaller and simpler.Rob Landley
I'd appreciate somebody on a __BIG_ENDIAN platform testing this out; I haven't got the hardware...
2004-12-06merge from udhcp moduleMike Frysinger
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-01-30Use standard C99 typesEric Andersen
2003-12-15options is a pretty common symbol, bad idea to use as a global in udhcp when ↵Russ Dill
compiling into busybox
2003-06-10Vodz, last_patch_88Glenn L McGrath
2002-12-11sorry about all the noise, should be all synced up nowRuss Dill
2002-12-11resync with udhcp cvsRuss Dill
2002-12-08Support using ip in udhcpc scripts.Glenn L McGrath
Slightly modified version of patch by Bastian Blank
2002-10-14added full udhcp integrationRuss Dill