gtpu

package
v2.5.0-alpha.0...-0e2148d Latest Latest
Warning

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

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

Documentation

Overview

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

It consists of:

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 = "1.0.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xee722318
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type GtpuAddDelTunnel

type GtpuAddDelTunnel struct {
	IsAdd          uint8
	IsIPv6         uint8
	SrcAddress     []byte `struc:"[16]byte"`
	DstAddress     []byte `struc:"[16]byte"`
	McastSwIfIndex uint32
	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

type GtpuAddDelTunnelReply

type GtpuAddDelTunnelReply struct {
	Retval    int32
	SwIfIndex uint32
}

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

type GtpuTunnelDetails

type GtpuTunnelDetails struct {
	SwIfIndex      uint32
	IsIPv6         uint8
	SrcAddress     []byte `struc:"[16]byte"`
	DstAddress     []byte `struc:"[16]byte"`
	McastSwIfIndex uint32
	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

type GtpuTunnelDump

type GtpuTunnelDump struct {
	SwIfIndex uint32
}

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

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 SwInterfaceSetGtpuBypass

type SwInterfaceSetGtpuBypass struct {
	SwIfIndex uint32
	IsIPv6    uint8
	Enable    uint8
}

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

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

Jump to

Keyboard shortcuts

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