diff options
author | Aloys Augustin <aloaugus@cisco.com> | 2021-09-16 20:53:14 +0200 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2021-09-22 09:02:18 +0000 |
commit | 6e4cfb506806a0e214a5498952c2587e128b4870 (patch) | |
tree | aed045509ce249c8a8d0a05468dad25bd316360e /src/vnet/ip/ip_test.c | |
parent | c3b62d1d132453390644171673ffbcd775d19850 (diff) |
ip: add ip_table_allocate to api
Set tableID = ~0 for auto selection unused ID
https://jira.fd.io/browse/VPP-1993
Type: improvement
Change-Id: I4eec2cc1d18fc025196cb6ac4c9a4b374388eb56
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip_test.c')
-rw-r--r-- | src/vnet/ip/ip_test.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/vnet/ip/ip_test.c b/src/vnet/ip/ip_test.c index 2de8235288d..6bdeca5ff32 100644 --- a/src/vnet/ip/ip_test.c +++ b/src/vnet/ip/ip_test.c @@ -524,6 +524,17 @@ api_ip_table_flush (vat_main_t *vam) return ret; } +static int +api_ip_table_allocate (vat_main_t *vam) +{ + return -1; +} + +static void +vl_api_ip_table_allocate_reply_t_handler (vl_api_ip_table_allocate_reply_t *mp) +{ +} + static void vl_api_ip_route_add_del_v2_reply_t_handler ( vl_api_ip_route_add_del_v2_reply_t *mp) |