summaryrefslogtreecommitdiff
path: root/networking/udhcp/options.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* udhcpc: filter unwanted packets in kernelDenis Vlasenko2008-01-251-3/+0
| | | | | (Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
* dhcp: heed TODO item - divorced options from their string descriptionsDenis Vlasenko2007-11-291-3/+3
| | | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | add TODO comment
* dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smallerDenis Vlasenko2007-11-231-1/+1
| | | | | | | function old new delta udhcp_get_packet 146 134 -12 get_raw_packet 368 353 -15
* udhcp: MAC_BCAST_ADDR and blank_chaddr are in fact constant, move to rodata.Denis Vlasenko2007-04-071-0/+74
| | | | | | | | | | | | | | | | | | | | | | a few global variables reduced to smallints function old new delta add_lease 75 227 +152 static.blank_chaddr - 16 +16 MAC_BCAST_ADDR - 6 +6 sockfd 4 8 +4 udhcp_run_script 1153 1155 +2 state 8 5 -3 listen_mode 4 1 -3 perform_release 152 148 -4 fd 8 4 -4 blank_chaddr 16 - -16 udhcpc_main 2518 2497 -21 .rodata 131864 131832 -32 oldest_expired_lease 61 - -61 clear_lease 127 - -127 ------------------------------------------------------------------------------ (add/remove: 2/3 grow/shrink: 3/6 up/down: 180/-271) Total: -91 bytes
* udhcp: optionally support RFC3397 (by Gabriel L. Somlo <somlo@cmu.edu>)Denis Vlasenko2007-02-271-0/+7
|
* add "wpad" DHCP option. Spotted some optimization opportunities: -80 bytesDenis Vlasenko2006-11-231-2/+2
|
* udhcp: fix indentation and style.Denis Vlasenko2006-11-181-2/+0
| | | | | Eliminate (group) a lot of smallish *.h files Remove lots of unneeded #includes
* several fixes from openWRT projectDenis Vlasenko2006-09-261-1/+1
|
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* add back in udhcp supportMike Frysinger2006-05-081-0/+38
|
* remove in place of external linkMike Frysinger2006-03-231-38/+0
|
* move a couple of functions from common code (options.c) to udhcpd privatePaul Fox2005-09-221-2/+0
| | | | code (files.c) to make udhcpc a little smaller.
* Use standard C99 typesEric Andersen2004-01-301-5/+5
|
* options is a pretty common symbol, bad idea to use as a global in udhcp when ↵Russ Dill2003-12-151-1/+1
| | | | compiling into busybox
* resync with udhcp cvsRuss Dill2002-12-111-3/+0
|
* Support using ip in udhcpc scripts.Glenn L McGrath2002-12-081-0/+3
| | | | Slightly modified version of patch by Bastian Blank
* added full udhcp integrationRuss Dill2002-10-141-0/+40