]>
git.proxmox.com Git - mirror_frr.git/blob - zebra/netconf_netlink.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * netconf_netlink.h - netconf interaction with the kernel using
5 * Copyright (C) 2021 Nvidia, Inc.
8 #ifndef __NETCONF_NETLINK_H__
9 #define __NETCONF_NETLINK_H__
11 #ifdef HAVE_NETLINK /* Netlink-only module */
13 #include "zebra/zebra_ns.h"
19 /* Parse and handle a NETCONF message. */
20 extern int netlink_netconf_change(struct nlmsghdr
*h
, ns_id_t ns_id
,
22 /* Request info from the host OS. */
23 int netlink_request_netconf(int sockfd
);
27 extern enum netlink_msg_status
28 netlink_put_intf_netconfig(struct nl_batch
*bth
, struct zebra_dplane_ctx
*ctx
);
34 #endif /* HAVE_NETLINK */
36 #endif /* NETCONF_NETLINK_H */