summaryrefslogtreecommitdiff
path: root/networking/udhcp/options.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* udhcpc: support for -O <option>.Denis Vlasenko2007-12-101-49/+49
| | | | | | | | | | | | | | | | 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
* dhcp: heed TODO item - divorced options from their string descriptionsDenis Vlasenko2007-11-291-46/+92
| | | | | | | | | | | | | | | | | | | | | 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
* dhcpc: let server know we don't like oversized packets.Denis Vlasenko2007-11-281-31/+37
| | | | | add TODO comment
* dhcpc: cope with buggy DHCP servers which send oversized packetsDenis Vlasenko2007-11-251-1/+1
| | | | | (Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
* dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smallerDenis Vlasenko2007-11-231-8/+10
| | | | | | | function old new delta udhcp_get_packet 146 134 -12 get_raw_packet 368 353 -15
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-121-1/+1
| | | | | | | | | 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
* udhcp: optionally support RFC3397 (by Gabriel L. Somlo <somlo@cmu.edu>)Denis Vlasenko2007-02-271-1/+7
|
* udhcpd: allow "domain" to be a list of DNS servers, not just oneDenis Vlasenko2007-02-021-1/+1
|
* add "wpad" DHCP option. Spotted some optimization opportunities: -80 bytesDenis Vlasenko2006-11-231-43/+45
|
* udhcp: fix indentation and style.Denis Vlasenko2006-11-181-4/+0
| | | | | Eliminate (group) a lot of smallish *.h files Remove lots of unneeded #includes
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-4/+4
|
* add open_read_close() and similar stuffDenis Vlasenko2006-10-141-1/+1
|
* several fixes from openWRT projectDenis Vlasenko2006-09-261-0/+3
|
* Implement optional syslog logging using ordinaryDenis Vlasenko2006-09-061-6/+7
| | | | | | bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* Use BB endianness macro.Rob Landley2006-05-311-2/+1
|
* add back in udhcp supportMike Frysinger2006-05-081-0/+172
|
* remove in place of external linkMike Frysinger2006-03-231-172/+0
|
* sync busybox and udhcp treesMike Frysinger2006-03-231-1/+0
|
* just whitespaceTim Riker2006-01-251-2/+2
|
* more make safe the exported namespace for udhcp. Move to bb-specific file ↵"Vladimir N. Oleynik"2005-09-231-1/+1
| | | | for reduce change into udhcp-CVS
* move a couple of functions from common code (options.c) to udhcpd privatePaul Fox2005-09-221-47/+1
| | | | code (files.c) to make udhcpc a little smaller.
* Fix the warning by rewriting the function to be smaller and simpler.Rob Landley2005-09-081-28/+17
| | | | | I'd appreciate somebody on a __BIG_ENDIAN platform testing this out; I haven't got the hardware...
* merge from udhcp moduleMike Frysinger2004-12-061-1/+3
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-15/+15
|
* Use standard C99 typesEric Andersen2004-01-301-12/+12
|
* options is a pretty common symbol, bad idea to use as a global in udhcp when ↵Russ Dill2003-12-151-4/+4
| | | | compiling into busybox
* Vodz, last_patch_88Glenn L McGrath2003-06-101-3/+1
|
* sorry about all the noise, should be all synced up nowRuss Dill2002-12-111-2/+2
|
* resync with udhcp cvsRuss Dill2002-12-111-6/+1
|
* Support using ip in udhcpc scripts.Glenn L McGrath2002-12-081-1/+6
| | | | Slightly modified version of patch by Bastian Blank
* added full udhcp integrationRuss Dill2002-10-141-0/+230