busybox/networking/libiproute/ll_map.h
<<
>>
Prefs
   1/* vi: set sw=4 ts=4: */
   2#ifndef __LL_MAP_H__
   3#define __LL_MAP_H__ 1
   4
   5#if __GNUC_PREREQ(4,1)
   6# pragma GCC visibility push(hidden)
   7#endif
   8
   9int ll_remember_index(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
  10int ll_init_map(struct rtnl_handle *rth);
  11int xll_name_to_index(const char *const name);
  12const char *ll_index_to_name(int idx);
  13const char *ll_idx_n2a(int idx, char *buf);
  14/* int ll_index_to_type(int idx); */
  15unsigned ll_index_to_flags(int idx);
  16
  17#if __GNUC_PREREQ(4,1)
  18# pragma GCC visibility pop
  19#endif
  20
  21#endif /* __LL_MAP_H__ */
  22