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 /lib/log.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 'lib/log.c')
| -rw-r--r-- | lib/log.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -451,7 +451,8 @@ static const struct zebra_desc_table command_types[] = { DESC_ENTRY(ZEBRA_CLIENT_CAPABILITIES), DESC_ENTRY(ZEBRA_OPAQUE_MESSAGE), DESC_ENTRY(ZEBRA_OPAQUE_REGISTER), - DESC_ENTRY(ZEBRA_OPAQUE_UNREGISTER)}; + DESC_ENTRY(ZEBRA_OPAQUE_UNREGISTER), + DESC_ENTRY(ZEBRA_NEIGH_DISCOVER)}; #undef DESC_ENTRY static const struct zebra_desc_table unknown = {0, "unknown", '?'}; |
