Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
VPP-39 - refactoring of NSH into own folder
[vpp.git]
/
vpp-api-test
/
vat
/
api_format.c
diff --git
a/vpp-api-test/vat/api_format.c
b/vpp-api-test/vat/api_format.c
index
4a57d4c
..
548959e
100644
(file)
--- a/
vpp-api-test/vat/api_format.c
+++ b/
vpp-api-test/vat/api_format.c
@@
-7894,13
+7894,13
@@
static uword unformat_nsh_gre_decap_next
u32 tmp;
if (unformat (input, "drop"))
u32 tmp;
if (unformat (input, "drop"))
- *result = NSH_INPUT_NEXT_DROP;
+ *result = NSH_
GRE_
INPUT_NEXT_DROP;
else if (unformat (input, "ip4"))
else if (unformat (input, "ip4"))
- *result = NSH_INPUT_NEXT_IP4_INPUT;
+ *result = NSH_
GRE_
INPUT_NEXT_IP4_INPUT;
else if (unformat (input, "ip6"))
else if (unformat (input, "ip6"))
- *result = NSH_INPUT_NEXT_IP6_INPUT;
+ *result = NSH_
GRE_
INPUT_NEXT_IP6_INPUT;
else if (unformat (input, "ethernet"))
else if (unformat (input, "ethernet"))
- *result = NSH_INPUT_NEXT_ETHERNET_INPUT;
+ *result = NSH_
GRE_
INPUT_NEXT_ETHERNET_INPUT;
else if (unformat (input, "%d", &tmp))
*result = tmp;
else
else if (unformat (input, "%d", &tmp))
*result = tmp;
else
@@
-7932,7
+7932,7
@@
static int api_nsh_gre_add_del_tunnel (vat_main_t * vam)
u32 c3 = 0;
u32 c4 = 0;
u32 *tlvs = 0;
u32 c3 = 0;
u32 c4 = 0;
u32 *tlvs = 0;
- u32 decap_next_index = NSH_INPUT_NEXT_IP4_INPUT;
+ u32 decap_next_index = NSH_
GRE_
INPUT_NEXT_IP4_INPUT;
u32 tmp;
int i;
u32 tmp;
int i;
@@
-8084,7
+8084,7
@@
static int api_nsh_vxlan_gpe_add_del_tunnel (vat_main_t * vam)
u32 c3 = 0;
u32 c4 = 0;
u32 *tlvs = 0;
u32 c3 = 0;
u32 c4 = 0;
u32 *tlvs = 0;
- u32 decap_next_index = NSH_INPUT_NEXT_IP4_INPUT;
+ u32 decap_next_index = NSH_
GRE_
INPUT_NEXT_IP4_INPUT;
u32 vni;
u8 vni_set = 0;
u32 tmp;
u32 vni;
u8 vni_set = 0;
u32 tmp;