DPDK  20.08.0
Data Fields
rte_security_pdcp_xform Struct Reference

#include <rte_security.h>

Data Fields

int8_t bearer
 
uint8_t en_ordering
 
uint8_t remove_duplicates
 
enum rte_security_pdcp_domain domain
 
enum rte_security_pdcp_direction pkt_dir
 
enum rte_security_pdcp_sn_size sn_size
 
uint32_t hfn
 
uint32_t hfn_threshold
 
uint32_t hfn_ovrd
 

Detailed Description

PDCP security association configuration data.

This structure contains data required to create a PDCP security session.

Definition at line 262 of file rte_security.h.

Field Documentation

int8_t bearer

PDCP bearer ID

Definition at line 263 of file rte_security.h.

uint8_t en_ordering

Enable in order delivery, this field shall be set only if driver/HW is capable. See RTE_SECURITY_PDCP_ORDERING_CAP.

Definition at line 267 of file rte_security.h.

uint8_t remove_duplicates

Notify driver/HW to detect and remove duplicate packets. This field should be set only when driver/hw is capable. See RTE_SECURITY_PDCP_DUP_DETECT_CAP.

Definition at line 272 of file rte_security.h.

PDCP mode of operation: Control or data

Definition at line 274 of file rte_security.h.

PDCP Frame Direction 0:UL 1:DL

Definition at line 276 of file rte_security.h.

Sequence number size, 5/7/12/15/18

Definition at line 278 of file rte_security.h.

uint32_t hfn

Starting Hyper Frame Number to be used together with the SN from the PDCP frames

Definition at line 282 of file rte_security.h.

uint32_t hfn_threshold

HFN Threshold for key renegotiation

Definition at line 284 of file rte_security.h.

uint32_t hfn_ovrd

HFN can be given as a per packet value also. As we do not have IV in case of PDCP, and HFN is used to generate IV. IV field can be used to get the per packet HFN while enq/deq. If hfn_ovrd field is set, user is expected to set the per packet HFN in place of IV. PMDs will extract the HFN and perform operations accordingly.

Definition at line 293 of file rte_security.h.


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