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