FD.io VPP  v16.09
Vector Packet Processing
vl_api_ipsec_spd_add_del_entry_t Struct Reference

IPsec: Add/delete Security Policy Database entry. More...

Data Fields

u32 client_index
u32 context
u8 is_add
u32 spd_id
i32 priority
u8 is_outbound
u8 is_ipv6
u8 is_ip_any
u8 remote_address_start [16]
u8 remote_address_stop [16]
u8 local_address_start [16]
u8 local_address_stop [16]
u8 protocol
u16 remote_port_start
u16 remote_port_stop
u16 local_port_start
u16 local_port_stop
u8 policy
u32 sa_id

Detailed Description

IPsec: Add/delete Security Policy Database entry.

See RFC 4301, on how to match packet to selectors

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
is_add- add SPD if non-zero, else delete
spd_id- SPD instance id (control plane allocated)
priority- priority of SPD entry (non-unique value). Used to order SPD matching - higher priorities match before lower
is_outbound- entry applies to outbound traffic if non-zero, otherwise applies to inbound traffic
is_ipv6- remote/local address are IPv6 if non-zero, else IPv4
remote_address_start- start of remote address range to match
remote_address_stop- end of remote address range to match
local_address_start- start of local address range to match
local_address_stop- end of local address range to match
protocol- protocol type to match [0 means any]
remote_port_start- start of remote port range to match ...
remote_port_stop- end of remote port range to match [0 to 65535 means ANY, 65535 to 0 means OPAQUE]
local_port_start- start of local port range to match ...
local_port_stop- end of remote port range to match [0 to 65535 means ANY, 65535 to 0 means OPAQUE]
policy- 0 = bypass (no IPsec processing), 1 = discard (discard packet with ICMP processing), 2 = resolve (send request to control plane for SA resolving, and discard without ICMP processing), 3 = protect (apply IPsec policy using following parameters)
sa_id- SAD instance id (control plane allocated)

Definition at line 3282 of file vpe.api.

Field Documentation

u32 vl_api_ipsec_spd_add_del_entry_t::client_index

Definition at line 3284 of file vpe.api.

u32 vl_api_ipsec_spd_add_del_entry_t::context

Definition at line 3285 of file vpe.api.

u8 vl_api_ipsec_spd_add_del_entry_t::is_add

Definition at line 3286 of file vpe.api.

u8 vl_api_ipsec_spd_add_del_entry_t::is_ip_any

Definition at line 3294 of file vpe.api.

u8 vl_api_ipsec_spd_add_del_entry_t::is_ipv6

Definition at line 3293 of file vpe.api.

u8 vl_api_ipsec_spd_add_del_entry_t::is_outbound

Definition at line 3290 of file vpe.api.

u8 vl_api_ipsec_spd_add_del_entry_t::local_address_start[16]

Definition at line 3297 of file vpe.api.

u8 vl_api_ipsec_spd_add_del_entry_t::local_address_stop[16]

Definition at line 3298 of file vpe.api.

u16 vl_api_ipsec_spd_add_del_entry_t::local_port_start

Definition at line 3304 of file vpe.api.

u16 vl_api_ipsec_spd_add_del_entry_t::local_port_stop

Definition at line 3305 of file vpe.api.

u8 vl_api_ipsec_spd_add_del_entry_t::policy

Definition at line 3308 of file vpe.api.

i32 vl_api_ipsec_spd_add_del_entry_t::priority

Definition at line 3289 of file vpe.api.

u8 vl_api_ipsec_spd_add_del_entry_t::protocol

Definition at line 3300 of file vpe.api.

u8 vl_api_ipsec_spd_add_del_entry_t::remote_address_start[16]

Definition at line 3295 of file vpe.api.

u8 vl_api_ipsec_spd_add_del_entry_t::remote_address_stop[16]

Definition at line 3296 of file vpe.api.

u16 vl_api_ipsec_spd_add_del_entry_t::remote_port_start

Definition at line 3302 of file vpe.api.

u16 vl_api_ipsec_spd_add_del_entry_t::remote_port_stop

Definition at line 3303 of file vpe.api.

u32 vl_api_ipsec_spd_add_del_entry_t::sa_id

Definition at line 3309 of file vpe.api.

u32 vl_api_ipsec_spd_add_del_entry_t::spd_id

Definition at line 3288 of file vpe.api.

The documentation for this struct was generated from the following file: