]> git.proxmox.com Git - mirror_frr.git/commit - zebra/netconf_netlink.c
zebra: Start of work to get data about mpls from kernel
authorDonald Sharp <sharpd@nvidia.com>
Tue, 4 May 2021 12:50:00 +0000 (08:50 -0400)
committerMark Stapp <mstapp@nvidia.com>
Fri, 25 Feb 2022 14:53:02 +0000 (09:53 -0500)
commitebb61fcaf5b94c4cafac1016625200e9bafe5ab9
tree91541b65dd8ec70fb511fc6bf732bde1a6ca1559
parent7bf63db79b7848b73e1cef49f3496038644bea16
zebra: Start of work to get data about mpls from kernel

a) We'll need to pass the info up via some dataplane control method
(This way bsd and linux can both be zebra agnostic of each other)

b) We'll need to modify `struct interface *` to track this data
and when it changes to notify upper level protocols about it.

c) Work is needed to dump the entire mpls state at the start
so we can gather interface state.  This should be done
after interface data gathering from the kernel.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Signed-off-by: Mark Stapp <mstapp@nvidia.com>
include/linux/netconf.h [new file with mode: 0644]
include/subdir.am
zebra/if_netlink.c
zebra/kernel_netlink.c
zebra/netconf_netlink.c [new file with mode: 0644]
zebra/netconf_netlink.h [new file with mode: 0644]
zebra/subdir.am