tunnel_types

package
v0.0.0-...-f91f7f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package tunnel_types is a generated VPP binary API for 'tunnel_types' module.

It consists of:

2 enums

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "tunnel_types"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xd5fc612b
)

Variables

View Source
var TunnelEncapDecapFlags_name = map[uint8]string{
	0:  "TUNNEL_API_ENCAP_DECAP_FLAG_NONE",
	1:  "TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_DF",
	2:  "TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_SET_DF",
	4:  "TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_DSCP",
	8:  "TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_ECN",
	16: "TUNNEL_API_ENCAP_DECAP_FLAG_DECAP_COPY_ECN",
}
View Source
var TunnelEncapDecapFlags_value = map[string]uint8{
	"TUNNEL_API_ENCAP_DECAP_FLAG_NONE":            0,
	"TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_DF":   1,
	"TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_SET_DF":    2,
	"TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_DSCP": 4,
	"TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_ECN":  8,
	"TUNNEL_API_ENCAP_DECAP_FLAG_DECAP_COPY_ECN":  16,
}
View Source
var TunnelMode_name = map[uint8]string{
	0: "TUNNEL_API_MODE_P2P",
	1: "TUNNEL_API_MODE_MP",
}
View Source
var TunnelMode_value = map[string]uint8{
	"TUNNEL_API_MODE_P2P": 0,
	"TUNNEL_API_MODE_MP":  1,
}

Functions

This section is empty.

Types

type TunnelEncapDecapFlags

type TunnelEncapDecapFlags uint8

TunnelEncapDecapFlags represents VPP binary API enum 'tunnel_encap_decap_flags'.

const (
	TUNNEL_API_ENCAP_DECAP_FLAG_NONE            TunnelEncapDecapFlags = 0
	TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_DF   TunnelEncapDecapFlags = 1
	TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_SET_DF    TunnelEncapDecapFlags = 2
	TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_DSCP TunnelEncapDecapFlags = 4
	TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_ECN  TunnelEncapDecapFlags = 8
	TUNNEL_API_ENCAP_DECAP_FLAG_DECAP_COPY_ECN  TunnelEncapDecapFlags = 16
)

func (TunnelEncapDecapFlags) String

func (x TunnelEncapDecapFlags) String() string

type TunnelMode

type TunnelMode uint8

TunnelMode represents VPP binary API enum 'tunnel_mode'.

const (
	TUNNEL_API_MODE_P2P TunnelMode = 0
	TUNNEL_API_MODE_MP  TunnelMode = 1
)

func (TunnelMode) String

func (x TunnelMode) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL