osdl.org!shemminger | aba5acd | 2004-04-15 20:56:59 +0000 | [diff] [blame] | 1 | #ifndef __LL_MAP_H__ |
| 2 | #define __LL_MAP_H__ 1 |
| 3 | |
Stephen Hemminger | 892e212 | 2015-08-13 14:09:58 -0700 | [diff] [blame] | 4 | int ll_remember_index(const struct sockaddr_nl *who, |
| 5 | struct nlmsghdr *n, void *arg); |
Stephen Hemminger | 0025e5d | 2013-03-28 14:57:28 -0700 | [diff] [blame] | 6 | |
Stephen Hemminger | 892e212 | 2015-08-13 14:09:58 -0700 | [diff] [blame] | 7 | void ll_init_map(struct rtnl_handle *rth); |
| 8 | unsigned ll_name_to_index(const char *name); |
| 9 | const char *ll_index_to_name(unsigned idx); |
| 10 | const char *ll_idx_n2a(unsigned idx, char *buf); |
| 11 | int ll_index_to_type(unsigned idx); |
| 12 | int ll_index_to_flags(unsigned idx); |
| 13 | unsigned namehash(const char *str); |
osdl.org!shemminger | aba5acd | 2004-04-15 20:56:59 +0000 | [diff] [blame] | 14 | |
| 15 | #endif /* __LL_MAP_H__ */ |