Documentation ¶
Overview ¶
Package trace is a generated VPP binary API for 'trace' module.
It consists of:
6 messages 3 services
Index ¶
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "trace" // APIVersion is the API version of this module. APIVersion = "1.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0x397cbf90 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type RPCService ¶
type RPCService interface { TraceProfileAdd(ctx context.Context, in *TraceProfileAdd) (*TraceProfileAddReply, error) TraceProfileDel(ctx context.Context, in *TraceProfileDel) (*TraceProfileDelReply, error) TraceProfileShowConfig(ctx context.Context, in *TraceProfileShowConfig) (*TraceProfileShowConfigReply, error) }
RPCService represents RPC service API for trace module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type TraceProfileAdd ¶
type TraceProfileAdd struct { TraceType uint8 NumElts uint8 TraceTsp uint8 NodeID uint32 AppData uint32 }
TraceProfileAdd represents VPP binary API message 'trace_profile_add'.
func (*TraceProfileAdd) GetCrcString ¶
func (*TraceProfileAdd) GetCrcString() string
func (*TraceProfileAdd) GetMessageName ¶
func (*TraceProfileAdd) GetMessageName() string
func (*TraceProfileAdd) GetMessageType ¶
func (*TraceProfileAdd) GetMessageType() api.MessageType
func (*TraceProfileAdd) Reset ¶
func (m *TraceProfileAdd) Reset()
type TraceProfileAddReply ¶
type TraceProfileAddReply struct {
Retval int32
}
TraceProfileAddReply represents VPP binary API message 'trace_profile_add_reply'.
func (*TraceProfileAddReply) GetCrcString ¶
func (*TraceProfileAddReply) GetCrcString() string
func (*TraceProfileAddReply) GetMessageName ¶
func (*TraceProfileAddReply) GetMessageName() string
func (*TraceProfileAddReply) GetMessageType ¶
func (*TraceProfileAddReply) GetMessageType() api.MessageType
func (*TraceProfileAddReply) Reset ¶
func (m *TraceProfileAddReply) Reset()
type TraceProfileDel ¶
type TraceProfileDel struct{}
TraceProfileDel represents VPP binary API message 'trace_profile_del'.
func (*TraceProfileDel) GetCrcString ¶
func (*TraceProfileDel) GetCrcString() string
func (*TraceProfileDel) GetMessageName ¶
func (*TraceProfileDel) GetMessageName() string
func (*TraceProfileDel) GetMessageType ¶
func (*TraceProfileDel) GetMessageType() api.MessageType
func (*TraceProfileDel) Reset ¶
func (m *TraceProfileDel) Reset()
type TraceProfileDelReply ¶
type TraceProfileDelReply struct {
Retval int32
}
TraceProfileDelReply represents VPP binary API message 'trace_profile_del_reply'.
func (*TraceProfileDelReply) GetCrcString ¶
func (*TraceProfileDelReply) GetCrcString() string
func (*TraceProfileDelReply) GetMessageName ¶
func (*TraceProfileDelReply) GetMessageName() string
func (*TraceProfileDelReply) GetMessageType ¶
func (*TraceProfileDelReply) GetMessageType() api.MessageType
func (*TraceProfileDelReply) Reset ¶
func (m *TraceProfileDelReply) Reset()
type TraceProfileShowConfig ¶
type TraceProfileShowConfig struct{}
TraceProfileShowConfig represents VPP binary API message 'trace_profile_show_config'.
func (*TraceProfileShowConfig) GetCrcString ¶
func (*TraceProfileShowConfig) GetCrcString() string
func (*TraceProfileShowConfig) GetMessageName ¶
func (*TraceProfileShowConfig) GetMessageName() string
func (*TraceProfileShowConfig) GetMessageType ¶
func (*TraceProfileShowConfig) GetMessageType() api.MessageType
func (*TraceProfileShowConfig) Reset ¶
func (m *TraceProfileShowConfig) Reset()
type TraceProfileShowConfigReply ¶
type TraceProfileShowConfigReply struct { Retval int32 TraceType uint8 NumElts uint8 TraceTsp uint8 NodeID uint32 AppData uint32 }
TraceProfileShowConfigReply represents VPP binary API message 'trace_profile_show_config_reply'.
func (*TraceProfileShowConfigReply) GetCrcString ¶
func (*TraceProfileShowConfigReply) GetCrcString() string
func (*TraceProfileShowConfigReply) GetMessageName ¶
func (*TraceProfileShowConfigReply) GetMessageName() string
func (*TraceProfileShowConfigReply) GetMessageType ¶
func (*TraceProfileShowConfigReply) GetMessageType() api.MessageType
func (*TraceProfileShowConfigReply) Reset ¶
func (m *TraceProfileShowConfigReply) Reset()