DPDK  24.11.0-rc3
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.

Examples:
examples/l2fwd-macsec/main.c.

Definition at line 352 of file rte_security.h.

Field Documentation

◆ dir

Direction of SA

Examples:
examples/l2fwd-macsec/main.c.

Definition at line 354 of file rte_security.h.

◆ data

const uint8_t* data

pointer to key data

Examples:
examples/l2fwd-macsec/main.c.

Definition at line 357 of file rte_security.h.

◆ length

uint16_t length

key length in bytes

Examples:
examples/l2fwd-macsec/main.c.

Definition at line 358 of file rte_security.h.

◆ key

struct { ... } key

MACsec SA key for AES-GCM 128/256

Examples:
examples/l2fwd-macsec/main.c.

◆ salt

96-bit value distributed by key agreement protocol

Examples:
examples/l2fwd-macsec/main.c.

Definition at line 361 of file rte_security.h.

◆ an

uint8_t an

Association number to be used

Examples:
examples/l2fwd-macsec/main.c.

Definition at line 363 of file rte_security.h.

◆ ssci

uint32_t ssci

Short Secure Channel Identifier, to be used for XPN cases

Examples:
examples/l2fwd-macsec/main.c.

Definition at line 365 of file rte_security.h.

◆ xpn

uint32_t xpn

Extended packet number

Examples:
examples/l2fwd-macsec/main.c.

Definition at line 367 of file rte_security.h.

◆ next_pn

uint32_t next_pn

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

Examples:
examples/l2fwd-macsec/main.c.

Definition at line 369 of file rte_security.h.


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