From a101d966133a70b8a76526be25070436d14fcf9f Mon Sep 17 00:00:00 2001 From: Rastislav Szabo Date: Thu, 4 May 2017 11:09:03 +0200 Subject: initial commit Signed-off-by: Rastislav Szabo --- binapi_generator/testdata/af_packet.api.json | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 binapi_generator/testdata/af_packet.api.json (limited to 'binapi_generator/testdata/af_packet.api.json') diff --git a/binapi_generator/testdata/af_packet.api.json b/binapi_generator/testdata/af_packet.api.json new file mode 100644 index 0000000..211fc3e --- /dev/null +++ b/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" +} -- cgit 1.2.3-korg