diff options
author | Denis Vlasenko | 2007-06-19 12:11:20 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-06-19 12:11:20 +0000 |
commit | 08a61180ceeafaa09e33ef5afc8af45a219ccdf1 (patch) | |
tree | fae0cd596fffa42de37bab5d70318cd576278bc3 /networking/libiproute/ll_map.h | |
parent | 2d25491ed0836a50c6c1c107090d8f72b87ef71d (diff) | |
download | busybox-08a61180ceeafaa09e33ef5afc8af45a219ccdf1.zip busybox-08a61180ceeafaa09e33ef5afc8af45a219ccdf1.tar.gz |
ll_map: disable interface name caching code
function old new delta
find_by_index - 26 +26
static.icache 4 - -4
ll_idx_n2a 71 59 -12
static.ncache 16 - -16
ll_index_to_flags 40 24 -16
xll_name_to_index 206 104 -102
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 0/3 up/down: 26/-150) Total: -124 bytes
text data bss dec hex filename
734703 3040 14440 752183 b7a37 busybox_old
734599 3040 14416 752055 b79b7 busybox_unstripped
Diffstat (limited to 'networking/libiproute/ll_map.h')
-rw-r--r-- | networking/libiproute/ll_map.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/networking/libiproute/ll_map.h b/networking/libiproute/ll_map.h index abb6404..2dfc844 100644 --- a/networking/libiproute/ll_map.h +++ b/networking/libiproute/ll_map.h @@ -2,12 +2,12 @@ #ifndef __LL_MAP_H__ #define __LL_MAP_H__ 1 -extern int ll_remember_index(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); -extern int ll_init_map(struct rtnl_handle *rth); -extern int xll_name_to_index(const char * const name); -extern const char *ll_index_to_name(int idx); -extern const char *ll_idx_n2a(int idx, char *buf); -extern int ll_index_to_type(int idx); -extern unsigned ll_index_to_flags(int idx); +int ll_remember_index(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); +int ll_init_map(struct rtnl_handle *rth); +int xll_name_to_index(const char * const name); +const char *ll_index_to_name(int idx); +const char *ll_idx_n2a(int idx, char *buf); +/* int ll_index_to_type(int idx); */ +unsigned ll_index_to_flags(int idx); #endif /* __LL_MAP_H__ */ |