---
name: "rte_macsec_hdr"
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_hdr"
---

# rte\_macsec\_hdr(3)

## NAME

rte\_macsec\_hdr

## SYNOPSIS

`#include <rte_macsec.h>`

### Data Fields

uint8\_t **tci\_an**\
 uint8\_t **short\_length**:6\
 **rte\_be32\_t** **packet\_number**\

## Detailed Description

MACsec Header (SecTAG)

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

## Field Documentation

### uint8\_t tci\_an

Tag control information and Association number of secure channel. Various bits of TCI and AN are masked using RTE\_MACSEC\_TCI\_\* and RTE\_MACSEC\_AN\_MASK.

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

### uint8\_t short\_length

Short Length.

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

### rte\_be32\_t packet\_number

Packet number to support replay protection.

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
