]>
git.proxmox.com Git - mirror_iproute2.git/blob - include/ll_map.h
1 /* SPDX-License-Identifier: GPL-2.0 */
5 int ll_remember_index(struct nlmsghdr
*n
, void *arg
);
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 int ll_index_to_type(unsigned idx
);
11 int ll_index_to_flags(unsigned idx
);
12 void ll_drop_by_index(unsigned index
);
13 unsigned namehash(const char *str
);
15 const char *ll_idx_n2a(unsigned int idx
);
17 #endif /* __LL_MAP_H__ */