Debian Codegraph @

include/netlink/cli/neigh.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3 * Copyright (c) 2008-2009 Thomas Graf <[email protected]>
4 */
5
6 #ifndef __NETLINK_CLI_NEIGH_H_
7 #define __NETLINK_CLI_NEIGH_H_
8
9 #include <netlink/route/neighbour.h>
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 #define nl_cli_neigh_alloc_cache(sk) \
16 nl_cli_alloc_cache_flags((sk), "neighbour", NL_CACHE_AF_ITER, \
17 rtnl_neigh_alloc_cache_flags)
18
19 extern struct rtnl_neigh *nl_cli_neigh_alloc(void);
20 extern void nl_cli_neigh_parse_dst(struct rtnl_neigh *, char *);
21 extern void nl_cli_neigh_parse_lladdr(struct rtnl_neigh *, char *);
22 extern void nl_cli_neigh_parse_dev(struct rtnl_neigh *, struct nl_cache *, char *);
23 extern void nl_cli_neigh_parse_family(struct rtnl_neigh *, char *);
24 extern void nl_cli_neigh_parse_state(struct rtnl_neigh *, char *);
25
26 #ifdef __cplusplus
27 }
28 #endif
29
30 #endif