summaryrefslogtreecommitdiffstats
path: root/examples/bin_api/af_packet.api.json
diff options
context:
space:
mode:
authorMilan Lenco <milan.lenco@pantheon.tech>2018-01-25 10:15:48 +0100
committerMilan Lenco <milan.lenco@pantheon.tech>2018-01-25 10:15:48 +0100
commit8ca20507d15703412c18b07d4f4ce6b4de989de6 (patch)
treeaef60a5ef4dd150b62958b757e706f8c3311c68c /examples/bin_api/af_packet.api.json
parent545eaea1c41c800794bb910a47de281e7e8df492 (diff)
Update examples, tests and testdata after binapi-generator update.
Change-Id: I738d501cbbb6673010a32847df3f1c87050b8d36 Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>
Diffstat (limited to 'examples/bin_api/af_packet.api.json')
-rw-r--r--examples/bin_api/af_packet.api.json184
1 files changed, 155 insertions, 29 deletions
diff --git a/examples/bin_api/af_packet.api.json b/examples/bin_api/af_packet.api.json
index b0c8e7d..81ee2f9 100644
--- a/examples/bin_api/af_packet.api.json
+++ b/examples/bin_api/af_packet.api.json
@@ -1,37 +1,163 @@
{
- "types" : [
-
+ "services": [
+ {
+ "af_packet_delete": {
+ "reply": "af_packet_delete_reply"
+ }
+ },
+ {
+ "af_packet_create": {
+ "reply": "af_packet_create_reply"
+ }
+ },
+ {
+ "af_packet_set_l4_cksum_offload": {
+ "reply": "af_packet_set_l4_cksum_offload_reply"
+ }
+ }
],
- "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"}
+ "vl_api_version": "0x8957ca8b",
+ "enums": [],
+ "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": "0x6d5d30d6"
+ }
],
- ["af_packet_create_reply",
- ["u16", "_vl_msg_id"],
- ["u32", "context"],
- ["i32", "retval"],
- ["u32", "sw_if_index"],
- {"crc" : "0x718bac92"}
+ [
+ "af_packet_create_reply",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "i32",
+ "retval"
+ ],
+ [
+ "u32",
+ "sw_if_index"
+ ],
+ {
+ "crc": "0xfda5941f"
+ }
],
- ["af_packet_delete",
- ["u16", "_vl_msg_id"],
- ["u32", "client_index"],
- ["u32", "context"],
- ["u8", "host_if_name", 64],
- {"crc" : "0xc063ce85"}
+ [
+ "af_packet_delete",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "client_index"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "u8",
+ "host_if_name",
+ 64
+ ],
+ {
+ "crc": "0x3efceda3"
+ }
],
- ["af_packet_delete_reply",
- ["u16", "_vl_msg_id"],
- ["u32", "context"],
- ["i32", "retval"],
- {"crc" : "0x1a80431a"}
+ [
+ "af_packet_delete_reply",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "i32",
+ "retval"
+ ],
+ {
+ "crc": "0xe8d4e804"
+ }
+ ],
+ [
+ "af_packet_set_l4_cksum_offload",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "client_index"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "u8",
+ "sw_if_index"
+ ],
+ [
+ "u8",
+ "set"
+ ],
+ {
+ "crc": "0x86538585"
+ }
+ ],
+ [
+ "af_packet_set_l4_cksum_offload_reply",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "i32",
+ "retval"
+ ],
+ {
+ "crc": "0xe8d4e804"
+ }
]
],
-"vl_api_version" :"0xd4ce9f85"
+ "types": []
}