]>
Commit | Line | Data |
---|---|---|
aba5acdf SH |
1 | #ifndef __LL_MAP_H__ |
2 | #define __LL_MAP_H__ 1 | |
3 | ||
ae665a52 | 4 | extern int ll_remember_index(const struct sockaddr_nl *who, |
50772dc5 | 5 | struct nlmsghdr *n, void *arg); |
aba5acdf | 6 | extern int ll_init_map(struct rtnl_handle *rth); |
99f830de SH |
7 | extern unsigned ll_name_to_index(const char *name); |
8 | extern const char *ll_index_to_name(unsigned idx); | |
9 | extern const char *ll_idx_n2a(unsigned idx, char *buf); | |
10 | extern int ll_index_to_type(unsigned idx); | |
11 | extern unsigned ll_index_to_flags(unsigned idx); | |
aba5acdf SH |
12 | |
13 | #endif /* __LL_MAP_H__ */ |