]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Add Generic Netlink socket
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Wed, 16 Nov 2022 23:15:40 +0000 (00:15 +0100)
committerCarmine Scarpitta <cscarpit@cisco.com>
Thu, 14 Dec 2023 13:56:44 +0000 (14:56 +0100)
commite14d1dcdbc7c35481760d721b68fa6bcdcd8bf69
treed3f20c2c0b284702c257b198f3d4e70cb84b5f04
parentf998057fb331b82484b55a7262dc44b33aebc453
zebra: Add Generic Netlink socket

zebra already supports several Netlink sockets which allow it to
communicate with the kernel. Each Netlink socket has a specific purpose:
we have a socket for incoming events from the kernel, a socket for
programming the dataplane, a socket for the kernel messages, a socket
used as the command channel. All the currently supported sockets are
based on the `NETLINK_ROUTE` protocol.

This commit adds a new Netlink socket that allows zebra to send
commands to the kernel using the `Generic Netlink` protocol.

Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
zebra/kernel_netlink.c
zebra/kernel_netlink.h
zebra/zebra_ns.h