diff options
author | Ole Troan <otroan@employees.org> | 2023-08-31 09:48:45 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2023-09-04 17:05:48 +0000 |
commit | 8af78b8e360f12ffb9e347868a6e820bee618b81 (patch) | |
tree | eca07b5a911ca30c9862105f856777464f1c68e9 /src/plugins/arping/arping_test.c | |
parent | 34850e01876005422ba9523df5ae0400964e1c91 (diff) |
arping: api to return responder mac address
The new arping_acd call includes the responders mac address in the reply.
Enabling a client doing address conflict detection to identify if it
is itself that is replying or that it is another host uses the IP
address.
Type: feature
Change-Id: Ia4bab2af1086f06ed71ba42e2e07368d4e330a27
Signed-off-by: Ole Troan <otroan@employees.org>
Diffstat (limited to 'src/plugins/arping/arping_test.c')
-rw-r--r-- | src/plugins/arping/arping_test.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/plugins/arping/arping_test.c b/src/plugins/arping/arping_test.c index 00b0b98ab9a..7cd85912bd2 100644 --- a/src/plugins/arping/arping_test.c +++ b/src/plugins/arping/arping_test.c @@ -154,6 +154,19 @@ vl_api_arping_reply_t_handler (vl_api_arping_reply_t *mp) vam->result_ready = 1; } +static int +api_arping_acd (vat_main_t *vam) +{ + // NOT YET IMPLEMENTED + return -99; +} + +static void +vl_api_arping_acd_reply_t_handler (vl_api_arping_reply_t *mp) +{ + // NOT YET IMPLEMENTED +} + #include <arping/arping.api_test.c> /* |