Documentation ¶
Overview ¶
Package gre is a generated VPP binary API for 'gre' module.
It consists of:
4 messages 2 services
Index ¶
Constants ¶
View Source
const ( // ModuleName is the name of this module. ModuleName = "gre" // APIVersion is the API version of this module. APIVersion = "1.0.1" // VersionCrc is the CRC of this module. VersionCrc = 0x83d2c14f )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type GreAddDelTunnel ¶
type GreAddDelTunnel struct { IsAdd uint8 IsIPv6 uint8 TunnelType uint8 Instance uint32 SrcAddress []byte `struc:"[16]byte"` DstAddress []byte `struc:"[16]byte"` OuterFibID uint32 SessionID uint16 }
GreAddDelTunnel represents VPP binary API message 'gre_add_del_tunnel'.
func (*GreAddDelTunnel) GetCrcString ¶
func (*GreAddDelTunnel) GetCrcString() string
func (*GreAddDelTunnel) GetMessageName ¶
func (*GreAddDelTunnel) GetMessageName() string
func (*GreAddDelTunnel) GetMessageType ¶
func (*GreAddDelTunnel) GetMessageType() api.MessageType
type GreAddDelTunnelReply ¶
GreAddDelTunnelReply represents VPP binary API message 'gre_add_del_tunnel_reply'.
func (*GreAddDelTunnelReply) GetCrcString ¶
func (*GreAddDelTunnelReply) GetCrcString() string
func (*GreAddDelTunnelReply) GetMessageName ¶
func (*GreAddDelTunnelReply) GetMessageName() string
func (*GreAddDelTunnelReply) GetMessageType ¶
func (*GreAddDelTunnelReply) GetMessageType() api.MessageType
type GreTunnelDetails ¶
type GreTunnelDetails struct { SwIfIndex uint32 Instance uint32 IsIPv6 uint8 TunnelType uint8 SrcAddress []byte `struc:"[16]byte"` DstAddress []byte `struc:"[16]byte"` OuterFibID uint32 SessionID uint16 }
GreTunnelDetails represents VPP binary API message 'gre_tunnel_details'.
func (*GreTunnelDetails) GetCrcString ¶
func (*GreTunnelDetails) GetCrcString() string
func (*GreTunnelDetails) GetMessageName ¶
func (*GreTunnelDetails) GetMessageName() string
func (*GreTunnelDetails) GetMessageType ¶
func (*GreTunnelDetails) GetMessageType() api.MessageType
type GreTunnelDump ¶
type GreTunnelDump struct {
SwIfIndex uint32
}
GreTunnelDump represents VPP binary API message 'gre_tunnel_dump'.
func (*GreTunnelDump) GetCrcString ¶
func (*GreTunnelDump) GetCrcString() string
func (*GreTunnelDump) GetMessageName ¶
func (*GreTunnelDump) GetMessageName() string
func (*GreTunnelDump) GetMessageType ¶
func (*GreTunnelDump) GetMessageType() api.MessageType
type RPCService ¶
type RPCService interface { DumpGreTunnel(ctx context.Context, in *GreTunnelDump) (RPCService_DumpGreTunnelClient, error) GreAddDelTunnel(ctx context.Context, in *GreAddDelTunnel) (*GreAddDelTunnelReply, error) }
RPCService represents RPC service API for gre module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpGreTunnelClient ¶
type RPCService_DumpGreTunnelClient interface {
Recv() (*GreTunnelDetails, error)
}
Click to show internal directories.
Click to hide internal directories.