Documentation ¶
Overview ¶
Package vxlan is a generated VPP binary API for 'vxlan' module.
It consists of:
8 messages 4 services
Index ¶
- Constants
- func AllMessages() []api.Message
- type RPCService
- type RPCService_DumpVxlanTunnelClient
- type SwInterfaceSetVxlanBypass
- type SwInterfaceSetVxlanBypassReply
- type VxlanAddDelTunnel
- type VxlanAddDelTunnelReply
- type VxlanOffloadRx
- type VxlanOffloadRxReply
- type VxlanTunnelDetails
- type VxlanTunnelDump
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "vxlan" // APIVersion is the API version of this module. APIVersion = "1.1.0" // VersionCrc is the CRC of this module. VersionCrc = 0x38cd707d )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type RPCService ¶
type RPCService interface { DumpVxlanTunnel(ctx context.Context, in *VxlanTunnelDump) (RPCService_DumpVxlanTunnelClient, error) SwInterfaceSetVxlanBypass(ctx context.Context, in *SwInterfaceSetVxlanBypass) (*SwInterfaceSetVxlanBypassReply, error) VxlanAddDelTunnel(ctx context.Context, in *VxlanAddDelTunnel) (*VxlanAddDelTunnelReply, error) VxlanOffloadRx(ctx context.Context, in *VxlanOffloadRx) (*VxlanOffloadRxReply, error) }
RPCService represents RPC service API for vxlan module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpVxlanTunnelClient ¶
type RPCService_DumpVxlanTunnelClient interface {
Recv() (*VxlanTunnelDetails, error)
}
type SwInterfaceSetVxlanBypass ¶
SwInterfaceSetVxlanBypass represents VPP binary API message 'sw_interface_set_vxlan_bypass'.
func (*SwInterfaceSetVxlanBypass) GetCrcString ¶
func (*SwInterfaceSetVxlanBypass) GetCrcString() string
func (*SwInterfaceSetVxlanBypass) GetMessageName ¶
func (*SwInterfaceSetVxlanBypass) GetMessageName() string
func (*SwInterfaceSetVxlanBypass) GetMessageType ¶
func (*SwInterfaceSetVxlanBypass) GetMessageType() api.MessageType
func (*SwInterfaceSetVxlanBypass) Reset ¶
func (m *SwInterfaceSetVxlanBypass) Reset()
type SwInterfaceSetVxlanBypassReply ¶
type SwInterfaceSetVxlanBypassReply struct {
Retval int32
}
SwInterfaceSetVxlanBypassReply represents VPP binary API message 'sw_interface_set_vxlan_bypass_reply'.
func (*SwInterfaceSetVxlanBypassReply) GetCrcString ¶
func (*SwInterfaceSetVxlanBypassReply) GetCrcString() string
func (*SwInterfaceSetVxlanBypassReply) GetMessageName ¶
func (*SwInterfaceSetVxlanBypassReply) GetMessageName() string
func (*SwInterfaceSetVxlanBypassReply) GetMessageType ¶
func (*SwInterfaceSetVxlanBypassReply) GetMessageType() api.MessageType
func (*SwInterfaceSetVxlanBypassReply) Reset ¶
func (m *SwInterfaceSetVxlanBypassReply) Reset()
type VxlanAddDelTunnel ¶
type VxlanAddDelTunnel struct { IsAdd uint8 IsIPv6 uint8 Instance uint32 SrcAddress []byte `struc:"[16]byte"` DstAddress []byte `struc:"[16]byte"` McastSwIfIndex uint32 EncapVrfID uint32 DecapNextIndex uint32 Vni uint32 }
VxlanAddDelTunnel represents VPP binary API message 'vxlan_add_del_tunnel'.
func (*VxlanAddDelTunnel) GetCrcString ¶
func (*VxlanAddDelTunnel) GetCrcString() string
func (*VxlanAddDelTunnel) GetMessageName ¶
func (*VxlanAddDelTunnel) GetMessageName() string
func (*VxlanAddDelTunnel) GetMessageType ¶
func (*VxlanAddDelTunnel) GetMessageType() api.MessageType
func (*VxlanAddDelTunnel) Reset ¶
func (m *VxlanAddDelTunnel) Reset()
type VxlanAddDelTunnelReply ¶
VxlanAddDelTunnelReply represents VPP binary API message 'vxlan_add_del_tunnel_reply'.
func (*VxlanAddDelTunnelReply) GetCrcString ¶
func (*VxlanAddDelTunnelReply) GetCrcString() string
func (*VxlanAddDelTunnelReply) GetMessageName ¶
func (*VxlanAddDelTunnelReply) GetMessageName() string
func (*VxlanAddDelTunnelReply) GetMessageType ¶
func (*VxlanAddDelTunnelReply) GetMessageType() api.MessageType
func (*VxlanAddDelTunnelReply) Reset ¶
func (m *VxlanAddDelTunnelReply) Reset()
type VxlanOffloadRx ¶
VxlanOffloadRx represents VPP binary API message 'vxlan_offload_rx'.
func (*VxlanOffloadRx) GetCrcString ¶
func (*VxlanOffloadRx) GetCrcString() string
func (*VxlanOffloadRx) GetMessageName ¶
func (*VxlanOffloadRx) GetMessageName() string
func (*VxlanOffloadRx) GetMessageType ¶
func (*VxlanOffloadRx) GetMessageType() api.MessageType
func (*VxlanOffloadRx) Reset ¶
func (m *VxlanOffloadRx) Reset()
type VxlanOffloadRxReply ¶
type VxlanOffloadRxReply struct {
Retval int32
}
VxlanOffloadRxReply represents VPP binary API message 'vxlan_offload_rx_reply'.
func (*VxlanOffloadRxReply) GetCrcString ¶
func (*VxlanOffloadRxReply) GetCrcString() string
func (*VxlanOffloadRxReply) GetMessageName ¶
func (*VxlanOffloadRxReply) GetMessageName() string
func (*VxlanOffloadRxReply) GetMessageType ¶
func (*VxlanOffloadRxReply) GetMessageType() api.MessageType
func (*VxlanOffloadRxReply) Reset ¶
func (m *VxlanOffloadRxReply) Reset()
type VxlanTunnelDetails ¶
type VxlanTunnelDetails struct { SwIfIndex uint32 Instance uint32 SrcAddress []byte `struc:"[16]byte"` DstAddress []byte `struc:"[16]byte"` McastSwIfIndex uint32 EncapVrfID uint32 DecapNextIndex uint32 Vni uint32 IsIPv6 uint8 }
VxlanTunnelDetails represents VPP binary API message 'vxlan_tunnel_details'.
func (*VxlanTunnelDetails) GetCrcString ¶
func (*VxlanTunnelDetails) GetCrcString() string
func (*VxlanTunnelDetails) GetMessageName ¶
func (*VxlanTunnelDetails) GetMessageName() string
func (*VxlanTunnelDetails) GetMessageType ¶
func (*VxlanTunnelDetails) GetMessageType() api.MessageType
func (*VxlanTunnelDetails) Reset ¶
func (m *VxlanTunnelDetails) Reset()
type VxlanTunnelDump ¶
type VxlanTunnelDump struct {
SwIfIndex uint32
}
VxlanTunnelDump represents VPP binary API message 'vxlan_tunnel_dump'.
func (*VxlanTunnelDump) GetCrcString ¶
func (*VxlanTunnelDump) GetCrcString() string
func (*VxlanTunnelDump) GetMessageName ¶
func (*VxlanTunnelDump) GetMessageName() string
func (*VxlanTunnelDump) GetMessageType ¶
func (*VxlanTunnelDump) GetMessageType() api.MessageType
func (*VxlanTunnelDump) Reset ¶
func (m *VxlanTunnelDump) Reset()