aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/script.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* udhcp: MAC_BCAST_ADDR and blank_chaddr are in fact constant, move to rodata.vda2007-04-071-22/+30
| | | | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@18356 69ca8d6d-28ef-0310-b511-8ec308f3f277
* udhcp: optionally support RFC3397 (by Gabriel L. Somlo <somlo@cmu.edu>)vda2007-02-271-11/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17981 69ca8d6d-28ef-0310-b511-8ec308f3f277
* preparatory patch for -Wwrite-strings #2vda2007-01-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17654 69ca8d6d-28ef-0310-b511-8ec308f3f277
* udhcpc: fix my breakagevda2006-11-281-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16699 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add "wpad" DHCP option. Spotted some optimization opportunities: -80 bytesvda2006-11-231-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16644 69ca8d6d-28ef-0310-b511-8ec308f3f277
* udhcp: fix indentation and style.vda2006-11-181-12/+3
| | | | | | | | Eliminate (group) a lot of smallish *.h files Remove lots of unneeded #includes git-svn-id: svn://busybox.net/trunk/busybox@16578 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Implement optional syslog logging using ordinaryvda2006-09-061-2/+2
| | | | | | | | | bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually. git-svn-id: svn://busybox.net/trunk/busybox@16058 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-08-031-6/+6
| | | | | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Standardize on the vi editing directives being on the first line.rpjday2006-07-021-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15581 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My first bout of untangling udhcp. Make lots of gratuitous #defines golandley2006-05-281-21/+8
| | | | | | | | | away, substitutie BB_VER for an external VERSION, use busybox CONFIG symbols rather than checking for them then defining others, etc. Lots more cleanup to do... git-svn-id: svn://busybox.net/trunk/busybox@15205 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor cleanups: Convert a few calloc() calls to xzalloc, remove unnecessarylandley2006-05-211-1/+1
| | | | | | | memset, collate variable declarations... git-svn-id: svn://busybox.net/trunk/busybox@15156 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add back in udhcp supportvapier2006-05-081-0/+234
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15031 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove in place of external linkvapier2006-03-231-234/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14634 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more make safe the exported namespace for udhcp. Move to bb-specific file ↵vodz2005-09-231-1/+1
| | | | | | for reduce change into udhcp-CVS git-svn-id: svn://busybox.net/trunk/busybox@11590 69ca8d6d-28ef-0310-b511-8ec308f3f277
* safe exported namespace for udhcp. Not full, bore :-(vodz2005-09-221-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11581 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix memory leak caused by switch to vforkruss2004-05-191-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8853 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Larry Doolittle writes:andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry git-svn-id: svn://busybox.net/trunk/busybox@8759 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-151-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use standard C99 typesandersen2004-01-301-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8379 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix a long standing underallocation bugruss2003-12-241-2/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8178 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move debugging to safe place (before vfork)russ2003-12-241-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Finish remerging busybox udhcp and udhcp. Some cleanups as well.russ2003-12-181-30/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8115 69ca8d6d-28ef-0310-b511-8ec308f3f277
* include headers with prototypes to make sure prototypes matchruss2003-12-161-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8107 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make udhcp work under uclinux, to an extentruss2003-12-151-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8089 69ca8d6d-28ef-0310-b511-8ec308f3f277
* options is a pretty common symbol, bad idea to use as a global in udhcp when ↵russ2003-12-151-7/+8
| | | | | | compiling into busybox git-svn-id: svn://busybox.net/trunk/busybox@8088 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz, last_patch_88bug12003-06-101-34/+25
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6906 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sync with udhcp bug fixesruss2003-02-121-4/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6597 69ca8d6d-28ef-0310-b511-8ec308f3f277
* resync with udhcp cvsruss2002-12-111-60/+39
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6171 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support using ip in udhcpc scripts.bug12002-12-081-0/+44
| | | | | | | Slightly modified version of patch by Bastian Blank git-svn-id: svn://busybox.net/trunk/busybox@6138 69ca8d6d-28ef-0310-b511-8ec308f3f277
* added full udhcp integrationruss2002-10-141-0/+228
git-svn-id: svn://busybox.net/trunk/busybox@5647 69ca8d6d-28ef-0310-b511-8ec308f3f277