---
name: "rte_table_action_encap_mpls_params"
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_table_action_encap_mpls_params"
---

# rte\_table\_action\_encap\_mpls\_params(3)

## NAME

rte\_table\_action\_encap\_mpls\_params

## SYNOPSIS

`#include <rte_table_action.h>`

### Data Fields

struct **rte\_table\_action\_ether\_hdr** **ether**\
 struct **rte\_table\_action\_mpls\_hdr** **mpls** \[**RTE\_TABLE\_ACTION\_MPLS\_LABELS\_MAX**\]\
 uint32\_t **mpls\_count**\
 int **unicast**\

## Detailed Description

MPLS encap parameters.

Definition at line **465** of file **rte\_table\_action.h**.

## Field Documentation

### struct rte\_table\_action\_ether\_hdr ether

Ethernet header.

Definition at line **467** of file **rte\_table\_action.h**.

### struct rte\_table\_action\_mpls\_hdr mpls\[RTE\_TABLE\_ACTION\_MPLS\_LABELS\_MAX\]

MPLS header.

Definition at line **470** of file **rte\_table\_action.h**.

### uint32\_t mpls\_count

Number of MPLS labels in MPLS header.

Definition at line **473** of file **rte\_table\_action.h**.

### int unicast

Non-zero for MPLS unicast, zero for MPLS multicast.

Definition at line **476** of file **rte\_table\_action.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
