X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fethernet%2Fp2p_ethernet.api;h=64e19a05f57a56aa34ef29bf968e1a6ecbe9291d;hb=ab57edb8d27ddf0fb30cd0f4ae5290c06f301599;hp=72a734237d51191af368af28e77f2d5b682a9a67;hpb=6899a30bd70f219cfd182dfb0e9ac96faf5d9892;p=vpp.git diff --git a/src/vnet/ethernet/p2p_ethernet.api b/src/vnet/ethernet/p2p_ethernet.api index 72a734237d5..64e19a05f57 100644 --- a/src/vnet/ethernet/p2p_ethernet.api +++ b/src/vnet/ethernet/p2p_ethernet.api @@ -13,27 +13,33 @@ * limitations under the License. */ +option version = "1.0.0"; + +import "vnet/interface_types.api"; +import "vnet/ethernet/ethernet_types.api"; + define p2p_ethernet_add { u32 client_index; u32 context; - u32 parent_if_index; - u8 remote_mac[6]; + vl_api_interface_index_t parent_if_index; + u32 subif_id; + vl_api_mac_address_t remote_mac; }; define p2p_ethernet_add_reply { u32 context; i32 retval; - u32 sw_if_index; + vl_api_interface_index_t sw_if_index; }; define p2p_ethernet_del { u32 client_index; u32 context; - u32 parent_if_index; - u8 remote_mac[6]; + vl_api_interface_index_t parent_if_index; + vl_api_mac_address_t remote_mac; }; define p2p_ethernet_del_reply @@ -46,4 +52,4 @@ define p2p_ethernet_del_reply * Local Variables: * eval: (c-set-style "gnu") * End: - */ \ No newline at end of file + */