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 | ae665a5 | 2006-12-05 10:10:22 -0800 | [diff] [blame] | 4 | extern int ll_remember_index(const struct sockaddr_nl *who, |
osdl.net!shemminger | 50772dc | 2004-12-07 21:48:29 +0000 | [diff] [blame] | 5 | struct nlmsghdr *n, void *arg); |
osdl.org!shemminger | aba5acd | 2004-04-15 20:56:59 +0000 | [diff] [blame] | 6 | extern int ll_init_map(struct rtnl_handle *rth); |
shemminger | 99f830d | 2005-06-07 22:15:48 +0000 | [diff] [blame] | 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); |
osdl.org!shemminger | aba5acd | 2004-04-15 20:56:59 +0000 | [diff] [blame] | 12 | |
| 13 | #endif /* __LL_MAP_H__ */ |