From d68e74b41cc3575986a5269fe04ebe01c71ffc0e Mon Sep 17 00:00:00 2001 From: Jakub Urbańczyk Date: Thu, 6 Aug 2020 13:07:01 +0200 Subject: lib, zebra: add support for sending ARP requests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We can make the Linux kernel send an ARP/NDP request by adding a neighbour with the 'NUD_INCOMPLETE' state and the 'NTF_USE' flag. This commit adds new dataplane operation as well as new zapi message to allow other daemons send ARP/NDP requests. Signed-off-by: Jakub Urbańczyk --- zebra/kernel_socket.c | 1 + 1 file changed, 1 insertion(+) (limited to 'zebra/kernel_socket.c') diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c index 9e56e2988d..4c29b999f0 100644 --- a/zebra/kernel_socket.c +++ b/zebra/kernel_socket.c @@ -1526,6 +1526,7 @@ void kernel_update_multi(struct dplane_ctx_q *ctx_list) case DPLANE_OP_NEIGH_DELETE: case DPLANE_OP_VTEP_ADD: case DPLANE_OP_VTEP_DELETE: + case DPLANE_OP_NEIGH_DISCOVER: res = kernel_neigh_update_ctx(ctx); break; -- cgit v1.2.3