DPDK 22.11.6
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 376 of file rte_security.h.

Field Documentation

◆ dir

Direction of SA

Definition at line 378 of file rte_security.h.

◆ data

const uint8_t* data

pointer to key data

Definition at line 381 of file rte_security.h.

◆ length

uint16_t length

key length in bytes

Definition at line 382 of file rte_security.h.

◆ 

struct { ... } key

MACsec SA key for AES-GCM 128/256

◆ salt

96-bit value distributed by key agreement protocol

Definition at line 385 of file rte_security.h.

◆ an

uint8_t an

Association number to be used

Definition at line 387 of file rte_security.h.

◆ ssci

uint32_t ssci

Short Secure Channel Identifier, to be used for XPN cases

Definition at line 389 of file rte_security.h.

◆ xpn

uint32_t xpn

Extended packet number

Definition at line 391 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 393 of file rte_security.h.


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