]> git.puffer.fish Git - mirror/frr.git/commit
zebra: create an abstraction layer for netlink_neigh_update()
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 4 Aug 2016 13:07:32 +0000 (10:07 -0300)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Mon, 8 Aug 2016 01:05:26 +0000 (21:05 -0400)
commit6b8a5694d3f138f0d32026d56d24a129a21c5da8
tree0019fd934e87e3351cc41627398b36d7c151866f
parent1bb6e9b7fafc20249570727b84fa4101643d9091
zebra: create an abstraction layer for netlink_neigh_update()

We shouldn't have platform-agnostic code (e.g. zebra/interface.c)
calling platform-specific functions (e.g. netlink_neigh_update).

This commit introduces the kernel_neigh_update() function, which then
has to be implemented by all supported platforms. Currently only Linux
implements this function, which is only used by the RTADV code.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/interface.c
zebra/kernel_null.c
zebra/rt.h
zebra/rt_netlink.c
zebra/rt_netlink.h
zebra/rt_socket.c