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 |
|
Denis Vlasenko
|
ab2aea4447
|
preparatory patch for -Wwrite-strings #4
|
2007-01-29 22:51:58 +00:00 |
|
Denis Vlasenko
|
b6aae0f381
|
preparatory patch for -Wwrite-strings #2
|
2007-01-29 22:51:25 +00:00 |
|
Denis Vlasenko
|
13463af29f
|
remove commented out #includes etc
move get_hz to the only caller
|
2006-12-31 18:58:32 +00:00 |
|
Denis Vlasenko
|
98ee06d3d4
|
stop using __u32 etc. uint32_t is there for a reason
|
2006-12-31 18:57:37 +00:00 |
|
Denis Vlasenko
|
bf0a201008
|
style fixes
last xcalloc replaced by xzalloc
|
2006-12-26 10:42:51 +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
|
f1bd42a305
|
- correct typo
|
2006-06-14 16:51:50 +00:00 |
|
Bernhard Reutner-Fischer
|
19008b8373
|
- reuse strings and messages. Saves about 600B
|
2006-06-07 20:17:41 +00:00 |
|
Tim Riker
|
c1ef7bdd8d
|
just whitespace
|
2006-01-25 00:08:53 +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
|
c7bda1ce65
|
Remove trailing whitespace. Update copyright to include 2004.
|
2004-03-15 08:29:22 +00:00 |
|
Eric Andersen
|
1a834be1ce
|
Use proper C99 types
|
2004-01-30 22:59:50 +00:00 |
|
Glenn L McGrath
|
9a2d27249c
|
IP applet by Bastian Blank <waldi@debian.org>
|
2002-11-10 01:33:55 +00:00 |
|