]> git.proxmox.com Git - mirror_iproute2.git/blame - include/ll_map.h
v4.13.0
[mirror_iproute2.git] / include / ll_map.h
CommitLineData
aba5acdf
SH
1#ifndef __LL_MAP_H__
2#define __LL_MAP_H__ 1
3
892e2124
SH
4int ll_remember_index(const struct sockaddr_nl *who,
5 struct nlmsghdr *n, void *arg);
0025e5d6 6
892e2124
SH
7void ll_init_map(struct rtnl_handle *rth);
8unsigned ll_name_to_index(const char *name);
9const char *ll_index_to_name(unsigned idx);
10const char *ll_idx_n2a(unsigned idx, char *buf);
11int ll_index_to_type(unsigned idx);
12int ll_index_to_flags(unsigned idx);
13unsigned namehash(const char *str);
aba5acdf
SH
14
15#endif /* __LL_MAP_H__ */