aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/libnetlink.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* whitespace cleanupDenys Vlasenko2010-10-291-5/+5
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* libnetlink: code shrinkNatanael Copa2010-07-231-3/+3
| | | | | | | | | | | | | function old new delta xrtnl_open 95 93 -2 parse_rtattr 87 85 -2 rtnl_close 9 - -9 xrtnl_wilddump_request 101 64 -37 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/3 up/down: 0/-50) Total: -50 bytes Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: add FAST_FUNC to function ptrs where it makes senseDenys Vlasenko2009-06-051-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta evalcommand 1195 1209 +14 testcmd - 10 +10 printfcmd - 10 +10 echocmd - 10 +10 func_exec 270 276 +6 echo_dg 104 109 +5 store_nlmsg 85 89 +4 pseudo_exec_argv 195 198 +3 dotcmd 287 290 +3 machtime_stream 29 31 +2 discard_stream 24 26 +2 argstr 1299 1301 +2 killcmd 108 109 +1 evalfor 226 227 +1 daytime_stream 43 44 +1 run_list 2544 2543 -1 lookupvar 62 61 -1 ipaddr_modify 1310 1309 -1 ... parse_stream 2254 2245 -9 evalpipe 356 347 -9 collect_if 210 197 -13 read_opt 869 851 -18 handle_dollar 681 658 -23 print_addrinfo 1342 1303 -39 iterate_on_dir 156 59 -97 print_route 1709 1609 -100 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 12/130 up/down: 74/-767) Total: -693 bytes text data bss dec hex filename 841748 467 7872 850087 cf8a7 busybox_old 841061 467 7872 849400 cf5f8 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove check for errors on getsockaddr in cases we know they can't happenDenis Vlasenko2009-04-211-2/+1
| | | | | | | | | | | | libbb: make get_sock_lsa use only one getsockaddr syscall, not two function old new delta get_sock_lsa 72 101 +29 do_iplink 1151 1137 -14 arping_main 1585 1569 -16 dolisten 789 755 -34 xrtnl_open 161 94 -67
* *: make "pragma GCC visibility push(hidden)" less uglyDenis Vlasenko2009-04-091-10/+5
|
* libiproute: print_route() always uses stdout, do not pass FILE pointer to it.Denis Vlasenko2008-06-291-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | libiproute: Use FAST_FUNC function old new delta iprule_modify 884 905 +21 ipaddr_modify 1289 1310 +21 rtnl_send 53 69 +16 xrtnl_wilddump_request 109 124 +15 xrtnl_dump_filter 394 403 +9 rtnl_talk 534 539 +5 print_addrinfo 1369 1374 +5 iproute_modify 1017 1020 +3 iprule_list 81 83 +2 xrtnl_open 163 161 -2 parse_rtattr 89 87 -2 ipaddr_list_or_flush 2176 2174 -2 addattr_l 91 88 -3 flush_update 116 108 -8 iproute_list_or_flush 1285 1263 -22 iproute_get 878 852 -26 print_route 1913 1752 -161 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 9/8 up/down: 97/-226) Total: -129 bytes
* - make the first arg of the filter function passed to rtnl_dump_filter constantBernhard Reutner-Fischer2008-06-121-1/+1
| | | | to match normal iproute. No obj-code changes.
* Use intra-DSO calls when we build libbusybox. No-op for normal build.Denis Vlasenko2008-05-091-0/+9
| | | | | | | | | This was Bernhard Fischer' idea. text data bss dec hex filename 773549 7781 9740 791070 c121e busybox.t7/0_lib/libbusybox.so.1.11.0.svn_unstripped 769683 7397 9740 786820 c0184 busybox.t9t/0_lib/libbusybox.so.1.11.0.svn_unstripped
* libnetlink: comment out unused code; don't use 8k stack buffersDenis Vlasenko2007-12-021-0/+5
| | | | | | | | | | | | function old new delta ipaddr_modify 1305 1297 -8 do_iprule 963 955 -8 do_iproute 2193 2169 -24 xrtnl_dump_filter 418 391 -27 rtnl_talk 671 536 -135 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/5 up/down: 0/-202) Total: -202 bytes
* - add xsendto and use where appropriate; shrink iplink; sanitize libiproute ↵Bernhard Reutner-Fischer2007-04-121-6/+4
| | | | | | a bit. -916 byte
* accumulated post-1.4.0 fixesDenis Vlasenko2007-01-241-2/+3
|
* remove commented out #includes etcDenis Vlasenko2006-12-311-1/+0
| | | | move get_hz to the only caller
* stop using __u32 etc. uint32_t is there for a reasonDenis Vlasenko2006-12-311-5/+5
|
* - add 'ip rule' support. First take..Bernhard Reutner-Fischer2006-11-211-7/+7
| | | | | text data bss dec hex filename 2999 0 0 2999 bb7 networking/libiproute/iprule.o
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* Kill off some unused code that was wasting several k, as noticed byEric Andersen2006-03-031-4/+0
| | | | Denis Vlasenko when building with -ffunction-sections -fdata-sections
* IP applet by Bastian Blank <waldi@debian.org>Glenn L McGrath2002-11-101-0/+46