This commit was generated by cvs2svn to compensate for changes in r2587,
[iproute2.git] / include / ll_map.h
1 #ifndef __LL_MAP_H__
2 #define __LL_MAP_H__ 1
3
4 extern int ll_remember_index(const struct sockaddr_nl *who, 
5                              struct nlmsghdr *n, void *arg);
6 extern int ll_init_map(struct rtnl_handle *rth);
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);
12
13 #endif /* __LL_MAP_H__ */