Home | History | Annotate | Download | only in include
      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 extern unsigned ll_index_to_addr(unsigned idx, unsigned char *addr,
     13 				 unsigned alen);
     14 
     15 #endif /* __LL_MAP_H__ */
     16