ll_map.h 422 B

12345678910111213
  1. /* vi: set sw=4 ts=4: */
  2. #ifndef __LL_MAP_H__
  3. #define __LL_MAP_H__ 1
  4. int ll_remember_index(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
  5. int ll_init_map(struct rtnl_handle *rth);
  6. int xll_name_to_index(const char *const name);
  7. const char *ll_index_to_name(int idx);
  8. const char *ll_idx_n2a(int idx, char *buf);
  9. /* int ll_index_to_type(int idx); */
  10. unsigned ll_index_to_flags(int idx);
  11. #endif /* __LL_MAP_H__ */