summaryrefslogtreecommitdiff
path: root/networking/ifupdown.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* logread: eliminate usage of data/bssDenis Vlasenko2007-11-231-7/+9
| | | | | | | | | | | | | | | | | ifup: don't remove virtual iface prefixes (eth0:0) function old new delta shbuf 4 - -4 SMrup 6 - -6 SMrdn 12 - -12 static.label_buf 20 4 -16 get_var 158 140 -18 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 0/2 up/down: 0/-56) Total: -56 bytes text data bss dec hex filename 783501 962 9260 793723 c1c7b busybox_old 783483 942 9244 793669 c1c45 busybox_unstripped
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* - mark TODO: use index_in_str_array()Bernhard Reutner-Fischer2007-10-061-1/+1
|
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-271-1/+1
|
* update Glenn McGrath's email addressDenis Vlasenko2007-09-211-1/+1
|
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-181-1/+1
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* assorted fixes for breakage found by randomconfigDenis Vlasenko2007-08-171-1/+1
|
* start_stop_daemon: NOMMU fixes, round 2 by Alex Landau <landau_alex@yahoo.com>Denis Vlasenko2007-08-021-2/+2
| | | | | dhcpc: fixed "ifupdown + udhcpc_without_pidpile_creation" bug
* Three patches from FreeWRT peopleDenis Vlasenko2007-07-211-2/+12
|
* ifup/ifdown: make location of ifstate configurableDenis Vlasenko2007-07-191-3/+5
|
* ifupdown: kill -TERM is default, so drop -TERMDenis Vlasenko2007-07-031-37/+50
| | | | | | | | | | | | | | | | ifupdown: ferror() does not set errno, don't use perror ifupdown: make netmask parsing smaller and more strict (was accepting 255.0.255.0, 255.1234.0.0 etc...) function old new delta count_bits 36 - -36 execute 2573 2535 -38 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/1 up/down: 0/-74) Total: -74 bytes text data bss dec hex filename 684204 2744 14000 700948 ab214 busybox_old 684132 2744 14000 700876 ab1cc busybox_unstripped
* Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms ↵Denis Vlasenko2007-06-251-6/+6
| | | | <wharms@bfs.de>)
* whitespace fixesDenis Vlasenko2007-05-301-1/+1
|
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+2
| | | | | *: s/include "busybox.h"/include "libbb.h"
* ifupdown: small optimization (avoid doing useless work if we areDenis Vlasenko2007-05-021-10/+10
| | | | not going to update state file)
* ifupdown: mke it possible to use DHCP clients different from udhcp.Denis Vlasenko2007-05-021-25/+29
|
* ifupdown: reread state file before rewriting it.Denis Vlasenko2007-05-021-36/+37
| | | | | | Fixes "ifup started another ifup" state corruption bug. Patch by Natanael Copa <natanael.copa@gmail.com>.
* - very minor size tweak.Bernhard Reutner-Fischer2007-03-191-4/+4
| | | | | | | TODO: mv to globals, config-out non-busybox dhcp client stuff, reduce string bloat, etc text data bss dec hex filename 7543 0 28 7571 1d93 networking/ifupdown.o.orig 7515 0 28 7543 1d77 networking/ifupdown.o
* ifupdown: do not complain if !/var/run/ifstateDenis Vlasenko2007-03-091-1/+1
|
* clean up accumulated whitespace damageDenis Vlasenko2007-03-071-1/+1
|
* ifupdown: code to deconstruct the state_list gracefullyDenis Vlasenko2007-03-061-4/+17
| | | | (patch by Gabriel L. Somlo <somlo@cmu.edu>)
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko2007-02-061-1/+1
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* preparatory patch for -Wwrite-strings #5Denis Vlasenko2007-01-291-15/+9
|
* preparatory patch for -Wwrite-strings #4Denis Vlasenko2007-01-291-1/+1
|
* remove casts from xmalloc()Denis Vlasenko2006-12-191-4/+2
|
* ifupdown: do not print and/or execute empty commands ("").Denis Vlasenko2006-12-191-9/+7
|
* ifupdown: parse() returning NULL and returning "" is not the same,Denis Vlasenko2006-12-191-11/+14
| | | | it turned out! wow... okay, fixing my buglet...
* ifupdown: strlen(NULL) is a no-no, fixed. Also few micro-optimizationsDenis Vlasenko2006-12-181-80/+76
|
* fix remaining survivors of the return(a) cleanupDenis Vlasenko2006-11-271-5/+5
|
* ifupdown:Denis Vlasenko2006-11-231-6/+9
| | | | | ifconfig said to set iface up before it processes hw %hwaddress%, which then of course fails. Thus we run two separate ifconfig
* ifupdown: save some 100+ bytes of code in addstr()Denis Vlasenko2006-11-231-45/+35
|
* dhcprelay: new appletDenis Vlasenko2006-11-201-0/+9
|
* use skip_whitespace where appropriateDenis Vlasenko2006-10-251-7/+2
|
* strip -> $(STRIP); fix "unused variable" warningDenis Vlasenko2006-10-161-1/+1
| | | | (patch by Diekema, Jon (AGRE) <Jon.Diekema@smiths-aerospace.com>)
* bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko2006-10-121-1/+1
| | | | Renaming...
* ifupdown: stop emitting annoying/misleading error messages.Denis Vlasenko2006-10-111-33/+55
| | | | Patch by Gabriel Somlo <somlo at cmu.edu>
* dnsd fix; option_mask32 added. dnsd needs more love.Denis Vlasenko2006-10-061-9/+8
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-1/+1
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* ifupdown: Debian users contributed improvement to itDenis Vlasenko2006-10-021-23/+27
|
* ifupdown: make dhcp start/stop scripts user configurableDenis Vlasenko2006-09-281-0/+16
| | | | in /etc/network/interfaces. Patch author is Gabriel L. Somlo <somlo@cmu.edu>
* ifupdown: fix for standalone shell; removed hardcoded PATHDenis Vlasenko2006-09-271-41/+23
|
* ifupdown: style cleanup, no code changesDenis Vlasenko2006-09-261-266/+260
|
* ifupdown: getopt_ulflags'ification.Denis Vlasenko2006-09-231-59/+29
|
* whitespace cleanupDenis Vlasenko2006-09-171-1/+1
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-30/+18
| | | | | | | | | | 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.)
* More removal of "#if 0" content."Robert P. J. Day"2006-07-011-4/+0
|
* only enable count_bit functions when actually needed to fix warning reported ↵Mike Frysinger2006-06-201-1/+2
| | | | by Bernhard Fischer
* Size reductions, mostly switching things to use libbb functions.Rob Landley2006-05-291-61/+8
|