DPDK 21.11.9
|
#include <rte_security.h>
Data Fields | |
uint32_t | esn: 1 |
uint32_t | udp_encap: 1 |
uint32_t | copy_dscp: 1 |
uint32_t | copy_flabel: 1 |
uint32_t | copy_df: 1 |
uint32_t | dec_ttl: 1 |
uint32_t | ecn: 1 |
uint32_t | stats: 1 |
uint32_t | iv_gen_disable: 1 |
uint32_t | tunnel_hdr_verify: 2 |
uint32_t | udp_ports_verify: 1 |
uint32_t | ip_csum_enable: 1 |
uint32_t | l4_csum_enable: 1 |
uint32_t | reserved_opts: 18 |
IPsec Security Association option flags
Definition at line 139 of file rte_security.h.
uint32_t esn |
Extended Sequence Numbers (ESN)
Definition at line 145 of file rte_security.h.
uint32_t udp_encap |
UDP encapsulation
Definition at line 153 of file rte_security.h.
uint32_t copy_dscp |
Copy DSCP bits
Definition at line 162 of file rte_security.h.
uint32_t copy_flabel |
Copy IPv6 Flow Label
Definition at line 170 of file rte_security.h.
uint32_t copy_df |
Copy IPv4 Don't Fragment bit
Definition at line 178 of file rte_security.h.
uint32_t dec_ttl |
Decrement inner packet Time To Live (TTL) field
Definition at line 187 of file rte_security.h.
uint32_t ecn |
Explicit Congestion Notification (ECN)
Definition at line 196 of file rte_security.h.
uint32_t stats |
Security statistics
Definition at line 204 of file rte_security.h.
uint32_t iv_gen_disable |
Disable IV generation in PMD
Note: For inline cases, IV generation would always need to be handled by the PMD.
Definition at line 218 of file rte_security.h.
uint32_t tunnel_hdr_verify |
Verify tunnel header in inbound
RTE_SECURITY_IPSEC_TUNNEL_VERIFY_DST_ADDR
: Verify destination IP address.RTE_SECURITY_IPSEC_TUNNEL_VERIFY_SRC_DST_ADDR
: Verify both source and destination IP addresses. Definition at line 227 of file rte_security.h.
uint32_t udp_ports_verify |
Verify UDP encapsulation ports in inbound
Definition at line 234 of file rte_security.h.
uint32_t ip_csum_enable |
Compute/verify inner packet IPv4 header checksum in tunnel mode
The checksum verification status would be set in mbuf using RTE_MBUF_F_RX_IP_CKSUM_xxx flags.
Inner IP checksum computation can also be enabled(per operation) by setting the flag RTE_MBUF_F_TX_IP_CKSUM in mbuf.
Definition at line 249 of file rte_security.h.
uint32_t l4_csum_enable |
Compute/verify inner packet L4 checksum in tunnel mode
The checksum verification status would be set in mbuf using RTE_MBUF_F_RX_L4_CKSUM_xxx flags.
Inner L4 checksum computation can also be enabled(per operation) by setting the flags RTE_MBUF_F_TX_TCP_CKSUM or RTE_MBUF_F_TX_SCTP_CKSUM or RTE_MBUF_F_TX_UDP_CKSUM or RTE_MBUF_F_TX_L4_MASK in mbuf.
Definition at line 265 of file rte_security.h.
uint32_t reserved_opts |
Reserved bit fields for future extension
User should ensure reserved_opts is cleared as it may change in subsequent releases to support new options.
Note: Reduce number of bits in reserved_opts for every new option.
Definition at line 274 of file rte_security.h.