diff options
author | Florin Coras <fcoras@cisco.com> | 2021-09-14 18:54:45 -0700 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2021-09-27 07:04:51 +0000 |
commit | 248210c6ca1716ee2c5e6c974051218930fa4c26 (patch) | |
tree | 5c4e8e1c53800e8ec43da7a8dbc4fbe73e5c9672 /src/vnet | |
parent | 1b6c7932a8feb419aae73a00a6784d7c110decdc (diff) |
misc: move part of vpe apis to vlibmemory
VPE apis are actually vlib apis. This moves those that are not tightly
coupled with vapi to vlib_api
Type: refactor
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I456a64ce49a0cdeff4a0931c6ea513cb639f683e
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/vnet/arp/arp_test.c | 2 | ||||
-rw-r--r-- | src/vnet/ip/ip_test.c | 2 | ||||
-rw-r--r-- | src/vnet/ip6-nd/ip6_nd_test.c | 6 |
4 files changed, 12 insertions, 4 deletions
diff --git a/src/vnet/CMakeLists.txt b/src/vnet/CMakeLists.txt index 68133308b76..2dbde7c5259 100644 --- a/src/vnet/CMakeLists.txt +++ b/src/vnet/CMakeLists.txt @@ -1520,6 +1520,12 @@ add_vpp_library (vatclient DEPENDS api_headers ) +add_vat_test_library(vnet + ip/ip_test.c + arp/arp_test.c + ip6-nd/ip6_nd_test.c +) + ############################################################################## # VAT2 plugins ############################################################################## diff --git a/src/vnet/arp/arp_test.c b/src/vnet/arp/arp_test.c index 29eeeb59d0f..b92fa06f9f6 100644 --- a/src/vnet/arp/arp_test.c +++ b/src/vnet/arp/arp_test.c @@ -158,8 +158,6 @@ api_proxy_arp_intfc_enable_disable (vat_main_t * vam) #include <vnet/arp/arp.api_test.c> -VAT_REGISTER_FEATURE_FUNCTION (vat_arp_plugin_register); - /* * fd.io coding-style-patch-verification: ON * diff --git a/src/vnet/ip/ip_test.c b/src/vnet/ip/ip_test.c index 6bdeca5ff32..81a84c12a3b 100644 --- a/src/vnet/ip/ip_test.c +++ b/src/vnet/ip/ip_test.c @@ -1547,8 +1547,6 @@ vl_api_ip_details_t_handler (vl_api_ip_details_t *mp) #include <vnet/ip/ip.api_test.c> -VAT_REGISTER_FEATURE_FUNCTION (vat_ip_plugin_register); - /* * fd.io coding-style-patch-verification: ON * diff --git a/src/vnet/ip6-nd/ip6_nd_test.c b/src/vnet/ip6-nd/ip6_nd_test.c index 5ca37029a76..99f869a5a1d 100644 --- a/src/vnet/ip6-nd/ip6_nd_test.c +++ b/src/vnet/ip6-nd/ip6_nd_test.c @@ -318,6 +318,12 @@ api_sw_interface_ip6nd_ra_config (vat_main_t * vam) W (ret); return ret; } +static int +api_ip6nd_proxy_enable_disable (vat_main_t *vam) +{ + // not yet implemented + return -1; +} #include <ip6-nd/ip6_nd.api_test.c> |