aboutsummaryrefslogtreecommitdiffstats
path: root/examples/bin_api/memif.api.json
diff options
context:
space:
mode:
authorRastislav Szabo <raszabo@cisco.com>2017-05-04 11:09:03 +0200
committerRastislav Szabo <raszabo@cisco.com>2017-05-04 11:12:35 +0200
commita101d966133a70b8a76526be25070436d14fcf9f (patch)
tree75e2dbf20de615e58252b780b2ba5baae8fdcf82 /examples/bin_api/memif.api.json
parenta968ead74525125dff9ae90b1c9a9102e4327900 (diff)
initial commit
Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
Diffstat (limited to 'examples/bin_api/memif.api.json')
-rw-r--r--examples/bin_api/memif.api.json61
1 files changed, 61 insertions, 0 deletions
diff --git a/examples/bin_api/memif.api.json b/examples/bin_api/memif.api.json
new file mode 100644
index 0000000..e41c82d
--- /dev/null
+++ b/examples/bin_api/memif.api.json
@@ -0,0 +1,61 @@
+{
+ "types" : [
+
+ ],
+ "messages" : [
+ ["memif_create",
+ ["u16", "_vl_msg_id"],
+ ["u32", "client_index"],
+ ["u32", "context"],
+ ["u8", "role"],
+ ["u64", "key"],
+ ["u8", "socket_filename", 128],
+ ["u32", "ring_size"],
+ ["u16", "buffer_size"],
+ ["u8", "hw_addr", 6],
+ {"crc" : "0x23fe3309"}
+ ],
+ ["memif_create_reply",
+ ["u16", "_vl_msg_id"],
+ ["u32", "context"],
+ ["i32", "retval"],
+ ["u32", "sw_if_index"],
+ {"crc" : "0x93d7498b"}
+ ],
+ ["memif_delete",
+ ["u16", "_vl_msg_id"],
+ ["u32", "client_index"],
+ ["u32", "context"],
+ ["u32", "sw_if_index"],
+ {"crc" : "0x12814e3d"}
+ ],
+ ["memif_delete_reply",
+ ["u16", "_vl_msg_id"],
+ ["u32", "context"],
+ ["i32", "retval"],
+ {"crc" : "0x72c9fa3c"}
+ ],
+ ["memif_details",
+ ["u16", "_vl_msg_id"],
+ ["u32", "context"],
+ ["u32", "sw_if_index"],
+ ["u8", "if_name", 64],
+ ["u8", "hw_addr", 6],
+ ["u64", "key"],
+ ["u8", "role"],
+ ["u8", "socket_filename", 128],
+ ["u32", "ring_size"],
+ ["u16", "buffer_size"],
+ ["u8", "admin_up_down"],
+ ["u8", "link_up_down"],
+ {"crc" : "0xcf105583"}
+ ],
+ ["memif_dump",
+ ["u16", "_vl_msg_id"],
+ ["u32", "client_index"],
+ ["u32", "context"],
+ {"crc" : "0x68d39e95"}
+ ]
+ ],
+"vl_api_version" :"0xadb63e82"
+}