diff options
author | 2020-07-22 04:40:55 +0200 | |
---|---|---|
committer | 2020-07-22 04:40:55 +0200 | |
commit | 58da9ac6e691a8c660eb8ca838a154e11da0db68 (patch) | |
tree | a1bbda04c6d0621ce0fc20779276620f1820190b /internal/testbinapi/binapi2001/.vppapi/core/pg.api.json | |
parent | a155cd438c6558da266c1c5931361ea088b35653 (diff) |
Fix binapigen decoding and minor improvements
- fixed allocating byte slices before copying decoded data
- simplified encoding functions
- several minor improvements
Change-Id: I6669424b89eb86333805cb1b57e4551169980cc2
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'internal/testbinapi/binapi2001/.vppapi/core/pg.api.json')
-rw-r--r-- | internal/testbinapi/binapi2001/.vppapi/core/pg.api.json | 183 |
1 files changed, 183 insertions, 0 deletions
diff --git a/internal/testbinapi/binapi2001/.vppapi/core/pg.api.json b/internal/testbinapi/binapi2001/.vppapi/core/pg.api.json new file mode 100644 index 0000000..6b41f7d --- /dev/null +++ b/internal/testbinapi/binapi2001/.vppapi/core/pg.api.json @@ -0,0 +1,183 @@ +{ + "types": [], + "messages": [ + [ + "pg_create_interface", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u32", + "interface_id" + ], + [ + "u8", + "gso_enabled" + ], + [ + "u32", + "gso_size" + ], + { + "crc": "0xb1ecff05" + } + ], + [ + "pg_create_interface_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + [ + "u32", + "sw_if_index" + ], + { + "crc": "0xfda5941f" + } + ], + [ + "pg_capture", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u32", + "interface_id" + ], + [ + "u8", + "is_enabled" + ], + [ + "u32", + "count" + ], + [ + "u32", + "pcap_name_length" + ], + [ + "u8", + "pcap_file_name", + 0, + "pcap_name_length" + ], + { + "crc": "0x453da78d" + } + ], + [ + "pg_capture_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "pg_enable_disable", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u8", + "is_enabled" + ], + [ + "u32", + "stream_name_length" + ], + [ + "u8", + "stream_name", + 0, + "stream_name_length" + ], + { + "crc": "0x0cb71d10" + } + ], + [ + "pg_enable_disable_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ] + ], + "unions": [], + "enums": [], + "services": { + "pg_create_interface": { + "reply": "pg_create_interface_reply" + }, + "pg_capture": { + "reply": "pg_capture_reply" + }, + "pg_enable_disable": { + "reply": "pg_enable_disable_reply" + } + }, + "options": { + "version": "1.1.0" + }, + "aliases": {}, + "vl_api_version": "0x2583e07b" +} |