---
name: "rte_macsec.h"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_macsec.h"
---

# rte\_macsec.h(3)

## NAME

rte\_macsec.h

## SYNOPSIS

`#include <rte_byteorder.h>`\

### Data Structures

struct **rte\_macsec\_hdr**\
 struct **rte\_macsec\_sci\_hdr**\

### Macros

\#define **RTE\_MACSEC\_TCI\_VER\_MASK**   0x80\
 \#define **RTE\_MACSEC\_TCI\_ES**   0x40\
 \#define **RTE\_MACSEC\_TCI\_SC**   0x20\
 \#define **RTE\_MACSEC\_TCI\_SCB**   0x10\
 \#define **RTE\_MACSEC\_TCI\_E**   0x08\
 \#define **RTE\_MACSEC\_TCI\_C**   0x04\
 \#define **RTE\_MACSEC\_AN\_MASK**   0x03\
 \#define **RTE\_MACSEC\_SCI\_LEN**   8\

## Detailed Description

MACsec-related defines

Definition in file **rte\_macsec.h**.

## Macro Definition Documentation

### #define RTE\_MACSEC\_TCI\_VER\_MASK 0x80

Version mask for MACsec. Should be 0.

Definition at line **16** of file **rte\_macsec.h**.

### #define RTE\_MACSEC\_TCI\_ES 0x40

Mask for End station (ES) bit - SCI is not valid.

Definition at line **17** of file **rte\_macsec.h**.

### #define RTE\_MACSEC\_TCI\_SC 0x20

Mask for SCI present bit.

Definition at line **18** of file **rte\_macsec.h**.

### #define RTE\_MACSEC\_TCI\_SCB 0x10

Mask for EPON single copy broadcast bit.

Definition at line **19** of file **rte\_macsec.h**.

### #define RTE\_MACSEC\_TCI\_E 0x08

Mask for encrypted user data bit.

Definition at line **20** of file **rte\_macsec.h**.

### #define RTE\_MACSEC\_TCI\_C 0x04

Mask for changed user data bit (because of encryption).

Definition at line **21** of file **rte\_macsec.h**.

### #define RTE\_MACSEC\_AN\_MASK 0x03

Association number mask in tci\_an.

Definition at line **22** of file **rte\_macsec.h**.

### #define RTE\_MACSEC\_SCI\_LEN 8

SCI length in MACsec header if present.

Definition at line **45** of file **rte\_macsec.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
