aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/options.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* udhcpc: support option 0x79 (static routes) (part of bug 341)Denys Vlasenko2009-07-031-0/+2
| | | | | | | | | | | | | | function old new delta xmalloc_optname_optval - 583 +583 dhcp_option_strings 258 266 +8 dhcp_options 70 72 +2 len_of_option_as_string 11 12 +1 dhcp_option_lengths 11 12 +1 udhcp_run_script 1187 669 -518 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/1 up/down: 595/-518) Total: 77 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: dname_dec may return NULL, account for that caseDenys Vlasenko2009-07-031-3/+5
| | | | | | Other random cleanips included... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: shorten mac len from 16 to 6 in lease fileDenys Vlasenko2009-06-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make "pragma GCC visibility push(hidden)" less uglyDenis Vlasenko2009-04-091-8/+4
|
* dhcpd: remember and record hostnames; optimize get_optionDenis Vlasenko2009-04-011-63/+60
| | | | | | | | | | | | | | | | | dumpleases: show hostnames function old new delta add_lease 230 292 +62 send_offer 403 421 +18 send_ACK 232 249 +17 read_leases 249 258 +9 dumpleases_main 604 609 +5 nobody_responds_to_arp 84 86 +2 udhcp_end_option 32 30 -2 udhcp_get_option 222 171 -51 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/2 up/down: 113/-53) Total: 60 bytes
* build system: tidying up CONFIG_xxx names (suggested by Rob)Denis Vlasenko2008-11-061-2/+2
|
* udhcp: add inline docs; small code shrinkDenis Vlasenko2008-09-261-10/+8
| | | | | | | function old new delta send_packet 103 87 -16 udhcpc_main 2359 2323 -36
* dhcp: add FAST_FUNC as appropriate. -160 bytes.Denis Vlasenko2008-09-261-6/+6
|
* Use intra-DSO calls when we build libbusybox. No-op for normal build.Denis Vlasenko2008-05-091-0/+8
| | | | | | | | | This was Bernhard Fischer' idea. text data bss dec hex filename 773549 7781 9740 791070 c121e busybox.t7/0_lib/libbusybox.so.1.11.0.svn_unstripped 769683 7397 9740 786820 c0184 busybox.t9t/0_lib/libbusybox.so.1.11.0.svn_unstripped
* 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