FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
udp.api File Reference

Go to the source code of this file.

Data Structures

struct  vl_api_udp_encap_add_t
 Add UDP encap. More...
 
struct  vl_api_udp_encap_add_reply_t
 Add UDP encap reply. More...
 
struct  vl_api_udp_encap_del_t
 Del UDP encap. More...
 
struct  vl_api_udp_encap_dump_t
 dump UDP encaps More...
 
struct  vl_api_udp_encap_details_t
 UDP encap details during dump. More...
 
struct  vl_api_udp_decap_add_del_t
 Add/Del UDP decap. More...
 

Enumerations

enum  udp_decap_next_proto { UDP_API_DECAP_PROTO_IP4, UDP_API_DECAP_PROTO_IP6, UDP_API_DECAP_PROTO_MPLS }
 

Variables

option version = "1.1.0"
 
import vnet ip ip_types api
 
typedef udp_encap
 UDP Encap object. More...
 
u16 src_port
 
u16 dst_port
 
vl_api_address_t src_ip
 
vl_api_address_t dst_ip
 
u32 id
 
typedef udp_decap
 UDP Decap object. More...
 
u16 port
 
vl_api_udp_decap_next_proto_t next_proto
 

Detailed Description

This file defines vpp UDP control-plane API messages which are generally called through a shared memory interface.

Definition in file udp.api.

Enumeration Type Documentation

◆ udp_decap_next_proto

Enumerator
UDP_API_DECAP_PROTO_IP4 
UDP_API_DECAP_PROTO_IP6 
UDP_API_DECAP_PROTO_MPLS 

Definition at line 48 of file udp.api.

Variable Documentation

◆ api

import vnet ip ip_types api

Definition at line 26 of file udp.api.

◆ dst_ip

vl_api_address_t dst_ip

Definition at line 44 of file udp.api.

◆ dst_port

u16 dst_port

Definition at line 42 of file udp.api.

◆ id

u32 id

Definition at line 45 of file udp.api.

◆ next_proto

vl_api_udp_decap_next_proto_t next_proto

Definition at line 65 of file udp.api.

◆ port

u16 port

Definition at line 64 of file udp.api.

◆ src_ip

vl_api_address_t src_ip

Definition at line 43 of file udp.api.

◆ src_port

u16 src_port

Definition at line 41 of file udp.api.

◆ udp_decap

typedef udp_decap
Initial value:
{
u8 is_ip4

UDP Decap object.

Template Parameters
is_ip4- IPv4 if non-zero, else IPv6
port- port to listen on for the decap
next_proto- the protocol of the inner header

Definition at line 62 of file udp.api.

◆ udp_encap

typedef udp_encap
Initial value:

UDP Encap object.

Template Parameters
table_id- table ID associated with the encap destination
dst_ip- Encap destination address
src_ip- Encap source address
dst_port- Encap destination port
src_port- Encap source port
id- VPP assigned id; ignored in add message, set in dump

Definition at line 39 of file udp.api.

◆ version

option version = "1.1.0"

Definition at line 24 of file udp.api.

u32
unsigned int u32
Definition: types.h:88
table_id
u32 table_id
Definition: wireguard.api:102
u8
unsigned char u8
Definition: types.h:56