X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Flisp-cp%2Fone.api;h=bc3f1b162219b430d385bce2c40c432ad89c1d0e;hb=39d0285fca412ea2921fe1ae98a231894cd193cf;hp=32ac70220c511068fc157b2c71a0f5f88222bc52;hpb=9d42087149a6870965896be74dc6260f72d2cac9;p=vpp.git diff --git a/src/vnet/lisp-cp/one.api b/src/vnet/lisp-cp/one.api index 32ac70220c5..bc3f1b16221 100644 --- a/src/vnet/lisp-cp/one.api +++ b/src/vnet/lisp-cp/one.api @@ -15,7 +15,7 @@ option version = "1.0.0"; -typeonly manual_print manual_endian define one_local_locator +typedef one_local_locator { u32 sw_if_index; u8 priority; @@ -324,7 +324,7 @@ define show_one_map_register_state_reply @param context - sender context, to match reply w/ request @param mode - new map-request mode. Supported values are: 0 - destination only - 1 - source/destaination + 1 - source/destination */ autoreply define one_map_request_mode { @@ -355,7 +355,7 @@ define show_one_map_request_mode_reply u8 mode; }; -typeonly manual_endian manual_print define one_remote_locator +typedef one_remote_locator { u8 is_ip4; u8 priority; @@ -434,7 +434,7 @@ define one_l2_arp_entries_get u32 bd; }; -typeonly manual_print manual_endian define one_l2_arp_entry +typedef one_l2_arp_entry { u8 mac[6]; u32 ip4; @@ -471,7 +471,7 @@ define one_ndp_entries_get u32 bd; }; -typeonly manual_print manual_endian define one_ndp_entry +typedef one_ndp_entry { u8 mac[6]; u8 ip6[16]; @@ -488,7 +488,7 @@ manual_print manual_endian define one_ndp_entries_get_reply /** \brief Set ONE transport protocol @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request - @param protocol - supported vaules: + @param protocol - supported values: 1: UDP based LISP (default) 2: binary API */ @@ -768,7 +768,7 @@ define one_eid_table_dump @param reid_prefix_len - remote EID IP prefix length @param leid_prefix_len - local EID IP prefix length */ -typeonly manual_print manual_endian define one_adjacency +typedef one_adjacency { u8 eid_type; u8 reid[16]; @@ -803,7 +803,7 @@ define one_adjacencies_get /** \brief Shows relationship between vni and vrf/bd @param dp_table - VRF index or bridge domain index - @param vni - vitual network instance + @param vni - virtual network instance */ define one_eid_table_map_details { @@ -835,13 +835,11 @@ define one_eid_table_vni_dump }; /** \brief reply to one_eid_table_vni_dump - @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param vni - virtual network instance */ define one_eid_table_vni_details { - u32 client_index; u32 context; u32 vni; };