---
name: "rte_table_action_encap_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_params"
---

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

## NAME

rte\_table\_action\_encap\_params

## SYNOPSIS

`#include <rte_table_action.h>`

### Data Fields

enum **rte\_table\_action\_encap\_type** **type**\

## Detailed Description

Encap action parameters (per table rule).

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

## Field Documentation

### enum rte\_table\_action\_encap\_type type

Encapsulation type.

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

### struct rte\_table\_action\_encap\_ether\_params ether

Only valid when *type* is set to Ether.

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

### struct rte\_table\_action\_encap\_vlan\_params vlan

Only valid when *type* is set to VLAN.

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

### struct rte\_table\_action\_encap\_qinq\_params qinq

Only valid when *type* is set to QinQ.

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

### struct rte\_table\_action\_encap\_mpls\_params mpls

Only valid when *type* is set to MPLS.

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

### struct rte\_table\_action\_encap\_pppoe\_params pppoe

Only valid when *type* is set to PPPoE.

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

### struct rte\_table\_action\_encap\_vxlan\_params vxlan

Only valid when *type* is set to VXLAN.

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

### struct rte\_table\_encap\_ether\_qinq\_pppoe qinq\_pppoe

Only valid when *type* is set to QinQ\_PPPoE.

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
