---
name: "rte_mpls_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_mpls_hdr"
---

# rte\_mpls\_hdr(3)

## NAME

rte\_mpls\_hdr

## SYNOPSIS

`#include <rte_mpls.h>`

### Data Fields

**rte\_be16\_t** **tag\_msb**\
 uint8\_t **tag\_lsb**:4\
 uint8\_t **tc**:3\
 uint8\_t **bs**:1\
 uint8\_t **ttl**\

## Detailed Description

MPLS header.

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

## Field Documentation

### rte\_be16\_t tag\_msb

Label(msb).

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

### uint8\_t tag\_lsb

Label(lsb).

Definition at line **24** of file **rte\_mpls.h**.

### uint8\_t tc

Traffic class.

Definition at line **25** of file **rte\_mpls.h**.

### uint8\_t bs

Bottom of stack.

Definition at line **26** of file **rte\_mpls.h**.

### uint8\_t ttl

Time to live.

Definition at line **32** of file **rte\_mpls.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
