libnl: /data/src/libnl/include/netlink/cli/neigh.h Source File

libnl 3.12.0

neigh.h
1/* SPDX-License-Identifier: LGPL-2.1-only */
2/*
3 * Copyright (c) 2008-2009 Thomas Graf <tgraf@suug.ch>
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
12extern "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
19extern struct rtnl_neigh *nl_cli_neigh_alloc(void);
20extern void nl_cli_neigh_parse_dst(struct rtnl_neigh *, char *);
21extern void nl_cli_neigh_parse_lladdr(struct rtnl_neigh *, char *);
22extern void nl_cli_neigh_parse_dev(struct rtnl_neigh *, struct nl_cache *, char *);
23extern void nl_cli_neigh_parse_family(struct rtnl_neigh *, char *);
24extern void nl_cli_neigh_parse_state(struct rtnl_neigh *, char *);
25
26#ifdef __cplusplus
27}
28#endif
29
30#endif