DPDK
23.03.0
|
#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 | ip_reassembly_en: 1 |
uint32_t | reserved_opts: 17 |
IPsec Security Association option flags
Definition at line 137 of file rte_security.h.
uint32_t esn |
Extended Sequence Numbers (ESN)
Definition at line 143 of file rte_security.h.
uint32_t udp_encap |
UDP encapsulation
Definition at line 151 of file rte_security.h.
uint32_t copy_dscp |
Copy DSCP bits
Definition at line 160 of file rte_security.h.
uint32_t copy_flabel |
Copy IPv6 Flow Label
Definition at line 168 of file rte_security.h.
uint32_t copy_df |
Copy IPv4 Don't Fragment bit
Definition at line 176 of file rte_security.h.
uint32_t dec_ttl |
Decrement inner packet Time To Live (TTL) field
Definition at line 185 of file rte_security.h.
uint32_t ecn |
Explicit Congestion Notification (ECN)
Definition at line 194 of file rte_security.h.
uint32_t stats |
Security statistics
Definition at line 202 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 216 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 225 of file rte_security.h.
uint32_t udp_ports_verify |
Verify UDP encapsulation ports in inbound
Definition at line 232 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 247 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 263 of file rte_security.h.
uint32_t ip_reassembly_en |
Enable IP reassembly on inline inbound packets.
Definition at line 276 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 285 of file rte_security.h.