00001 #ifndef __LL_MAP_H__ 00002 #define __LL_MAP_H__ 1 00003 00004 extern int ll_remember_index(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); 00005 extern int ll_init_map(struct rtnl_handle *rth); 00006 extern int ll_name_to_index(char *name); 00007 extern const char *ll_index_to_name(int idx); 00008 extern const char *ll_idx_n2a(int idx, char *buf); 00009 extern int ll_index_to_type(int idx); 00010 extern unsigned ll_index_to_flags(int idx); 00011 00012 #endif /* __LL_MAP_H__ */ 00013