Documentation ¶
Overview ¶
Package vpe is a generated from VPP binary API module 'vpe'. It contains following objects: 18 messages 1 type 9 services
Index ¶
- 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 Services
- type ShowThreads
- type ShowThreadsReply
- type ShowVersion
- type ShowVersionReply
- type ThreadData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddNodeNext ¶
AddNodeNext represents VPP binary API message 'add_node_next':
"add_node_next", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "node_name", 64 ], [ "u8", "next_name", 64 ], { "crc": "0x9ab92f7a" }
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':
"add_node_next_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u32", "next_index" ], { "crc": "0x2ed75f32" }
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':
"cli", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u64", "cmd_in_shmem" ], { "crc": "0x23bfbfff" }
func (*Cli) GetCrcString ¶
func (*Cli) GetMessageName ¶
func (*Cli) GetMessageType ¶
func (*Cli) GetMessageType() api.MessageType
type CliInband ¶
CliInband represents VPP binary API message 'cli_inband':
"cli_inband", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u32", "length" ], [ "u8", "cmd", 0, "length" ], { "crc": "0x74e00a49" }
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':
"cli_inband_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u32", "length" ], [ "u8", "reply", 0, "length" ], { "crc": "0x1f22bbb8" }
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':
"cli_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u64", "reply_in_shmem" ], { "crc": "0x06d68297" }
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':
"control_ping", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], { "crc": "0x51077d14" }
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':
"control_ping_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u32", "client_index" ], [ "u32", "vpe_pid" ], { "crc": "0xf6b0b8ca" }
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':
"get_next_index", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "node_name", 64 ], [ "u8", "next_name", 64 ], { "crc": "0x9ab92f7a" }
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':
"get_next_index_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u32", "next_index" ], { "crc": "0x2ed75f32" }
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':
"get_node_graph", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], { "crc": "0x51077d14" }
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':
"get_node_graph_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u64", "reply_in_shmem" ], { "crc": "0x06d68297" }
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':
"get_node_index", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "node_name", 64 ], { "crc": "0x6c9a495d" }
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':
"get_node_index_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u32", "node_index" ], { "crc": "0xa8600b89" }
func (*GetNodeIndexReply) GetCrcString ¶
func (*GetNodeIndexReply) GetCrcString() string
func (*GetNodeIndexReply) GetMessageName ¶
func (*GetNodeIndexReply) GetMessageName() string
func (*GetNodeIndexReply) GetMessageType ¶
func (*GetNodeIndexReply) GetMessageType() api.MessageType
type Services ¶ added in v1.8.1
type Services interface { AddNodeNext(*AddNodeNext) (*AddNodeNextReply, error) Cli(*Cli) (*CliReply, error) CliInband(*CliInband) (*CliInbandReply, error) ControlPing(*ControlPing) (*ControlPingReply, error) GetNextIndex(*GetNextIndex) (*GetNextIndexReply, error) GetNodeGraph(*GetNodeGraph) (*GetNodeGraphReply, error) GetNodeIndex(*GetNodeIndex) (*GetNodeIndexReply, error) ShowThreads(*ShowThreads) (*ShowThreadsReply, error) ShowVersion(*ShowVersion) (*ShowVersionReply, error) }
Services represents VPP binary API services:
"services": { "cli_inband": { "reply": "cli_inband_reply" }, "get_node_index": { "reply": "get_node_index_reply" }, "cli": { "reply": "cli_reply" }, "show_version": { "reply": "show_version_reply" }, "get_node_graph": { "reply": "get_node_graph_reply" }, "get_next_index": { "reply": "get_next_index_reply" }, "show_threads": { "reply": "show_threads_reply" }, "add_node_next": { "reply": "add_node_next_reply" }, "control_ping": { "reply": "control_ping_reply" } },
type ShowThreads ¶ added in v1.8.1
type ShowThreads struct{}
ShowThreads represents VPP binary API message 'show_threads':
"show_threads", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], { "crc": "0x51077d14" }
func (*ShowThreads) GetCrcString ¶ added in v1.8.1
func (*ShowThreads) GetCrcString() string
func (*ShowThreads) GetMessageName ¶ added in v1.8.1
func (*ShowThreads) GetMessageName() string
func (*ShowThreads) GetMessageType ¶ added in v1.8.1
func (*ShowThreads) GetMessageType() api.MessageType
type ShowThreadsReply ¶ added in v1.8.1
type ShowThreadsReply struct { Retval int32 Count uint32 `struc:"sizeof=ThreadData"` ThreadData []ThreadData }
ShowThreadsReply represents VPP binary API message 'show_threads_reply':
"show_threads_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u32", "count" ], [ "vl_api_thread_data_t", "thread_data", 0, "count" ], { "crc": "0x6942fb35" }
func (*ShowThreadsReply) GetCrcString ¶ added in v1.8.1
func (*ShowThreadsReply) GetCrcString() string
func (*ShowThreadsReply) GetMessageName ¶ added in v1.8.1
func (*ShowThreadsReply) GetMessageName() string
func (*ShowThreadsReply) GetMessageType ¶ added in v1.8.1
func (*ShowThreadsReply) GetMessageType() api.MessageType
type ShowVersion ¶
type ShowVersion struct{}
ShowVersion represents VPP binary API message 'show_version':
"show_version", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], { "crc": "0x51077d14" }
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 Program []byte `struc:"[32]byte"` Version []byte `struc:"[32]byte"` BuildDate []byte `struc:"[32]byte"` BuildDirectory []byte `struc:"[256]byte"` }
ShowVersionReply represents VPP binary API message 'show_version_reply':
"show_version_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u8", "program", 32 ], [ "u8", "version", 32 ], [ "u8", "build_date", 32 ], [ "u8", "build_directory", 256 ], { "crc": "0x8b5a13b4" }
func (*ShowVersionReply) GetCrcString ¶
func (*ShowVersionReply) GetCrcString() string
func (*ShowVersionReply) GetMessageName ¶
func (*ShowVersionReply) GetMessageName() string
func (*ShowVersionReply) GetMessageType ¶
func (*ShowVersionReply) GetMessageType() api.MessageType
type ThreadData ¶ added in v1.8.1
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':
"thread_data", 0, "count"
func (*ThreadData) GetCrcString ¶ added in v1.8.1
func (*ThreadData) GetCrcString() string
func (*ThreadData) GetTypeName ¶ added in v1.8.1
func (*ThreadData) GetTypeName() string