X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fgbp%2Fgbp.api;h=ae45159d705a5e4aee81cf97ac6af7f2e4331451;hb=fa0ac2c56;hp=342c98bb6b377c50b90cc21743fe65b6c3f32450;hpb=4ba67723d716660c56326ce498b99a060a9471b1;p=vpp.git diff --git a/src/plugins/gbp/gbp.api b/src/plugins/gbp/gbp.api index 342c98bb6b3..ae45159d705 100644 --- a/src/plugins/gbp/gbp.api +++ b/src/plugins/gbp/gbp.api @@ -100,8 +100,6 @@ enum gbp_endpoint_flags GBP_API_ENDPOINT_FLAG_BOUNCE = 0x1, GBP_API_ENDPOINT_FLAG_REMOTE = 0x2, GBP_API_ENDPOINT_FLAG_LEARNT = 0x4, - /* hey Ole WTF */ - GBP_API_ENDPOINT_FLAG_REMOTE_LEARNT = 0x6, GBP_API_ENDPOINT_FLAG_EXTERNAL = 0x8, }; @@ -301,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