summaryrefslogtreecommitdiff
path: root/networking/interface.c
AgeCommit message (Collapse)Author
2007-06-19networking/interface.c: huke remaining big statics; use malloc for ↵Denis Vlasenko
INET[6]_rresolve return value. Went thru callers and adjusted them - code got smaller too. function old new delta ip_port_str - 126 +126 INET6_rresolve 165 182 +17 static.cache 20 24 +4 route_main 2092 2091 -1 INET_sprint 61 59 -2 INET_nn 4 - -4 INET6_sprint 59 53 -6 udp_do_one 518 508 -10 tcp_do_one 433 423 -10 raw_do_one 494 484 -10 traceroute_main 4117 4105 -12 INET_rresolve 334 321 -13 bb_displayroutes 494 456 -38 snprint_ip_port 244 - -244 static.buff 264 16 -248 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 2/10 up/down: 147/-598) Total: -451 bytes size busybox_old busybox_unstripped text data bss dec hex filename 751073 3048 14688 768809 bbb29 busybox_old 750873 3048 14440 768361 bb969 busybox_unstripped
2007-06-19networking/interface.c: reduce bss usageDenis Vlasenko
function old new delta .rodata 158918 158950 +32 display_interfaces 133 153 +20 UNSPEC_print 56 68 +12 pr_ether 59 65 +6 static.proc_read 4 1 -3 interface_opt_a 4 1 -3 in_ether 139 136 -3 ifconfig_main 1296 1293 -3 if_readlist_proc 686 680 -6 ife_print 1350 1338 -12 do_if_print 46 - -46 static.buff 369 264 -105 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 4/7 up/down: 70/-181) Total: -111 bytes # size busybox_old busybox_unstripped text data bss dec hex filename 751073 3080 14800 768953 bbbb9 busybox_old 751073 3048 14688 768809 bbb29 busybox_unstripped
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-03-22interface: revert part of commit 18120 (eth aliases work again)Denis Vlasenko
2007-03-15networking/interface.c: was doing really strange caching of fd'sDenis Vlasenko
open for getting ifconfig data - ??! Simplified all that. -200 bytes.
2007-03-14arp, networking/interface.c: eliminate staticsDenis Vlasenko
and unneeded on-stack buffers, disable (comment out) some apparently unused (and buggy) code paths. -700 bytes.
2007-02-09remove unused #include,, improve code readabilityDenis Vlasenko
2007-02-02trivial warning fixDenis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #6Denis Vlasenko
2007-01-22- sed -i -e "/\$Id:/d;"Bernhard Reutner-Fischer
2007-01-11Trailing whitespace removal over entire treeDenis Vlasenko
2007-01-07add arp applet - thanks toDenis Vlasenko
"Eric Spakman" <E.Spakman@inter.nl.net>
2006-12-26properly export externs thru *.h filesDenis Vlasenko
2006-12-18A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko
2006-12-07- Proposed fix to make aliases work (with uClibc-current).Bernhard Reutner-Fischer
See comment in the patch about the change introduced in r16342.
2006-11-27do not overflow ifr_name. maybe it was safe in some places,Denis Vlasenko
but not everywhere. err to the safe side.
2006-11-22#if HAVE_AFINET6 -> #ifdef HAVE_AFINET6Denis Vlasenko
2006-11-21ifconfig: preparatory patch, no code changesDenis Vlasenko
2006-11-17add -Wundef, fix uncovered bugsDenis Vlasenko
2006-10-26silly size savings and capitalization fixesDenis Vlasenko
2006-10-20message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-06-26Properly print the output for a sit (IPv6-in-IPv4) interface."Robert P. J. Day"
2006-06-26Aesthetic fix to use newer structure initialization format."Robert P. J. Day"
2006-06-20Patch by Robert P. Day to remove obsolete alias code that the 2.4 and 2.6Rob Landley
Linux kernels don't do anymore.
2006-06-20Patch by Robert P. Day to make structs use c99 initializers.Rob Landley
2006-06-20Patch from Robert P. J. Day cleaning up some unnecessary preprocessorRob Landley
directives.
2006-06-03Remove #ifdeffed out code, both KEEP_UNUSED and #if 0.Rob Landley
2006-05-29Size reductions, mostly switching things to use libbb functions.Rob Landley
2006-05-29Remove _().Rob Landley
2006-05-19Patch from Robert P. Day to remove #ifdefed out SLIP support code that weRob Landley
have no CONFIG option to enable, and which existing SLIP users don't seem to miss.
2006-05-19- single KERNEL_VERSION(a,b,c) macro in platform.hBernhard Reutner-Fischer
- rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day
2006-05-11fix no previous prototype warningMike Frysinger
2006-04-14Remove code for protocols we don't properly support. (Most of this couldRob Landley
never be selected via menuconfig anyway.) If somebody wants one of these protocols, ask on the list for us to support it _properly_.
2006-04-05- include proper headers.Bernhard Reutner-Fischer
2006-03-30- fix paste'o which i overlooked when applying dalias' fmt stuff.Bernhard Reutner-Fischer
2006-03-29- Rich Felker writes: fix invalid printf format stringsBernhard Reutner-Fischer
http://busybox.net/lists/busybox/2006-March/019568.html text data bss dec hex filename 900619 10316 1038724 1949659 1dbfdb busybox.oorig 900603 10316 1038724 1949643 1dbfcb busybox
2006-02-23- put NLS stuff in one central place to avoid redefines.Bernhard Reutner-Fischer
Fixes warnings about: fdisk.c:45:1: warning: "_" redefined nfsmount.c:121:1: warning: "_" redefined nfsmount.c:122:1: warning: "N_" redefined interface.c:84:1: warning: "_" redefined
2006-01-30fix up annoying signed/unsigned and mixed type errorsEric Andersen
2006-01-25just whitespaceTim Riker
2006-01-19- missing bits of patch attached to bug #249 (constify).Bernhard Reutner-Fischer
2005-11-22Move interface.c to networking directory since it's only used by ifconfig.Rob Landley