diff options
| author | Jakub Urbańczyk <xthaid@gmail.com> | 2020-08-06 13:07:01 +0200 |
|---|---|---|
| committer | Jakub Urbańczyk <xthaid@gmail.com> | 2020-08-12 23:19:58 +0200 |
| commit | d68e74b41cc3575986a5269fe04ebe01c71ffc0e (patch) | |
| tree | 61cf864e877ef57b786c31e6ced497b510f2b270 /zebra/kernel_socket.c | |
| parent | c2e6684110731f4a84be085f42c615390749f115 (diff) | |
lib, zebra: add support for sending ARP requests
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 <xthaid@gmail.com>
Diffstat (limited to 'zebra/kernel_socket.c')
| -rw-r--r-- | zebra/kernel_socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
