Documentation ¶
Overview ¶
Package udp_ping is a generated VPP binary API for 'udp_ping' module.
It consists of:
4 messages 2 services
Index ¶
Constants ¶
View Source
const ( // ModuleName is the name of this module. ModuleName = "udp_ping" // APIVersion is the API version of this module. APIVersion = "2.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0xc8855f73 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type RPCService ¶
type RPCService interface { UDPPingAddDel(ctx context.Context, in *UDPPingAddDel) (*UDPPingAddDelReply, error) UDPPingExport(ctx context.Context, in *UDPPingExport) (*UDPPingExportReply, error) }
RPCService represents RPC service API for udp_ping module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type UDPPingAddDel ¶
type UDPPingAddDel struct { SrcIPAddress []byte `struc:"[16]byte"` DstIPAddress []byte `struc:"[16]byte"` StartSrcPort uint16 EndSrcPort uint16 StartDstPort uint16 EndDstPort uint16 Interval uint16 IsIPv4 uint8 Dis uint8 FaultDet uint8 Reserve []byte `struc:"[3]byte"` }
UDPPingAddDel represents VPP binary API message 'udp_ping_add_del'.
func (*UDPPingAddDel) GetCrcString ¶
func (*UDPPingAddDel) GetCrcString() string
func (*UDPPingAddDel) GetMessageName ¶
func (*UDPPingAddDel) GetMessageName() string
func (*UDPPingAddDel) GetMessageType ¶
func (*UDPPingAddDel) GetMessageType() api.MessageType
func (*UDPPingAddDel) Reset ¶
func (m *UDPPingAddDel) Reset()
type UDPPingAddDelReply ¶
type UDPPingAddDelReply struct {
Retval int32
}
UDPPingAddDelReply represents VPP binary API message 'udp_ping_add_del_reply'.
func (*UDPPingAddDelReply) GetCrcString ¶
func (*UDPPingAddDelReply) GetCrcString() string
func (*UDPPingAddDelReply) GetMessageName ¶
func (*UDPPingAddDelReply) GetMessageName() string
func (*UDPPingAddDelReply) GetMessageType ¶
func (*UDPPingAddDelReply) GetMessageType() api.MessageType
func (*UDPPingAddDelReply) Reset ¶
func (m *UDPPingAddDelReply) Reset()
type UDPPingExport ¶
type UDPPingExport struct {
Enable uint32
}
UDPPingExport represents VPP binary API message 'udp_ping_export'.
func (*UDPPingExport) GetCrcString ¶
func (*UDPPingExport) GetCrcString() string
func (*UDPPingExport) GetMessageName ¶
func (*UDPPingExport) GetMessageName() string
func (*UDPPingExport) GetMessageType ¶
func (*UDPPingExport) GetMessageType() api.MessageType
func (*UDPPingExport) Reset ¶
func (m *UDPPingExport) Reset()
type UDPPingExportReply ¶
type UDPPingExportReply struct {
Retval int32
}
UDPPingExportReply represents VPP binary API message 'udp_ping_export_reply'.
func (*UDPPingExportReply) GetCrcString ¶
func (*UDPPingExportReply) GetCrcString() string
func (*UDPPingExportReply) GetMessageName ¶
func (*UDPPingExportReply) GetMessageName() string
func (*UDPPingExportReply) GetMessageType ¶
func (*UDPPingExportReply) GetMessageType() api.MessageType
func (*UDPPingExportReply) Reset ¶
func (m *UDPPingExportReply) Reset()
Click to show internal directories.
Click to hide internal directories.