---
name: "rte_l2tpv2_msg_with_all_options"
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_l2tpv2_msg_with_all_options"
---

# rte\_l2tpv2\_msg\_with\_all\_options(3)

## NAME

rte\_l2tpv2\_msg\_with\_all\_options

## SYNOPSIS

`#include <rte_l2tpv2.h>`

### Data Fields

**rte\_be16\_t** **length**\
 **rte\_be16\_t** **tunnel\_id**\
 **rte\_be16\_t** **session\_id**\
 **rte\_be16\_t** **ns**\
 **rte\_be16\_t** **nr**\
 **rte\_be16\_t** **offset\_size**\
 uint8\_t \* **offset\_padding**\

## Detailed Description

L2TPv2 message Header contains all options(length, ns, nr, offset size, offset padding).

Definition at line **128** of file **rte\_l2tpv2.h**.

## Field Documentation

### rte\_be16\_t length

**length(16)**

Definition at line **129** of file **rte\_l2tpv2.h**.

### rte\_be16\_t tunnel\_id

tunnel ID(16)

Definition at line **130** of file **rte\_l2tpv2.h**.

### rte\_be16\_t session\_id

session ID(16)

Definition at line **131** of file **rte\_l2tpv2.h**.

### rte\_be16\_t ns

Ns(16)

Definition at line **132** of file **rte\_l2tpv2.h**.

### rte\_be16\_t nr

Nr(16)

Definition at line **133** of file **rte\_l2tpv2.h**.

### rte\_be16\_t offset\_size

offset size(16)

Definition at line **134** of file **rte\_l2tpv2.h**.

### uint8\_t\* offset\_padding

offset padding(variable length)

Definition at line **135** of file **rte\_l2tpv2.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
