diff options
Diffstat (limited to 'internal/testbinapi/binapi2001/.vppapi/core/punt.api.json')
-rw-r--r-- | internal/testbinapi/binapi2001/.vppapi/core/punt.api.json | 629 |
1 files changed, 629 insertions, 0 deletions
diff --git a/internal/testbinapi/binapi2001/.vppapi/core/punt.api.json b/internal/testbinapi/binapi2001/.vppapi/core/punt.api.json new file mode 100644 index 0000000..2ca291d --- /dev/null +++ b/internal/testbinapi/binapi2001/.vppapi/core/punt.api.json @@ -0,0 +1,629 @@ +{ + "types": [ + [ + "address", + [ + "vl_api_address_family_t", + "af" + ], + [ + "vl_api_address_union_t", + "un" + ] + ], + [ + "prefix", + [ + "vl_api_address_t", + "address" + ], + [ + "u8", + "len" + ] + ], + [ + "mprefix", + [ + "vl_api_address_family_t", + "af" + ], + [ + "u16", + "grp_address_length" + ], + [ + "vl_api_address_union_t", + "grp_address" + ], + [ + "vl_api_address_union_t", + "src_address" + ] + ], + [ + "ip6_prefix", + [ + "vl_api_ip6_address_t", + "address" + ], + [ + "u8", + "len" + ] + ], + [ + "ip4_prefix", + [ + "vl_api_ip4_address_t", + "address" + ], + [ + "u8", + "len" + ] + ], + [ + "prefix_matcher", + [ + "u8", + "le" + ], + [ + "u8", + "ge" + ] + ], + [ + "punt_l4", + [ + "vl_api_address_family_t", + "af" + ], + [ + "vl_api_ip_proto_t", + "protocol" + ], + [ + "u16", + "port" + ] + ], + [ + "punt_ip_proto", + [ + "vl_api_address_family_t", + "af" + ], + [ + "vl_api_ip_proto_t", + "protocol" + ] + ], + [ + "punt_exception", + [ + "u32", + "id" + ] + ], + [ + "punt", + [ + "vl_api_punt_type_t", + "type" + ], + [ + "vl_api_punt_union_t", + "punt" + ] + ], + [ + "punt_reason", + [ + "u32", + "id" + ], + [ + "string", + "name", + 0 + ] + ] + ], + "messages": [ + [ + "set_punt", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "bool", + "is_add" + ], + [ + "vl_api_punt_t", + "punt" + ], + { + "crc": "0x83799618" + } + ], + [ + "set_punt_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "punt_socket_register", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u32", + "header_version" + ], + [ + "vl_api_punt_t", + "punt" + ], + [ + "string", + "pathname", + 108 + ], + { + "crc": "0xc8cd10fa" + } + ], + [ + "punt_socket_register_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + [ + "string", + "pathname", + 108 + ], + { + "crc": "0xbd30ae90" + } + ], + [ + "punt_socket_dump", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_punt_type_t", + "type" + ], + { + "crc": "0x52974935" + } + ], + [ + "punt_socket_details", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "vl_api_punt_t", + "punt" + ], + [ + "string", + "pathname", + 108 + ], + { + "crc": "0x1de0ce75" + } + ], + [ + "punt_socket_deregister", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_punt_t", + "punt" + ], + { + "crc": "0x98a444f4" + } + ], + [ + "punt_socket_deregister_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "punt_reason_dump", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_punt_reason_t", + "reason" + ], + { + "crc": "0x5c0dd4fe" + } + ], + [ + "punt_reason_details", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "vl_api_punt_reason_t", + "reason" + ], + { + "crc": "0x2c9d4a40" + } + ] + ], + "unions": [ + [ + "address_union", + [ + "vl_api_ip4_address_t", + "ip4" + ], + [ + "vl_api_ip6_address_t", + "ip6" + ] + ], + [ + "punt_union", + [ + "vl_api_punt_exception_t", + "exception" + ], + [ + "vl_api_punt_l4_t", + "l4" + ], + [ + "vl_api_punt_ip_proto_t", + "ip_proto" + ] + ] + ], + "enums": [ + [ + "address_family", + [ + "ADDRESS_IP4", + 0 + ], + [ + "ADDRESS_IP6", + 1 + ], + { + "enumtype": "u32" + } + ], + [ + "ip_ecn", + [ + "IP_API_ECN_NONE", + 0 + ], + [ + "IP_API_ECN_ECT0", + 1 + ], + [ + "IP_API_ECN_ECT1", + 2 + ], + [ + "IP_API_ECN_CE", + 3 + ], + { + "enumtype": "u8" + } + ], + [ + "ip_dscp", + [ + "IP_API_DSCP_CS0", + 0 + ], + [ + "IP_API_DSCP_CS1", + 8 + ], + [ + "IP_API_DSCP_AF11", + 10 + ], + [ + "IP_API_DSCP_AF12", + 12 + ], + [ + "IP_API_DSCP_AF13", + 14 + ], + [ + "IP_API_DSCP_CS2", + 16 + ], + [ + "IP_API_DSCP_AF21", + 18 + ], + [ + "IP_API_DSCP_AF22", + 20 + ], + [ + "IP_API_DSCP_AF23", + 22 + ], + [ + "IP_API_DSCP_CS3", + 24 + ], + [ + "IP_API_DSCP_AF31", + 26 + ], + [ + "IP_API_DSCP_AF32", + 28 + ], + [ + "IP_API_DSCP_AF33", + 30 + ], + [ + "IP_API_DSCP_CS4", + 32 + ], + [ + "IP_API_DSCP_AF41", + 34 + ], + [ + "IP_API_DSCP_AF42", + 36 + ], + [ + "IP_API_DSCP_AF43", + 38 + ], + [ + "IP_API_DSCP_CS5", + 40 + ], + [ + "IP_API_DSCP_EF", + 46 + ], + [ + "IP_API_DSCP_CS6", + 48 + ], + [ + "IP_API_DSCP_CS7", + 50 + ], + { + "enumtype": "u8" + } + ], + [ + "ip_proto", + [ + "IP_API_PROTO_HOPOPT", + 0 + ], + [ + "IP_API_PROTO_ICMP", + 1 + ], + [ + "IP_API_PROTO_IGMP", + 2 + ], + [ + "IP_API_PROTO_TCP", + 6 + ], + [ + "IP_API_PROTO_UDP", + 17 + ], + [ + "IP_API_PROTO_GRE", + 47 + ], + [ + "IP_API_PROTO_AH", + 50 + ], + [ + "IP_API_PROTO_ESP", + 51 + ], + [ + "IP_API_PROTO_EIGRP", + 88 + ], + [ + "IP_API_PROTO_OSPF", + 89 + ], + [ + "IP_API_PROTO_SCTP", + 132 + ], + [ + "IP_API_PROTO_RESERVED", + 255 + ], + { + "enumtype": "u32" + } + ], + [ + "punt_type", + [ + "PUNT_API_TYPE_L4", + 1 + ], + [ + "PUNT_API_TYPE_IP_PROTO", + 2 + ], + [ + "PUNT_API_TYPE_EXCEPTION", + 3 + ], + { + "enumtype": "u32" + } + ] + ], + "services": { + "set_punt": { + "reply": "set_punt_reply" + }, + "punt_socket_register": { + "reply": "punt_socket_register_reply" + }, + "punt_socket_dump": { + "reply": "punt_socket_details", + "stream": true + }, + "punt_socket_deregister": { + "reply": "punt_socket_deregister_reply" + }, + "punt_reason_dump": { + "reply": "punt_reason_details", + "stream": true + } + }, + "options": { + "version": "2.2.1" + }, + "aliases": { + "ip4_address": { + "type": "u8", + "length": 4 + }, + "ip6_address": { + "type": "u8", + "length": 16 + }, + "address_with_prefix": { + "type": "vl_api_prefix_t" + }, + "ip4_address_with_prefix": { + "type": "vl_api_ip4_prefix_t" + }, + "ip6_address_with_prefix": { + "type": "vl_api_ip6_prefix_t" + } + }, + "vl_api_version": "0x51716f7f" +} |