DPDK  24.07.0
Data Fields
rte_security_macsec_sc Struct Reference

#include <rte_security.h>

Data Fields

enum rte_security_macsec_direction dir
 
uint64_t pn_threshold
 
uint16_t sa_id [RTE_SECURITY_MACSEC_NUM_AN]
 
uint8_t sa_in_use [RTE_SECURITY_MACSEC_NUM_AN]
 
uint8_t active: 1
 
uint8_t is_xpn: 1
 
uint8_t reserved: 6
 
uint16_t sa_id_rekey
 
uint64_t sci
 
uint8_t re_key_en: 1
 

Detailed Description

MACsec Secure Channel configuration parameters.

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

Definition at line 375 of file rte_security.h.

Field Documentation

◆ dir

Direction of SC

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

Definition at line 377 of file rte_security.h.

◆ pn_threshold

uint64_t pn_threshold

Packet number threshold

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

Definition at line 379 of file rte_security.h.

◆ sa_id

uint16_t sa_id

SAs for each association number

SA ID to be used for encryption

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

Definition at line 383 of file rte_security.h.

◆ sa_in_use

uint8_t sa_in_use[RTE_SECURITY_MACSEC_NUM_AN]

flag to denote which all SAs are in use for each association number

Definition at line 385 of file rte_security.h.

◆ active

uint8_t active

Channel is active

Definition at line 387 of file rte_security.h.

◆ is_xpn

uint8_t is_xpn

Extended packet number is enabled for SAs

Definition at line 389 of file rte_security.h.

◆ reserved

uint8_t reserved

Reserved bitfields for future

Definition at line 391 of file rte_security.h.

◆ sa_id_rekey

uint16_t sa_id_rekey

Rekeying SA ID to be used for encryption

Definition at line 395 of file rte_security.h.

◆ sci

uint64_t sci

SCI value to be used if send_sci is set

Definition at line 396 of file rte_security.h.

◆ re_key_en

uint8_t re_key_en

Enable Rekeying

Definition at line 398 of file rte_security.h.


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