{ "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" ] ], [ "key", [ "u8", "length" ], [ "u8", "data", 128 ] ], [ "ipsec_sad_entry", [ "u32", "sad_id" ], [ "u32", "spi" ], [ "vl_api_ipsec_proto_t", "protocol" ], [ "vl_api_ipsec_crypto_alg_t", "crypto_algorithm" ], [ "vl_api_key_t", "crypto_key" ], [ "vl_api_ipsec_integ_alg_t", "integrity_algorithm" ], [ "vl_api_key_t", "integrity_key" ], [ "vl_api_ipsec_sad_flags_t", "flags" ], [ "vl_api_address_t", "tunnel_src" ], [ "vl_api_address_t", "tunnel_dst" ], [ "u32", "tx_table_id" ], [ "u32", "salt" ] ], [ "ipsec_spd_entry", [ "u32", "spd_id" ], [ "i32", "priority" ], [ "u8", "is_outbound" ], [ "u32", "sa_id" ], [ "vl_api_ipsec_spd_action_t", "policy" ], [ "u8", "protocol" ], [ "vl_api_address_t", "remote_address_start" ], [ "vl_api_address_t", "remote_address_stop" ], [ "vl_api_address_t", "local_address_start" ], [ "vl_api_address_t", "local_address_stop" ], [ "u16", "remote_port_start" ], [ "u16", "remote_port_stop" ], [ "u16", "local_port_start" ], [ "u16", "local_port_stop" ] ], [ "ipsec_tunnel_protect", [ "vl_api_interface_index_t", "sw_if_index" ], [ "u32", "sa_out" ], [ "u8", "n_sa_in" ], [ "u32", "sa_in", 0, "n_sa_in" ] ] ], "messages": [ [ "ipsec_spd_add_del", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "is_add" ], [ "u32", "spd_id" ], { "crc": "0x9ffdf5da" } ], [ "ipsec_spd_add_del_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" } ], [ "ipsec_interface_add_del_spd", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "is_add" ], [ "u32", "sw_if_index" ], [ "u32", "spd_id" ], { "crc": "0x1e3b8286" } ], [ "ipsec_interface_add_del_spd_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" } ], [ "ipsec_spd_entry_add_del", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "is_add" ], [ "vl_api_ipsec_spd_entry_t", "entry" ], { "crc": "0xdb217840" } ], [ "ipsec_spd_entry_add_del_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u32", "stat_index" ], { "crc": "0x9ffac24b" } ], [ "ipsec_spds_dump", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], { "crc": "0x51077d14" } ], [ "ipsec_spds_details", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "u32", "spd_id" ], [ "u32", "npolicies" ], { "crc": "0xa04bb254" } ], [ "ipsec_spd_dump", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u32", "spd_id" ], [ "u32", "sa_id" ], { "crc": "0xafefbf7d" } ], [ "ipsec_spd_details", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "vl_api_ipsec_spd_entry_t", "entry" ], { "crc": "0x021e2c20" } ], [ "ipsec_sad_entry_add_del", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "is_add" ], [ "vl_api_ipsec_sad_entry_t", "entry" ], { "crc": "0xa25ab61e" } ], [ "ipsec_sad_entry_add_del_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u32", "stat_index" ], { "crc": "0x9ffac24b" } ], [ "ipsec_tunnel_protect_update", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "vl_api_ipsec_tunnel_protect_t", "tunnel" ], { "crc": "0xeccbc177" } ], [ "ipsec_tunnel_protect_update_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" } ], [ "ipsec_tunnel_protect_del", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "vl_api_interface_index_t", "sw_if_index" ], { "crc": "0xf9e6675e" } ], [ "ipsec_tunnel_protect_del_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" } ], [ "ipsec_tunnel_protect_dump", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "vl_api_interface_index_t", "sw_if_index" ], { "crc": "0xf9e6675e" } ], [ "ipsec_tunnel_protect_details", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "vl_api_ipsec_tunnel_protect_t", "tun" ], { "crc": "0x7520eefe" } ], [ "ipsec_spd_interface_dump", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u32", "spd_index" ], [ "u8", "spd_index_valid" ], { "crc": "0x8971de19" } ], [ "ipsec_spd_interface_details", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "u32", "spd_index" ], [ "u32", "sw_if_index" ], { "crc": "0x2c54296d" } ], [ "ipsec_tunnel_if_add_del", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "is_add" ], [ "u8", "esn" ], [ "u8", "anti_replay" ], [ "vl_api_address_t", "local_ip" ], [ "vl_api_address_t", "remote_ip" ], [ "u32", "local_spi" ], [ "u32", "remote_spi" ], [ "u8", "crypto_alg" ], [ "u8", "local_crypto_key_len" ], [ "u8", "local_crypto_key", 128 ], [ "u8", "remote_crypto_key_len" ], [ "u8", "remote_crypto_key", 128 ], [ "u8", "integ_alg" ], [ "u8", "local_integ_key_len" ], [ "u8", "local_integ_key", 128 ], [ "u8", "remote_integ_key_len" ], [ "u8", "remote_integ_key", 128 ], [ "u8", "renumber" ], [ "u32", "show_instance" ], [ "u8", "udp_encap" ], [ "u32", "tx_table_id" ], [ "u32", "salt" ], { "crc": "0xd5a98274" } ], [ "ipsec_tunnel_if_add_del_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u32", "sw_if_index" ], { "crc": "0xfda5941f" } ], [ "ipsec_sa_dump", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u32", "sa_id" ], { "crc": "0x2076c2f4" } ], [ "ipsec_sa_details", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "vl_api_ipsec_sad_entry_t", "entry" ], [ "u32", "sw_if_index" ], [ "u32", "salt" ], [ "u64", "seq_outbound" ], [ "u64", "last_seq_inbound" ], [ "u64", "replay_window" ], [ "u64", "total_data_size" ], { "crc": "0x9c8d829a" } ], [ "ipsec_tunnel_if_set_sa", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u32", "sw_if_index" ], [ "u32", "sa_id" ], [ "u8", "is_outbound" ], { "crc": "0x6ab567f2" } ], [ "ipsec_tunnel_if_set_sa_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" } ], [ "ipsec_backend_dump", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], { "crc": "0x51077d14" } ], [ "ipsec_backend_details", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "u8", "name", 128 ], [ "vl_api_ipsec_proto_t", "protocol" ], [ "u8", "index" ], [ "u8", "active" ], { "crc": "0x7700751c" } ], [ "ipsec_select_backend", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "vl_api_ipsec_proto_t", "protocol" ], [ "u8", "index" ], { "crc": "0x4fd24836" } ], [ "ipsec_select_backend_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" } ] ], "unions": [ [ "address_union", [ "vl_api_ip4_address_t", "ip4" ], [ "vl_api_ip6_address_t", "ip6" ] ] ], "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" } ], [ "ipsec_crypto_alg", [ "IPSEC_API_CRYPTO_ALG_NONE", 0 ], [ "IPSEC_API_CRYPTO_ALG_AES_CBC_128", 1 ], [ "IPSEC_API_CRYPTO_ALG_AES_CBC_192", 2 ], [ "IPSEC_API_CRYPTO_ALG_AES_CBC_256", 3 ], [ "IPSEC_API_CRYPTO_ALG_AES_CTR_128", 4 ], [ "IPSEC_API_CRYPTO_ALG_AES_CTR_192", 5 ], [ "IPSEC_API_CRYPTO_ALG_AES_CTR_256", 6 ], [ "IPSEC_API_CRYPTO_ALG_AES_GCM_128", 7 ], [ "IPSEC_API_CRYPTO_ALG_AES_GCM_192", 8 ], [ "IPSEC_API_CRYPTO_ALG_AES_GCM_256", 9 ], [ "IPSEC_API_CRYPTO_ALG_DES_CBC", 10 ], [ "IPSEC_API_CRYPTO_ALG_3DES_CBC", 11 ], { "enumtype": "u32" } ], [ "ipsec_integ_alg", [ "IPSEC_API_INTEG_ALG_NONE", 0 ], [ "IPSEC_API_INTEG_ALG_MD5_96", 1 ], [ "IPSEC_API_INTEG_ALG_SHA1_96", 2 ], [ "IPSEC_API_INTEG_ALG_SHA_256_96", 3 ], [ "IPSEC_API_INTEG_ALG_SHA_256_128", 4 ], [ "IPSEC_API_INTEG_ALG_SHA_384_192", 5 ], [ "IPSEC_API_INTEG_ALG_SHA_512_256", 6 ], { "enumtype": "u32" } ], [ "ipsec_sad_flags", [ "IPSEC_API_SAD_FLAG_NONE", 0 ], [ "IPSEC_API_SAD_FLAG_USE_ESN", 1 ], [ "IPSEC_API_SAD_FLAG_USE_ANTI_REPLAY", 2 ], [ "IPSEC_API_SAD_FLAG_IS_TUNNEL", 4 ], [ "IPSEC_API_SAD_FLAG_IS_TUNNEL_V6", 8 ], [ "IPSEC_API_SAD_FLAG_UDP_ENCAP", 16 ], { "enumtype": "u32" } ], [ "ipsec_proto", [ "IPSEC_API_PROTO_ESP", 1 ], [ "IPSEC_API_PROTO_AH", 2 ], { "enumtype": "u32" } ], [ "if_status_flags", [ "IF_STATUS_API_FLAG_ADMIN_UP", 1 ], [ "IF_STATUS_API_FLAG_LINK_UP", 2 ], { "enumtype": "u32" } ], [ "mtu_proto", [ "MTU_PROTO_API_L3", 1 ], [ "MTU_PROTO_API_IP4", 2 ], [ "MTU_PROTO_API_IP6", 3 ], [ "MTU_PROTO_API_MPLS", 4 ], [ "MTU_PROTO_API_N", 5 ], { "enumtype": "u32" } ], [ "link_duplex", [ "LINK_DUPLEX_API_UNKNOWN", 0 ], [ "LINK_DUPLEX_API_HALF", 1 ], [ "LINK_DUPLEX_API_FULL", 2 ], { "enumtype": "u32" } ], [ "sub_if_flags", [ "SUB_IF_API_FLAG_NO_TAGS", 1 ], [ "SUB_IF_API_FLAG_ONE_TAG", 2 ], [ "SUB_IF_API_FLAG_TWO_TAGS", 4 ], [ "SUB_IF_API_FLAG_DOT1AD", 8 ], [ "SUB_IF_API_FLAG_EXACT_MATCH", 16 ], [ "SUB_IF_API_FLAG_DEFAULT", 32 ], [ "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY", 64 ], [ "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY", 128 ], [ "SUB_IF_API_FLAG_MASK_VNET", 254 ], [ "SUB_IF_API_FLAG_DOT1AH", 256 ], { "enumtype": "u32" } ], [ "rx_mode", [ "RX_MODE_API_UNKNOWN", 0 ], [ "RX_MODE_API_POLLING", 1 ], [ "RX_MODE_API_INTERRUPT", 2 ], [ "RX_MODE_API_ADAPTIVE", 3 ], [ "RX_MODE_API_DEFAULT", 4 ], { "enumtype": "u32" } ], [ "if_type", [ "IF_API_TYPE_HARDWARE", 1 ], [ "IF_API_TYPE_SUB", 2 ], [ "IF_API_TYPE_P2P", 3 ], [ "IF_API_TYPE_PIPE", 4 ], { "enumtype": "u32" } ], [ "ipsec_spd_action", [ "IPSEC_API_SPD_ACTION_BYPASS", 0 ], [ "IPSEC_API_SPD_ACTION_DISCARD", 1 ], [ "IPSEC_API_SPD_ACTION_RESOLVE", 2 ], [ "IPSEC_API_SPD_ACTION_PROTECT", 3 ], { "enumtype": "u32" } ] ], "services": { "ipsec_spd_add_del": { "reply": "ipsec_spd_add_del_reply" }, "ipsec_interface_add_del_spd": { "reply": "ipsec_interface_add_del_spd_reply" }, "ipsec_spd_entry_add_del": { "reply": "ipsec_spd_entry_add_del_reply" }, "ipsec_spds_dump": { "reply": "ipsec_spds_details", "stream": true }, "ipsec_spd_dump": { "reply": "ipsec_spd_details", "stream": true }, "ipsec_sad_entry_add_del": { "reply": "ipsec_sad_entry_add_del_reply" }, "ipsec_tunnel_protect_update": { "reply": "ipsec_tunnel_protect_update_reply" }, "ipsec_tunnel_protect_del": { "reply": "ipsec_tunnel_protect_del_reply" }, "ipsec_tunnel_protect_dump": { "reply": "ipsec_tunnel_protect_details", "stream": true }, "ipsec_spd_interface_dump": { "reply": "ipsec_spd_interface_details", "stream": true }, "ipsec_tunnel_if_add_del": { "reply": "ipsec_tunnel_if_add_del_reply" }, "ipsec_sa_dump": { "reply": "ipsec_sa_details", "stream": true }, "ipsec_tunnel_if_set_sa": { "reply": "ipsec_tunnel_if_set_sa_reply" }, "ipsec_backend_dump": { "reply": "ipsec_backend_details", "stream": true }, "ipsec_select_backend": { "reply": "ipsec_select_backend_reply" } }, "options": { "version": "3.0.0" }, "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" }, "interface_index": { "type": "u32" } }, "vl_api_version": "0x5a59fef9" }