• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef __LL_MAP_H__
2 #define __LL_MAP_H__ 1
3 
4 int ll_remember_index(const struct sockaddr_nl *who,
5 		      struct nlmsghdr *n, void *arg);
6 
7 void ll_init_map(struct rtnl_handle *rth);
8 unsigned ll_name_to_index(const char *name);
9 const char *ll_index_to_name(unsigned idx);
10 const char *ll_idx_n2a(unsigned idx, char *buf);
11 int ll_index_to_type(unsigned idx);
12 int ll_index_to_flags(unsigned idx);
13 unsigned namehash(const char *str);
14 
15 #endif /* __LL_MAP_H__ */
16