---
name: "rte_flow_item_vlan"
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_flow_item_vlan"
---

# rte\_flow\_item\_vlan(3)

## NAME

rte\_flow\_item\_vlan

## SYNOPSIS

`#include <rte_flow.h>`

### Data Fields

uint32\_t **has\_more\_vlan**:1\
 uint32\_t **reserved**:31\

## Detailed Description

RTE\_FLOW\_ITEM\_TYPE\_VLAN

Matches an 802.1Q/ad VLAN tag.

The corresponding standard outer EtherType (TPID) values are RTE\_ETHER\_TYPE\_VLAN or RTE\_ETHER\_TYPE\_QINQ. It can be overridden by the preceding pattern item. If a `VLAN` item is present in the pattern, then only tagged packets will match the pattern. The field `has_more_vlan` can be used to match any type of tagged packets, instead of using the `eth_proto` field of `hdr`. If the `eth_proto` of `hdr` and `has_more_vlan` fields are not specified, then any tagged packets will match the pattern.

Definition at line **927** of file **rte\_flow.h**.

## Field Documentation

### rte\_be16\_t tci

Tag control information.

Definition at line **934** of file **rte\_flow.h**.

### rte\_be16\_t inner\_type

Inner EtherType or TPID.

Definition at line **935** of file **rte\_flow.h**.

### uint32\_t has\_more\_vlan

Packet header contains at least one more VLAN, after this VLAN.

Definition at line **940** of file **rte\_flow.h**.

### uint32\_t reserved

Reserved, must be zero.

Definition at line **941** of file **rte\_flow.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
