summaryrefslogtreecommitdiffstats
path: root/vpp-api-test/vat/api_format.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-03-31 17:44:25 +0200
committerDamjan Marion <damarion@cisco.com>2016-03-31 17:44:25 +0200
commitb02e49c4be32c5092f6948d40f84a9e2aeae66e6 (patch)
treeeb2b69850c1d3ec55372737bcbb52a35bfa1dcca /vpp-api-test/vat/api_format.c
parent459a11a07adcad81bc8da2634c9e67ef99a28e0e (diff)
Enable af_packet interfaces in the API test apps
Change-Id: Ic1247a712614df2762c95142122ff122076fd0ab Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vpp-api-test/vat/api_format.c')
-rw-r--r--vpp-api-test/vat/api_format.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/vpp-api-test/vat/api_format.c b/vpp-api-test/vat/api_format.c
index 180e76e1b11..959d33b801f 100644
--- a/vpp-api-test/vat/api_format.c
+++ b/vpp-api-test/vat/api_format.c
@@ -2619,6 +2619,12 @@ int api_sw_interface_dump (vat_main_t * vam)
strncpy ((char *) mp->name_filter, "vxlan", sizeof(mp->name_filter-1));
S;
+ /* and host (af_packet) interfaces */
+ M(SW_INTERFACE_DUMP, sw_interface_dump);
+ mp->name_filter_valid = 1;
+ strncpy ((char *) mp->name_filter, "host", sizeof(mp->name_filter-1));
+ S;
+
/* and l2tpv3 tunnel interfaces */
M(SW_INTERFACE_DUMP, sw_interface_dump);
mp->name_filter_valid = 1;