aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/ipaddress.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* - add xsendto and use where appropriate; shrink iplink; sanitize libiproute ↵Bernhard Reutner-Fischer2007-04-121-32/+10
| | | | | | a bit. -916 byte
* libiproute: audit callgraph, shortcut error paths into die() functions.Denis Vlasenko2007-04-071-36/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kill a few statics, made other globals smaller: oneline is smallint, _SL_ is char function old new delta print_tunnel 693 731 +38 print_route 1775 1777 +2 print_addrinfo 1495 1497 +2 ipaddr_list_or_flush 2826 2828 +2 oneline 4 1 -3 _SL_ 4 1 -3 ipaddr_modify 1476 1472 -4 parse_address 124 119 -5 ip_parse_common_args 429 423 -6 on_off 53 46 -7 do_del_ioctl 113 106 -7 do_add_ioctl 120 113 -7 do_show 864 856 -8 iprule_list 157 148 -9 do_iptunnel 310 299 -11 do_add 143 126 -17 get_ctl_fd 95 76 -19 set_address 108 84 -24 ip_main 351 323 -28 static.ifr 32 - -32 parse_args 1992 1949 -43 iproute_list_or_flush 1673 1582 -91 do_iplink 1583 1485 -98 filter 280 - -280 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 4/18 up/down: 44/-702) Total: -658 bytes
* stop using __u32 etc. uint32_t is there for a reasonDenis Vlasenko2006-12-311-1/+1
|
* introduce LONE_CHAR (optimized strcmp with one-char string)Denis Vlasenko2006-12-211-1/+1
|
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko2006-12-161-1/+1
|
* do not overflow ifr_name. maybe it was safe in some places,Denis Vlasenko2006-11-271-1/+1
| | | | but not everywhere. err to the safe side.
* - add 'ip rule' support. First take..Bernhard Reutner-Fischer2006-11-211-1/+1
| | | | | text data bss dec hex filename 2999 0 0 2999 bb7 networking/libiproute/iprule.o
* rename: compare_string_array -> index_in_str_arrayDenis Vlasenko2006-11-051-10/+9
| | | | | introduce index_in_substr_array and use it in iproute2
* ip: "ip addr del" and "ip addr delete" both should workDenis Vlasenko2006-10-261-7/+8
|
* silly size savings and capitalization fixesDenis Vlasenko2006-10-261-8/+8
|
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* - reuse strings and messages. Saves about 600BBernhard Reutner-Fischer2006-06-071-5/+5
|
* Header cleanup: don't #include headers that libbb.h already includes.Rob Landley2006-06-021-4/+1
|
* Patch from Bernhard Fischer to remove some useless bits.Rob Landley2006-05-171-6/+0
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-2/+2
| | | | definitions. (That should only be on prototypes.)
* Patch from Denis Vlasenko to constify things and fix a few typos.Rob Landley2006-02-221-8/+15
|
* sort out yet more type issuesEric Andersen2006-01-301-2/+2
|
* - add some ATTRIBUTE_UNUSED.Bernhard Reutner-Fischer2006-01-301-6/+5
| | | | - use shorter boilerplate while at it.
* just whitespaceTim Riker2006-01-251-6/+6
|
* restore compare_string_array new interface (make broken by landley)"Vladimir N. Oleynik"2005-12-061-3/+3
|
* - make libiproute compile..Bernhard Reutner-Fischer2005-10-081-0/+1
|
* Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen2005-04-161-1/+1
| | | | which were otherwise cluttering the global namespace.
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-4/+4
|
* Major coreutils update.Manuel Novoa III2003-03-191-12/+12
|
* This seems sufficient for ifup and ifdown to actually workEric Andersen2003-01-271-0/+2
| | | | as advertised. Works for me (at least with glibc)
* Eliminate use of kernel header fileEric Andersen2003-01-141-3/+2
| | | | -Erik
* Option to allow ifupdown use ip commands instead of ifconfig, add flushGlenn L McGrath2003-01-131-3/+80
| | | | command to ipaddr, patch by Bastian Blank
* Only included headers that are used.Glenn L McGrath2002-12-161-14/+7
|
* undefine sysinfo to prevent breakage on ia64Glenn L McGrath2002-12-111-0/+2
|
* Use compare_string_array in ipaddress to save a few bytes, minor cleanupsGlenn L McGrath2002-12-021-122/+157
|
* Enable ip commands to be compiled seperate from ip, modifed patch from ↵Glenn L McGrath2002-12-011-3/+2
| | | | Bastian Blank
* Use error_msg instead of fprintf(stderrGlenn L McGrath2002-11-281-17/+12
|
* IP applet by Bastian Blank <waldi@debian.org>Glenn L McGrath2002-11-101-0/+723