Documentation ¶
Overview ¶
Package gtpu is a generated VPP binary API for 'gtpu' module.
It consists of:
6 messages 3 services
Index ¶
Constants ¶
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 ¶
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 ¶
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 ¶
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