Denis Vlasenko
|
540a2a1f3b
|
libiproute: audit callgraph, shortcut error paths into die() functions.
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
|
2007-04-07 01:14:45 +00:00 |
|
Denis Vlasenko
|
89ef65f024
|
preparatory patch for -Wwrite-strings #5
|
2007-01-29 23:43:18 +00:00 |
|
Bernhard Reutner-Fischer
|
bb59f02218
|
- make sure we pickup the correct defines. Guards against 2.6.19 kernel-headers.
|
2006-12-04 15:57:17 +00:00 |
|
"Robert P. J. Day"
|
63fc1a9e08
|
Standardize on the vi editing directives being on the first line.
|
2006-07-02 19:47:05 +00:00 |
|
Bernhard Reutner-Fischer
|
fd4b61d5f3
|
- add needed includes and include busybox.h needed for the ATTRIBUTE define.
|
2006-06-16 12:28:39 +00:00 |
|
Bernhard Reutner-Fischer
|
86f5c9906b
|
- add platform.h.
- use shorter boilerplate while at it.
|
2006-01-22 22:55:11 +00:00 |
|
Eric Andersen
|
d8fdf0c57d
|
Fix a typo that broke it so busybox won't build
|
2003-01-22 01:20:35 +00:00 |
|
Glenn L McGrath
|
5cc9ada0e4
|
header update
|
2003-01-21 00:03:05 +00:00 |
|
Glenn L McGrath
|
2626ef613e
|
Use compare_string_array in ipaddress to save a few bytes, minor cleanups
|
2002-12-02 01:40:05 +00:00 |
|
Glenn L McGrath
|
c82f2324bd
|
Save a hundred bytes or so on the do_iproute function
|
2002-12-02 00:35:23 +00:00 |
|
Glenn L McGrath
|
f112daa232
|
Enable ip commands to be compiled seperate from ip, modifed patch from Bastian Blank
|
2002-12-01 23:04:06 +00:00 |
|
Glenn L McGrath
|
9a2d27249c
|
IP applet by Bastian Blank <waldi@debian.org>
|
2002-11-10 01:33:55 +00:00 |
|