diff options
Diffstat (limited to 'networking/libiproute/ll_map.c')
-rw-r--r-- | networking/libiproute/ll_map.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/networking/libiproute/ll_map.c b/networking/libiproute/ll_map.c index 951496f..62528cc 100644 --- a/networking/libiproute/ll_map.c +++ b/networking/libiproute/ll_map.c @@ -39,7 +39,7 @@ static struct idxmap *find_by_index(int idx) return NULL; } -int ll_remember_index(const struct sockaddr_nl *who UNUSED_PARAM, +int FAST_FUNC ll_remember_index(const struct sockaddr_nl *who UNUSED_PARAM, struct nlmsghdr *n, void *arg UNUSED_PARAM) { @@ -86,7 +86,7 @@ int ll_remember_index(const struct sockaddr_nl *who UNUSED_PARAM, return 0; } -const char *ll_idx_n2a(int idx, char *buf) +const char FAST_FUNC *ll_idx_n2a(int idx, char *buf) { struct idxmap *im; @@ -100,7 +100,7 @@ const char *ll_idx_n2a(int idx, char *buf) } -const char *ll_index_to_name(int idx) +const char FAST_FUNC *ll_index_to_name(int idx) { static char nbuf[16]; @@ -121,7 +121,7 @@ int ll_index_to_type(int idx) } #endif -unsigned ll_index_to_flags(int idx) +unsigned FAST_FUNC ll_index_to_flags(int idx) { struct idxmap *im; @@ -133,7 +133,7 @@ unsigned ll_index_to_flags(int idx) return 0; } -int xll_name_to_index(const char *name) +int FAST_FUNC xll_name_to_index(const char *name) { int ret = 0; int sock_fd; @@ -192,7 +192,7 @@ int xll_name_to_index(const char *name) return ret; } -int ll_init_map(struct rtnl_handle *rth) +int FAST_FUNC ll_init_map(struct rtnl_handle *rth) { xrtnl_wilddump_request(rth, AF_UNSPEC, RTM_GETLINK); xrtnl_dump_filter(rth, ll_remember_index, &idxmap); |