X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Facl%2Facl.api;h=047fc683b87aab55aa9070203e68af3bbdd3650a;hb=c43b3f986476ffb4506b7115898e809a6e34f601;hp=e3166d691a89ad53900e9685fbee648bfe0c3040;hpb=be2251b0c5b10a3a556e75c9bfbea96df4799297;p=vpp.git diff --git a/src/plugins/acl/acl.api b/src/plugins/acl/acl.api index e3166d691a8..047fc683b87 100644 --- a/src/plugins/acl/acl.api +++ b/src/plugins/acl/acl.api @@ -476,3 +476,23 @@ define macip_acl_interface_list_details u8 count; u32 acls[count]; }; + +/** \brief Set the ethertype whitelists on an interface. Takes effect when applying ACLs on the interface, so must be given prior. + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param sw_if_index - the interface to alter the list of ACLs on + @param count - total number of whitelisted ethertypes in the vector + @param n_input - this many first elements correspond to input whitelisted ethertypes, the rest - output + @param whitelist - vector of whitelisted ethertypes +*/ + +autoreply manual_print define acl_interface_set_etype_whitelist +{ + u32 client_index; + u32 context; + u32 sw_if_index; + u8 count; /* Total number of ethertypes in the whitelist */ + u8 n_input; /* first n_input ethertypes are input, the rest - output */ + u16 whitelist[count]; +}; +