gtpu

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

It consists of:

10 enums
 6 aliases
 6 types
 1 union
 6 messages
 3 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "gtpu"
	// APIVersion is the API version of this module.
	APIVersion = "2.0.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0x6305cc01
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type Address

type Address = ip_types.Address

type AddressFamily

type AddressFamily = ip_types.AddressFamily

type AddressUnion

type AddressUnion = ip_types.AddressUnion

type AddressWithPrefix

type AddressWithPrefix = ip_types.AddressWithPrefix

type GtpuAddDelTunnel

type GtpuAddDelTunnel struct {
	IsAdd          bool
	SrcAddress     Address
	DstAddress     Address
	McastSwIfIndex InterfaceIndex
	EncapVrfID     uint32
	DecapNextIndex uint32
	Teid           uint32
}

GtpuAddDelTunnel represents VPP binary API message 'gtpu_add_del_tunnel'.

func (*GtpuAddDelTunnel) GetCrcString

func (*GtpuAddDelTunnel) GetCrcString() string

func (*GtpuAddDelTunnel) GetMessageName

func (*GtpuAddDelTunnel) GetMessageName() string

func (*GtpuAddDelTunnel) GetMessageType

func (*GtpuAddDelTunnel) GetMessageType() api.MessageType

func (*GtpuAddDelTunnel) Reset

func (m *GtpuAddDelTunnel) Reset()

type GtpuAddDelTunnelReply

type GtpuAddDelTunnelReply struct {
	Retval    int32
	SwIfIndex InterfaceIndex
}

GtpuAddDelTunnelReply represents VPP binary API message 'gtpu_add_del_tunnel_reply'.

func (*GtpuAddDelTunnelReply) GetCrcString

func (*GtpuAddDelTunnelReply) GetCrcString() string

func (*GtpuAddDelTunnelReply) GetMessageName

func (*GtpuAddDelTunnelReply) GetMessageName() string

func (*GtpuAddDelTunnelReply) GetMessageType

func (*GtpuAddDelTunnelReply) GetMessageType() api.MessageType

func (*GtpuAddDelTunnelReply) Reset

func (m *GtpuAddDelTunnelReply) Reset()

type GtpuTunnelDetails

type GtpuTunnelDetails struct {
	SwIfIndex      InterfaceIndex
	SrcAddress     Address
	DstAddress     Address
	McastSwIfIndex InterfaceIndex
	EncapVrfID     uint32
	DecapNextIndex uint32
	Teid           uint32
}

GtpuTunnelDetails represents VPP binary API message 'gtpu_tunnel_details'.

func (*GtpuTunnelDetails) GetCrcString

func (*GtpuTunnelDetails) GetCrcString() string

func (*GtpuTunnelDetails) GetMessageName

func (*GtpuTunnelDetails) GetMessageName() string

func (*GtpuTunnelDetails) GetMessageType

func (*GtpuTunnelDetails) GetMessageType() api.MessageType

func (*GtpuTunnelDetails) Reset

func (m *GtpuTunnelDetails) Reset()

type GtpuTunnelDump

type GtpuTunnelDump struct {
	SwIfIndex InterfaceIndex
}

GtpuTunnelDump represents VPP binary API message 'gtpu_tunnel_dump'.

func (*GtpuTunnelDump) GetCrcString

func (*GtpuTunnelDump) GetCrcString() string

func (*GtpuTunnelDump) GetMessageName

func (*GtpuTunnelDump) GetMessageName() string

func (*GtpuTunnelDump) GetMessageType

func (*GtpuTunnelDump) GetMessageType() api.MessageType

func (*GtpuTunnelDump) Reset

func (m *GtpuTunnelDump) Reset()

type IP4Address

type IP4Address = ip_types.IP4Address

type IP4AddressWithPrefix

type IP4AddressWithPrefix = ip_types.IP4AddressWithPrefix

type IP4Prefix

type IP4Prefix = ip_types.IP4Prefix

type IP6Address

type IP6Address = ip_types.IP6Address

type IP6AddressWithPrefix

type IP6AddressWithPrefix = ip_types.IP6AddressWithPrefix

type IP6Prefix

type IP6Prefix = ip_types.IP6Prefix

type IPDscp

type IPDscp = ip_types.IPDscp

type IPEcn

type IPEcn = ip_types.IPEcn

type IPProto

type IPProto = ip_types.IPProto

type IfStatusFlags

type IfStatusFlags = interface_types.IfStatusFlags

type IfType

type IfType = interface_types.IfType

type InterfaceIndex

type InterfaceIndex = interface_types.InterfaceIndex

type LinkDuplex

type LinkDuplex = interface_types.LinkDuplex

type Mprefix

type Mprefix = ip_types.Mprefix

type MtuProto

type MtuProto = interface_types.MtuProto

type Prefix

type Prefix = ip_types.Prefix

type PrefixMatcher

type PrefixMatcher = ip_types.PrefixMatcher

type RPCService

type RPCService interface {
	DumpGtpuTunnel(ctx context.Context, in *GtpuTunnelDump) (RPCService_DumpGtpuTunnelClient, error)
	GtpuAddDelTunnel(ctx context.Context, in *GtpuAddDelTunnel) (*GtpuAddDelTunnelReply, error)
	SwInterfaceSetGtpuBypass(ctx context.Context, in *SwInterfaceSetGtpuBypass) (*SwInterfaceSetGtpuBypassReply, error)
}

RPCService represents RPC service API for gtpu module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpGtpuTunnelClient

type RPCService_DumpGtpuTunnelClient interface {
	Recv() (*GtpuTunnelDetails, error)
}

type RxMode

type RxMode = interface_types.RxMode

type SubIfFlags

type SubIfFlags = interface_types.SubIfFlags

type SwInterfaceSetGtpuBypass

type SwInterfaceSetGtpuBypass struct {
	SwIfIndex InterfaceIndex
	IsIPv6    bool
	Enable    bool
}

SwInterfaceSetGtpuBypass represents VPP binary API message 'sw_interface_set_gtpu_bypass'.

func (*SwInterfaceSetGtpuBypass) GetCrcString

func (*SwInterfaceSetGtpuBypass) GetCrcString() string

func (*SwInterfaceSetGtpuBypass) GetMessageName

func (*SwInterfaceSetGtpuBypass) GetMessageName() string

func (*SwInterfaceSetGtpuBypass) GetMessageType

func (*SwInterfaceSetGtpuBypass) GetMessageType() api.MessageType

func (*SwInterfaceSetGtpuBypass) Reset

func (m *SwInterfaceSetGtpuBypass) Reset()

type SwInterfaceSetGtpuBypassReply

type SwInterfaceSetGtpuBypassReply struct {
	Retval int32
}

SwInterfaceSetGtpuBypassReply represents VPP binary API message 'sw_interface_set_gtpu_bypass_reply'.

func (*SwInterfaceSetGtpuBypassReply) GetCrcString

func (*SwInterfaceSetGtpuBypassReply) GetCrcString() string

func (*SwInterfaceSetGtpuBypassReply) GetMessageName

func (*SwInterfaceSetGtpuBypassReply) GetMessageName() string

func (*SwInterfaceSetGtpuBypassReply) GetMessageType

func (*SwInterfaceSetGtpuBypassReply) GetMessageType() api.MessageType

func (*SwInterfaceSetGtpuBypassReply) Reset

func (m *SwInterfaceSetGtpuBypassReply) Reset()

Jump to

Keyboard shortcuts

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