ll_map.h revision 6dc9f016347441fbf94cf851c054b0f45ba32c1c
1#ifndef __LL_MAP_H__ 2#define __LL_MAP_H__ 1 3 4extern int ll_remember_index(const struct sockaddr_nl *who, const struct nlmsghdr *n, 5 void *arg); 6extern int ll_init_map(struct rtnl_handle *rth); 7extern int ll_name_to_index(const char *name); 8extern const char *ll_index_to_name(int idx); 9extern const char *ll_idx_n2a(int idx, char *buf); 10extern int ll_index_to_type(int idx); 11extern unsigned ll_index_to_flags(int idx); 12 13#endif /* __LL_MAP_H__ */ 14