aboutsummaryrefslogtreecommitdiffstats
path: root/examples/bin_api/memif.api.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bin_api/memif.api.json')
-rw-r--r--examples/bin_api/memif.api.json273
1 files changed, 217 insertions, 56 deletions
diff --git a/examples/bin_api/memif.api.json b/examples/bin_api/memif.api.json
index fd38316..dea1924 100644
--- a/examples/bin_api/memif.api.json
+++ b/examples/bin_api/memif.api.json
@@ -1,66 +1,227 @@
{
- "types" : [
-
+ "services": [
+ {
+ "memif_dump": {
+ "reply": "memif_details",
+ "stream": true
+ }
+ },
+ {
+ "memif_create": {
+ "reply": "memif_create_reply"
+ }
+ },
+ {
+ "memif_delete": {
+ "reply": "memif_delete_reply"
+ }
+ }
],
- "messages" : [
- ["memif_create",
- ["u16", "_vl_msg_id"],
- ["u32", "client_index"],
- ["u32", "context"],
- ["u8", "role"],
- ["u8", "mode"],
- ["u8", "rx_queues"],
- ["u8", "tx_queues"],
- ["u32", "id"],
- ["u8", "socket_filename", 128],
- ["u8", "secret", 24],
- ["u32", "ring_size"],
- ["u16", "buffer_size"],
- ["u8", "hw_addr", 6],
- {"crc" : "0xc809c235"}
+ "vl_api_version": "0x824c4ae0",
+ "enums": [],
+ "messages": [
+ [
+ "memif_create",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "client_index"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "u8",
+ "role"
+ ],
+ [
+ "u8",
+ "mode"
+ ],
+ [
+ "u8",
+ "rx_queues"
+ ],
+ [
+ "u8",
+ "tx_queues"
+ ],
+ [
+ "u32",
+ "id"
+ ],
+ [
+ "u8",
+ "socket_filename",
+ 128
+ ],
+ [
+ "u8",
+ "secret",
+ 24
+ ],
+ [
+ "u32",
+ "ring_size"
+ ],
+ [
+ "u16",
+ "buffer_size"
+ ],
+ [
+ "u8",
+ "hw_addr",
+ 6
+ ],
+ {
+ "crc": "0x3551c914"
+ }
],
- ["memif_create_reply",
- ["u16", "_vl_msg_id"],
- ["u32", "context"],
- ["i32", "retval"],
- ["u32", "sw_if_index"],
- {"crc" : "0x93d7498b"}
+ [
+ "memif_create_reply",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "i32",
+ "retval"
+ ],
+ [
+ "u32",
+ "sw_if_index"
+ ],
+ {
+ "crc": "0xfda5941f"
+ }
],
- ["memif_delete",
- ["u16", "_vl_msg_id"],
- ["u32", "client_index"],
- ["u32", "context"],
- ["u32", "sw_if_index"],
- {"crc" : "0x12814e3d"}
+ [
+ "memif_delete",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "client_index"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "u32",
+ "sw_if_index"
+ ],
+ {
+ "crc": "0x529cb13f"
+ }
],
- ["memif_delete_reply",
- ["u16", "_vl_msg_id"],
- ["u32", "context"],
- ["i32", "retval"],
- {"crc" : "0x72c9fa3c"}
+ [
+ "memif_delete_reply",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "i32",
+ "retval"
+ ],
+ {
+ "crc": "0xe8d4e804"
+ }
],
- ["memif_details",
- ["u16", "_vl_msg_id"],
- ["u32", "context"],
- ["u32", "sw_if_index"],
- ["u8", "if_name", 64],
- ["u8", "hw_addr", 6],
- ["u32", "id"],
- ["u8", "role"],
- ["u8", "mode"],
- ["u8", "socket_filename", 128],
- ["u32", "ring_size"],
- ["u16", "buffer_size"],
- ["u8", "admin_up_down"],
- ["u8", "link_up_down"],
- {"crc" : "0x4d74fd96"}
+ [
+ "memif_details",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "u32",
+ "sw_if_index"
+ ],
+ [
+ "u8",
+ "if_name",
+ 64
+ ],
+ [
+ "u8",
+ "hw_addr",
+ 6
+ ],
+ [
+ "u32",
+ "id"
+ ],
+ [
+ "u8",
+ "role"
+ ],
+ [
+ "u8",
+ "mode"
+ ],
+ [
+ "u8",
+ "socket_filename",
+ 128
+ ],
+ [
+ "u32",
+ "ring_size"
+ ],
+ [
+ "u16",
+ "buffer_size"
+ ],
+ [
+ "u8",
+ "admin_up_down"
+ ],
+ [
+ "u8",
+ "link_up_down"
+ ],
+ {
+ "crc": "0x0e1da928"
+ }
],
- ["memif_dump",
- ["u16", "_vl_msg_id"],
- ["u32", "client_index"],
- ["u32", "context"],
- {"crc" : "0x68d39e95"}
+ [
+ "memif_dump",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "client_index"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ {
+ "crc": "0x51077d14"
+ }
]
],
-"vl_api_version" :"0xed3def5d"
+ "types": []
}