Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
GBP: contracts API fixed length of allowed ethertypes
[vpp.git]
/
src
/
plugins
/
gbp
/
gbp.api
diff --git
a/src/plugins/gbp/gbp.api
b/src/plugins/gbp/gbp.api
index
303ea1c
..
ae45159
100644
(file)
--- a/
src/plugins/gbp/gbp.api
+++ b/
src/plugins/gbp/gbp.api
@@
-299,10
+299,10
@@
typedef gbp_contract
u16 sclass;
u16 dclass;
u32 acl_index;
+ u8 n_ether_types;
+ u16 allowed_ethertypes[16];
u8 n_rules;
vl_api_gbp_rule_t rules[n_rules];
- u8 n_ether_types;
- u16 allowed_ethertypes[n_ether_types];
};
autoreply define gbp_contract_add_del