DPDK  23.07.0
Data Fields
rte_security_macsec_sa Struct Reference

#include <rte_security.h>

Data Fields

enum rte_security_macsec_direction dir
 
struct {
   const uint8_t *   data
 
   uint16_t   length
 
key
 
uint8_t salt [RTE_SECURITY_MACSEC_SALT_LEN]
 
uint8_t an: 2
 
uint32_t ssci
 
uint32_t xpn
 
uint32_t next_pn
 

Detailed Description

MACsec secure association (SA) configuration structure.

Definition at line 375 of file rte_security.h.

Field Documentation

◆ dir

Direction of SA

Definition at line 377 of file rte_security.h.

◆ data

const uint8_t* data

pointer to key data

Definition at line 380 of file rte_security.h.

◆ length

uint16_t length

key length in bytes

Definition at line 381 of file rte_security.h.

◆ key

struct { ... } key

MACsec SA key for AES-GCM 128/256

◆ salt

96-bit value distributed by key agreement protocol

Definition at line 384 of file rte_security.h.

◆ an

uint8_t an

Association number to be used

Definition at line 386 of file rte_security.h.

◆ ssci

uint32_t ssci

Short Secure Channel Identifier, to be used for XPN cases

Definition at line 388 of file rte_security.h.

◆ xpn

uint32_t xpn

Extended packet number

Definition at line 390 of file rte_security.h.

◆ next_pn

uint32_t next_pn

Packet number expected/ to be used for next packet of this SA

Definition at line 392 of file rte_security.h.


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