]> git.proxmox.com Git - mirror_frr.git/blame - zebra/netconf_netlink.h
zebra: Start of work to get data about mpls from kernel
[mirror_frr.git] / zebra / netconf_netlink.h
CommitLineData
ebb61fca
DS
1/*
2 * netconf_netlink.h - netconf interaction with the kernel using
3 * netlink
4 * Copyright (C) 2021 Nvidia, Inc.
5 * Donald Sharp
6 *
7 * This file is part of FRR.
8 *
9 * FRR is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 2, or (at your option) any
12 * later version.
13 *
14 * FRR is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with FRR; see the file COPYING. If not, write to the Free
21 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22 * 02111-1307, USA.
23 */
24#ifndef __NETCONF_NETLINK_H__
25#define __NETCONF_NETLINK_H__
26
27#ifdef HAVE_NETLINK /* Netlink-only module */
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33extern int netlink_netconf_change(struct nlmsghdr *h, ns_id_t ns_id,
34 int startup);
35
36extern int netconf_lookup_netlink(struct zebra_ns *zns);
37
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif /* HAVE_NETLINK */
44
45#endif /* NETCONF_NETLINK_H */