diff options
author | Rastislav Szabo <raszabo@cisco.com> | 2017-05-22 13:59:34 +0200 |
---|---|---|
committer | Rastislav Szabo <raszabo@cisco.com> | 2017-05-22 14:00:46 +0200 |
commit | c38cb25d746736f062ee16e87f553c8a4ec5fced (patch) | |
tree | 231a1befaff3b83b020461e584e9de27a39d06a4 /cmd/binapi-generator/testdata/af_packet.api.json | |
parent | c60a4ee4e6114ff0dc3cbc9fd9a58321ca2a8abc (diff) |
binapi-generator renamed & moved, finished documentation
Change-Id: I7d3b53fa238e822b36a6a82c61ffb792da3898bf
Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
Diffstat (limited to 'cmd/binapi-generator/testdata/af_packet.api.json')
-rw-r--r-- | cmd/binapi-generator/testdata/af_packet.api.json | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/cmd/binapi-generator/testdata/af_packet.api.json b/cmd/binapi-generator/testdata/af_packet.api.json new file mode 100644 index 0000000..211fc3e --- /dev/null +++ b/cmd/binapi-generator/testdata/af_packet.api.json @@ -0,0 +1,37 @@ +{ + "types" : [ + + ], + "messages" : [ + ["af_packet_create", + ["u16", "_vl_msg_id"], + ["u32", "client_index"], + ["u32", "context"], + ["u8", "host_if_name", 64], + ["u8", "hw_addr", 6], + ["u8", "use_random_hw_addr"], + {"crc" : "0x92768640"} + ], + ["af_packet_create_reply", + ["u16", "_vl_msg_id"], + ["u32", "context"], + ["i32", "retval"], + ["u32", "sw_if_index"], + {"crc" : "0x718bac92"} + ], + ["af_packet_delete", + ["u16", "_vl_msg_id"], + ["u32", "client_index"], + ["u32", "context"], + ["u8", "host_if_name", 64], + {"crc" : "0xc063ce85"} + ], + ["af_packet_delete_reply", + ["u16", "_vl_msg_id"], + ["u32", "context"], + ["i32", "retval"], + {"crc" : "0x1a80431a"} + ] + ], +"vl_api_version" :"0x4ca71f33" +} |