gtpu

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 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

func (*GtpuAddDelTunnel) Reset

func (m *GtpuAddDelTunnel) Reset()

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

func (*GtpuAddDelTunnelReply) Reset

func (m *GtpuAddDelTunnelReply) Reset()

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

func (*GtpuTunnelDetails) Reset

func (m *GtpuTunnelDetails) Reset()

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

func (*GtpuTunnelDump) Reset

func (m *GtpuTunnelDump) Reset()

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

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