Documentation ¶
Overview ¶
Package vpe is a generated VPP binary API for 'vpe' module.
It consists of:
1 type 18 messages 9 services
Index ¶
- Constants
- func AllMessages() []api.Message
- type AddNodeNext
- type AddNodeNextReply
- type Cli
- type CliInband
- type CliInbandReply
- type CliReply
- type ControlPing
- type ControlPingReply
- type GetNextIndex
- type GetNextIndexReply
- type GetNodeGraph
- type GetNodeGraphReply
- type GetNodeIndex
- type GetNodeIndexReply
- type RPCService
- type ShowThreads
- type ShowThreadsReply
- type ShowVersion
- type ShowVersionReply
- type ThreadData
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "vpe" // APIVersion is the API version of this module. APIVersion = "1.1.0" // VersionCrc is the CRC of this module. VersionCrc = 0x2cc8d629 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type AddNodeNext ¶
AddNodeNext represents VPP binary API message 'add_node_next'.
func (*AddNodeNext) GetCrcString ¶
func (*AddNodeNext) GetCrcString() string
func (*AddNodeNext) GetMessageName ¶
func (*AddNodeNext) GetMessageName() string
func (*AddNodeNext) GetMessageType ¶
func (*AddNodeNext) GetMessageType() api.MessageType
type AddNodeNextReply ¶
AddNodeNextReply represents VPP binary API message 'add_node_next_reply'.
func (*AddNodeNextReply) GetCrcString ¶
func (*AddNodeNextReply) GetCrcString() string
func (*AddNodeNextReply) GetMessageName ¶
func (*AddNodeNextReply) GetMessageName() string
func (*AddNodeNextReply) GetMessageType ¶
func (*AddNodeNextReply) GetMessageType() api.MessageType
type Cli ¶
type Cli struct {
CmdInShmem uint64
}
Cli represents VPP binary API message 'cli'.
func (*Cli) GetCrcString ¶
func (*Cli) GetMessageName ¶
func (*Cli) GetMessageType ¶
func (*Cli) GetMessageType() api.MessageType
type CliInband ¶
CliInband represents VPP binary API message 'cli_inband'.
func (*CliInband) GetCrcString ¶
func (*CliInband) GetMessageName ¶
func (*CliInband) GetMessageType ¶
func (*CliInband) GetMessageType() api.MessageType
type CliInbandReply ¶
CliInbandReply represents VPP binary API message 'cli_inband_reply'.
func (*CliInbandReply) GetCrcString ¶
func (*CliInbandReply) GetCrcString() string
func (*CliInbandReply) GetMessageName ¶
func (*CliInbandReply) GetMessageName() string
func (*CliInbandReply) GetMessageType ¶
func (*CliInbandReply) GetMessageType() api.MessageType
type CliReply ¶
CliReply represents VPP binary API message 'cli_reply'.
func (*CliReply) GetCrcString ¶
func (*CliReply) GetMessageName ¶
func (*CliReply) GetMessageType ¶
func (*CliReply) GetMessageType() api.MessageType
type ControlPing ¶
type ControlPing struct{}
ControlPing represents VPP binary API message 'control_ping'.
func (*ControlPing) GetCrcString ¶
func (*ControlPing) GetCrcString() string
func (*ControlPing) GetMessageName ¶
func (*ControlPing) GetMessageName() string
func (*ControlPing) GetMessageType ¶
func (*ControlPing) GetMessageType() api.MessageType
type ControlPingReply ¶
ControlPingReply represents VPP binary API message 'control_ping_reply'.
func (*ControlPingReply) GetCrcString ¶
func (*ControlPingReply) GetCrcString() string
func (*ControlPingReply) GetMessageName ¶
func (*ControlPingReply) GetMessageName() string
func (*ControlPingReply) GetMessageType ¶
func (*ControlPingReply) GetMessageType() api.MessageType
type GetNextIndex ¶
GetNextIndex represents VPP binary API message 'get_next_index'.
func (*GetNextIndex) GetCrcString ¶
func (*GetNextIndex) GetCrcString() string
func (*GetNextIndex) GetMessageName ¶
func (*GetNextIndex) GetMessageName() string
func (*GetNextIndex) GetMessageType ¶
func (*GetNextIndex) GetMessageType() api.MessageType
type GetNextIndexReply ¶
GetNextIndexReply represents VPP binary API message 'get_next_index_reply'.
func (*GetNextIndexReply) GetCrcString ¶
func (*GetNextIndexReply) GetCrcString() string
func (*GetNextIndexReply) GetMessageName ¶
func (*GetNextIndexReply) GetMessageName() string
func (*GetNextIndexReply) GetMessageType ¶
func (*GetNextIndexReply) GetMessageType() api.MessageType
type GetNodeGraph ¶
type GetNodeGraph struct{}
GetNodeGraph represents VPP binary API message 'get_node_graph'.
func (*GetNodeGraph) GetCrcString ¶
func (*GetNodeGraph) GetCrcString() string
func (*GetNodeGraph) GetMessageName ¶
func (*GetNodeGraph) GetMessageName() string
func (*GetNodeGraph) GetMessageType ¶
func (*GetNodeGraph) GetMessageType() api.MessageType
type GetNodeGraphReply ¶
GetNodeGraphReply represents VPP binary API message 'get_node_graph_reply'.
func (*GetNodeGraphReply) GetCrcString ¶
func (*GetNodeGraphReply) GetCrcString() string
func (*GetNodeGraphReply) GetMessageName ¶
func (*GetNodeGraphReply) GetMessageName() string
func (*GetNodeGraphReply) GetMessageType ¶
func (*GetNodeGraphReply) GetMessageType() api.MessageType
type GetNodeIndex ¶
type GetNodeIndex struct {
NodeName []byte `struc:"[64]byte"`
}
GetNodeIndex represents VPP binary API message 'get_node_index'.
func (*GetNodeIndex) GetCrcString ¶
func (*GetNodeIndex) GetCrcString() string
func (*GetNodeIndex) GetMessageName ¶
func (*GetNodeIndex) GetMessageName() string
func (*GetNodeIndex) GetMessageType ¶
func (*GetNodeIndex) GetMessageType() api.MessageType
type GetNodeIndexReply ¶
GetNodeIndexReply represents VPP binary API message 'get_node_index_reply'.
func (*GetNodeIndexReply) GetCrcString ¶
func (*GetNodeIndexReply) GetCrcString() string
func (*GetNodeIndexReply) GetMessageName ¶
func (*GetNodeIndexReply) GetMessageName() string
func (*GetNodeIndexReply) GetMessageType ¶
func (*GetNodeIndexReply) GetMessageType() api.MessageType
type RPCService ¶
type RPCService interface { AddNodeNext(ctx context.Context, in *AddNodeNext) (*AddNodeNextReply, error) Cli(ctx context.Context, in *Cli) (*CliReply, error) CliInband(ctx context.Context, in *CliInband) (*CliInbandReply, error) ControlPing(ctx context.Context, in *ControlPing) (*ControlPingReply, error) GetNextIndex(ctx context.Context, in *GetNextIndex) (*GetNextIndexReply, error) GetNodeGraph(ctx context.Context, in *GetNodeGraph) (*GetNodeGraphReply, error) GetNodeIndex(ctx context.Context, in *GetNodeIndex) (*GetNodeIndexReply, error) ShowThreads(ctx context.Context, in *ShowThreads) (*ShowThreadsReply, error) ShowVersion(ctx context.Context, in *ShowVersion) (*ShowVersionReply, error) }
RPCService represents RPC service API for vpe module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type ShowThreads ¶
type ShowThreads struct{}
ShowThreads represents VPP binary API message 'show_threads'.
func (*ShowThreads) GetCrcString ¶
func (*ShowThreads) GetCrcString() string
func (*ShowThreads) GetMessageName ¶
func (*ShowThreads) GetMessageName() string
func (*ShowThreads) GetMessageType ¶
func (*ShowThreads) GetMessageType() api.MessageType
type ShowThreadsReply ¶
type ShowThreadsReply struct { Retval int32 Count uint32 `struc:"sizeof=ThreadData"` ThreadData []ThreadData }
ShowThreadsReply represents VPP binary API message 'show_threads_reply'.
func (*ShowThreadsReply) GetCrcString ¶
func (*ShowThreadsReply) GetCrcString() string
func (*ShowThreadsReply) GetMessageName ¶
func (*ShowThreadsReply) GetMessageName() string
func (*ShowThreadsReply) GetMessageType ¶
func (*ShowThreadsReply) GetMessageType() api.MessageType
type ShowVersion ¶
type ShowVersion struct{}
ShowVersion represents VPP binary API message 'show_version'.
func (*ShowVersion) GetCrcString ¶
func (*ShowVersion) GetCrcString() string
func (*ShowVersion) GetMessageName ¶
func (*ShowVersion) GetMessageName() string
func (*ShowVersion) GetMessageType ¶
func (*ShowVersion) GetMessageType() api.MessageType
type ShowVersionReply ¶
type ShowVersionReply struct { Retval int32 XXX_ProgramLen uint32 `struc:"sizeof=Program"` Program string XXX_VersionLen uint32 `struc:"sizeof=Version"` Version string XXX_BuildDateLen uint32 `struc:"sizeof=BuildDate"` BuildDate string XXX_BuildDirectoryLen uint32 `struc:"sizeof=BuildDirectory"` BuildDirectory string }
ShowVersionReply represents VPP binary API message 'show_version_reply'.
func (*ShowVersionReply) GetCrcString ¶
func (*ShowVersionReply) GetCrcString() string
func (*ShowVersionReply) GetMessageName ¶
func (*ShowVersionReply) GetMessageName() string
func (*ShowVersionReply) GetMessageType ¶
func (*ShowVersionReply) GetMessageType() api.MessageType
type ThreadData ¶
type ThreadData struct { ID uint32 Name []byte `struc:"[64]byte"` Type []byte `struc:"[64]byte"` PID uint32 CPUID uint32 Core uint32 CPUSocket uint32 }
ThreadData represents VPP binary API type 'thread_data'.
func (*ThreadData) GetCrcString ¶
func (*ThreadData) GetCrcString() string
func (*ThreadData) GetTypeName ¶
func (*ThreadData) GetTypeName() string