DPDK  19.02.0
Data Fields
rte_eth_udp_tunnel Struct Reference

#include <rte_ethdev.h>

Data Fields

uint16_t udp_port
uint8_t prot_type

Detailed Description

UDP tunneling configuration. Used to config the UDP port for a type of tunnel. NICs need the UDP port to identify the tunnel type. Normally a type of tunnel has a default UDP port, this structure can be used in case if the users want to change or support more UDP port.

Examples:
examples/tep_termination/vxlan_setup.c.

Definition at line 878 of file rte_ethdev.h.

Field Documentation

uint16_t udp_port

UDP port used for the tunnel.

Definition at line 879 of file rte_ethdev.h.

uint8_t prot_type

Tunnel type. Defined in rte_eth_tunnel_type.

Definition at line 880 of file rte_ethdev.h.


The documentation for this struct was generated from the following file: