Tomato 1.24
[tomato.git] / release / src / router / busybox / networking / libiproute / ll_map.h
blob3966def100faf504c6100898d00ad42abbc4aa39
1 /* vi: set sw=4 ts=4: */
2 #ifndef LL_MAP_H
3 #define LL_MAP_H 1
5 PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
7 int ll_remember_index(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
8 int ll_init_map(struct rtnl_handle *rth);
9 int xll_name_to_index(const char *const name);
10 const char *ll_index_to_name(int idx);
11 const char *ll_idx_n2a(int idx, char *buf);
12 /* int ll_index_to_type(int idx); */
13 unsigned ll_index_to_flags(int idx);
15 POP_SAVED_FUNCTION_VISIBILITY
17 #endif