DPDK
22.07.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 136 of file rte_security.h.
uint32_t esn |
Extended Sequence Numbers (ESN)
Definition at line 142 of file rte_security.h.
uint32_t udp_encap |
UDP encapsulation
Definition at line 150 of file rte_security.h.
uint32_t copy_dscp |
Copy DSCP bits
Definition at line 159 of file rte_security.h.
uint32_t copy_flabel |
Copy IPv6 Flow Label
Definition at line 167 of file rte_security.h.
uint32_t copy_df |
Copy IPv4 Don't Fragment bit
Definition at line 175 of file rte_security.h.
uint32_t dec_ttl |
Decrement inner packet Time To Live (TTL) field
Definition at line 184 of file rte_security.h.
uint32_t ecn |
Explicit Congestion Notification (ECN)
Definition at line 193 of file rte_security.h.
uint32_t stats |
Security statistics
Definition at line 201 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 215 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 224 of file rte_security.h.
uint32_t udp_ports_verify |
Verify UDP encapsulation ports in inbound
Definition at line 231 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 246 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 262 of file rte_security.h.
uint32_t ip_reassembly_en |
Enable IP reassembly on inline inbound packets.
Definition at line 275 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 284 of file rte_security.h.