]> git.proxmox.com Git - mirror_frr.git/commit - zebra/rt_socket.c
zebra: MAC and Neighbor (ARP/ND) handling
authorvivek <vivek@cumulusnetworks.com>
Mon, 15 May 2017 05:44:13 +0000 (22:44 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 12 Jul 2017 16:29:25 +0000 (12:29 -0400)
commit2232a77c2bb35586fbdc8156e9c0781fc7020066
treed3e6b25ba230f5212c1dc29d12ab0bc53a68f236
parent4122e2528618539c0620e1e3a3090654b8752ba0
zebra: MAC and Neighbor (ARP/ND) handling

Implement handling of MACs and Neighbors (ARP/ND entries) in zebra:
- MAC and Neighbor database handlers
- Read MACs and Neighbors from the kernel, when needed and create
entries in zebra's MAC and Neighbor databases.
- Handle add/update/delete notifications from the kernel for MACs and
Neighbors and update zebra's database appropriately
- Inform locally learnt MACs and Neighbors to client
- Handle MACIP add/delete from client and install appriporiate entries
into the kernel
- Since Neighbor entries will be installed on an SVI, implement the
needed mappings

NOTE: kernel interface is only implemented for Linux/netlink

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
16 files changed:
lib/log.c
lib/zclient.h
zebra/interface.c
zebra/kernel_netlink.c
zebra/rt.h
zebra/rt_netlink.c
zebra/rt_netlink.h
zebra/rt_socket.c
zebra/rtread_getmsg.c
zebra/rtread_netlink.c
zebra/rtread_sysctl.c
zebra/zebra_vxlan.c
zebra/zebra_vxlan.h
zebra/zebra_vxlan_null.c
zebra/zserv.c
zebra/zserv.h