diff options
Diffstat (limited to 'examples/bin_api/memif.api.json')
-rw-r--r-- | examples/bin_api/memif.api.json | 144 |
1 files changed, 117 insertions, 27 deletions
diff --git a/examples/bin_api/memif.api.json b/examples/bin_api/memif.api.json index dea1924..b0ff645 100644 --- a/examples/bin_api/memif.api.json +++ b/examples/bin_api/memif.api.json @@ -1,25 +1,54 @@ { - "services": [ - { - "memif_dump": { - "reply": "memif_details", - "stream": true - } - }, - { - "memif_create": { - "reply": "memif_create_reply" + "messages": [ + [ + "memif_socket_filename_add_del", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u8", + "is_add" + ], + [ + "u32", + "socket_id" + ], + [ + "u8", + "socket_filename", + 128 + ], + { + "crc": "0x30e3929d" } - }, - { - "memif_delete": { - "reply": "memif_delete_reply" + ], + [ + "memif_socket_filename_add_del_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" } - } - ], - "vl_api_version": "0x824c4ae0", - "enums": [], - "messages": [ + ], [ "memif_create", [ @@ -55,9 +84,8 @@ "id" ], [ - "u8", - "socket_filename", - 128 + "u32", + "socket_id" ], [ "u8", @@ -78,7 +106,7 @@ 6 ], { - "crc": "0x3551c914" + "crc": "0x6597cdb2" } ], [ @@ -144,6 +172,47 @@ } ], [ + "memif_socket_filename_details", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "u32", + "socket_id" + ], + [ + "u8", + "socket_filename", + 128 + ], + { + "crc": "0xe347e32f" + } + ], + [ + "memif_socket_filename_dump", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + { + "crc": "0x51077d14" + } + ], + [ "memif_details", [ "u16", @@ -180,9 +249,8 @@ "mode" ], [ - "u8", - "socket_filename", - 128 + "u32", + "socket_id" ], [ "u32", @@ -201,7 +269,7 @@ "link_up_down" ], { - "crc": "0x0e1da928" + "crc": "0x4f5a3397" } ], [ @@ -223,5 +291,27 @@ } ] ], + "vl_api_version": "0x31b42e17", + "unions": [], + "services": { + "memif_delete": { + "reply": "memif_delete_reply" + }, + "memif_socket_filename_add_del": { + "reply": "memif_socket_filename_add_del_reply" + }, + "memif_create": { + "reply": "memif_create_reply" + }, + "memif_socket_filename_dump": { + "reply": "memif_socket_filename_details", + "stream": true + }, + "memif_dump": { + "reply": "memif_details", + "stream": true + } + }, + "enums": [], "types": [] } |