vpe

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by govpp binapi-generator DO NOT EDIT. Package vpe represents the VPP binary API of the 'vpe' VPP module. Generated from '/usr/share/vpp/api/vpe.api.json'

Index

Constants

View Source
const VlAPIVersion = 0xab95e854

VlApiVersion contains version of the API.

Variables

View Source
var Consts = map[string]reflect.Value{
	"VlAPIVersion": reflect.ValueOf(VlAPIVersion),
}
View Source
var Functions = map[string]reflect.Value{
	"NewAddNodeNext":       reflect.ValueOf(NewAddNodeNext),
	"NewAddNodeNextReply":  reflect.ValueOf(NewAddNodeNextReply),
	"NewCli":               reflect.ValueOf(NewCli),
	"NewCliInband":         reflect.ValueOf(NewCliInband),
	"NewCliInbandReply":    reflect.ValueOf(NewCliInbandReply),
	"NewCliReply":          reflect.ValueOf(NewCliReply),
	"NewControlPing":       reflect.ValueOf(NewControlPing),
	"NewControlPingReply":  reflect.ValueOf(NewControlPingReply),
	"NewGetNextIndex":      reflect.ValueOf(NewGetNextIndex),
	"NewGetNextIndexReply": reflect.ValueOf(NewGetNextIndexReply),
	"NewGetNodeGraph":      reflect.ValueOf(NewGetNodeGraph),
	"NewGetNodeGraphReply": reflect.ValueOf(NewGetNodeGraphReply),
	"NewGetNodeIndex":      reflect.ValueOf(NewGetNodeIndex),
	"NewGetNodeIndexReply": reflect.ValueOf(NewGetNodeIndexReply),
	"NewShowVersion":       reflect.ValueOf(NewShowVersion),
	"NewShowVersionReply":  reflect.ValueOf(NewShowVersionReply),
}
View Source
var Types = map[string]reflect.Type{
	"AddNodeNext":       reflect.TypeOf((*AddNodeNext)(nil)).Elem(),
	"AddNodeNextReply":  reflect.TypeOf((*AddNodeNextReply)(nil)).Elem(),
	"Cli":               reflect.TypeOf((*Cli)(nil)).Elem(),
	"CliInband":         reflect.TypeOf((*CliInband)(nil)).Elem(),
	"CliInbandReply":    reflect.TypeOf((*CliInbandReply)(nil)).Elem(),
	"CliReply":          reflect.TypeOf((*CliReply)(nil)).Elem(),
	"ControlPing":       reflect.TypeOf((*ControlPing)(nil)).Elem(),
	"ControlPingReply":  reflect.TypeOf((*ControlPingReply)(nil)).Elem(),
	"GetNextIndex":      reflect.TypeOf((*GetNextIndex)(nil)).Elem(),
	"GetNextIndexReply": reflect.TypeOf((*GetNextIndexReply)(nil)).Elem(),
	"GetNodeGraph":      reflect.TypeOf((*GetNodeGraph)(nil)).Elem(),
	"GetNodeGraphReply": reflect.TypeOf((*GetNodeGraphReply)(nil)).Elem(),
	"GetNodeIndex":      reflect.TypeOf((*GetNodeIndex)(nil)).Elem(),
	"GetNodeIndexReply": reflect.TypeOf((*GetNodeIndexReply)(nil)).Elem(),
	"ShowVersion":       reflect.TypeOf((*ShowVersion)(nil)).Elem(),
	"ShowVersionReply":  reflect.TypeOf((*ShowVersionReply)(nil)).Elem(),
}
View Source
var Variables = map[string]reflect.Value{}

Functions

func NewAddNodeNext

func NewAddNodeNext() api.Message

func NewAddNodeNextReply

func NewAddNodeNextReply() api.Message

func NewCli

func NewCli() api.Message

func NewCliInband

func NewCliInband() api.Message

func NewCliInbandReply

func NewCliInbandReply() api.Message

func NewCliReply

func NewCliReply() api.Message

func NewControlPing

func NewControlPing() api.Message

func NewControlPingReply

func NewControlPingReply() api.Message

func NewGetNextIndex

func NewGetNextIndex() api.Message

func NewGetNextIndexReply

func NewGetNextIndexReply() api.Message

func NewGetNodeGraph

func NewGetNodeGraph() api.Message

func NewGetNodeGraphReply

func NewGetNodeGraphReply() api.Message

func NewGetNodeIndex

func NewGetNodeIndex() api.Message

func NewGetNodeIndexReply

func NewGetNodeIndexReply() api.Message

func NewShowVersion

func NewShowVersion() api.Message

func NewShowVersionReply

func NewShowVersionReply() api.Message

Types

type AddNodeNext

type AddNodeNext struct {
	NodeName []byte `struc:"[64]byte"`
	NextName []byte `struc:"[64]byte"`
}

AddNodeNext represents the VPP binary API message 'add_node_next'. Generated from '/usr/share/vpp/api/vpe.api.json', line 64:

["add_node_next",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u8", "node_name", 64],
    ["u8", "next_name", 64],
    {"crc" : "0xe4202993"}
],

func (*AddNodeNext) GetCrcString

func (*AddNodeNext) GetCrcString() string

func (*AddNodeNext) GetMessageName

func (*AddNodeNext) GetMessageName() string

func (*AddNodeNext) GetMessageType

func (*AddNodeNext) GetMessageType() api.MessageType

type AddNodeNextReply

type AddNodeNextReply struct {
	Retval    int32
	NextIndex uint32
}

AddNodeNextReply represents the VPP binary API message 'add_node_next_reply'. Generated from '/usr/share/vpp/api/vpe.api.json', line 72:

["add_node_next_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u32", "next_index"],
    {"crc" : "0xe89d6eed"}
],

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 the VPP binary API message 'cli'. Generated from '/usr/share/vpp/api/vpe.api.json', line 20:

["cli",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u64", "cmd_in_shmem"],
    {"crc" : "0x543d8e2e"}
],

func (*Cli) GetCrcString

func (*Cli) GetCrcString() string

func (*Cli) GetMessageName

func (*Cli) GetMessageName() string

func (*Cli) GetMessageType

func (*Cli) GetMessageType() api.MessageType

type CliInband

type CliInband struct {
	Length uint32 `struc:"sizeof=Cmd"`
	Cmd    []byte
}

CliInband represents the VPP binary API message 'cli_inband'. Generated from '/usr/share/vpp/api/vpe.api.json', line 27:

["cli_inband",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "length"],
    ["u8", "cmd", 0, "length"],
    {"crc" : "0x22345937"}
],

func (*CliInband) GetCrcString

func (*CliInband) GetCrcString() string

func (*CliInband) GetMessageName

func (*CliInband) GetMessageName() string

func (*CliInband) GetMessageType

func (*CliInband) GetMessageType() api.MessageType

type CliInbandReply

type CliInbandReply struct {
	Retval int32
	Length uint32 `struc:"sizeof=Reply"`
	Reply  []byte
}

CliInbandReply represents the VPP binary API message 'cli_inband_reply'. Generated from '/usr/share/vpp/api/vpe.api.json', line 42:

["cli_inband_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u32", "length"],
    ["u8", "reply", 0, "length"],
    {"crc" : "0xc1835761"}
],

func (*CliInbandReply) GetCrcString

func (*CliInbandReply) GetCrcString() string

func (*CliInbandReply) GetMessageName

func (*CliInbandReply) GetMessageName() string

func (*CliInbandReply) GetMessageType

func (*CliInbandReply) GetMessageType() api.MessageType

type CliReply

type CliReply struct {
	Retval       int32
	ReplyInShmem uint64
}

CliReply represents the VPP binary API message 'cli_reply'. Generated from '/usr/share/vpp/api/vpe.api.json', line 35:

["cli_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u64", "reply_in_shmem"],
    {"crc" : "0x594a0b2e"}
],

func (*CliReply) GetCrcString

func (*CliReply) GetCrcString() string

func (*CliReply) GetMessageName

func (*CliReply) GetMessageName() string

func (*CliReply) GetMessageType

func (*CliReply) GetMessageType() api.MessageType

type ControlPing

type ControlPing struct {
}

ControlPing represents the VPP binary API message 'control_ping'. Generated from '/usr/share/vpp/api/vpe.api.json', line 6:

["control_ping",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    {"crc" : "0xea1bf4f7"}
],

func (*ControlPing) GetCrcString

func (*ControlPing) GetCrcString() string

func (*ControlPing) GetMessageName

func (*ControlPing) GetMessageName() string

func (*ControlPing) GetMessageType

func (*ControlPing) GetMessageType() api.MessageType

type ControlPingReply

type ControlPingReply struct {
	Retval      int32
	ClientIndex uint32
	VpePid      uint32
}

ControlPingReply represents the VPP binary API message 'control_ping_reply'. Generated from '/usr/share/vpp/api/vpe.api.json', line 12:

["control_ping_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u32", "client_index"],
    ["u32", "vpe_pid"],
    {"crc" : "0xaa016e7b"}
],

func (*ControlPingReply) GetCrcString

func (*ControlPingReply) GetCrcString() string

func (*ControlPingReply) GetMessageName

func (*ControlPingReply) GetMessageName() string

func (*ControlPingReply) GetMessageType

func (*ControlPingReply) GetMessageType() api.MessageType

type GetNextIndex

type GetNextIndex struct {
	NodeName []byte `struc:"[64]byte"`
	NextName []byte `struc:"[64]byte"`
}

GetNextIndex represents the VPP binary API message 'get_next_index'. Generated from '/usr/share/vpp/api/vpe.api.json', line 108:

["get_next_index",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u8", "node_name", 64],
    ["u8", "next_name", 64],
    {"crc" : "0x52f0e416"}
],

func (*GetNextIndex) GetCrcString

func (*GetNextIndex) GetCrcString() string

func (*GetNextIndex) GetMessageName

func (*GetNextIndex) GetMessageName() string

func (*GetNextIndex) GetMessageType

func (*GetNextIndex) GetMessageType() api.MessageType

type GetNextIndexReply

type GetNextIndexReply struct {
	Retval    int32
	NextIndex uint32
}

GetNextIndexReply represents the VPP binary API message 'get_next_index_reply'. Generated from '/usr/share/vpp/api/vpe.api.json', line 116:

["get_next_index_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u32", "next_index"],
    {"crc" : "0x671fbdb1"}
]

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 the VPP binary API message 'get_node_graph'. Generated from '/usr/share/vpp/api/vpe.api.json', line 95:

["get_node_graph",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    {"crc" : "0xf8636a76"}
],

func (*GetNodeGraph) GetCrcString

func (*GetNodeGraph) GetCrcString() string

func (*GetNodeGraph) GetMessageName

func (*GetNodeGraph) GetMessageName() string

func (*GetNodeGraph) GetMessageType

func (*GetNodeGraph) GetMessageType() api.MessageType

type GetNodeGraphReply

type GetNodeGraphReply struct {
	Retval       int32
	ReplyInShmem uint64
}

GetNodeGraphReply represents the VPP binary API message 'get_node_graph_reply'. Generated from '/usr/share/vpp/api/vpe.api.json', line 101:

["get_node_graph_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u64", "reply_in_shmem"],
    {"crc" : "0x816d91b6"}
],

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 the VPP binary API message 'get_node_index'. Generated from '/usr/share/vpp/api/vpe.api.json', line 50:

["get_node_index",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u8", "node_name", 64],
    {"crc" : "0x226d3f8c"}
],

func (*GetNodeIndex) GetCrcString

func (*GetNodeIndex) GetCrcString() string

func (*GetNodeIndex) GetMessageName

func (*GetNodeIndex) GetMessageName() string

func (*GetNodeIndex) GetMessageType

func (*GetNodeIndex) GetMessageType() api.MessageType

type GetNodeIndexReply

type GetNodeIndexReply struct {
	Retval    int32
	NodeIndex uint32
}

GetNodeIndexReply represents the VPP binary API message 'get_node_index_reply'. Generated from '/usr/share/vpp/api/vpe.api.json', line 57:

["get_node_index_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u32", "node_index"],
    {"crc" : "0x29116865"}
],

func (*GetNodeIndexReply) GetCrcString

func (*GetNodeIndexReply) GetCrcString() string

func (*GetNodeIndexReply) GetMessageName

func (*GetNodeIndexReply) GetMessageName() string

func (*GetNodeIndexReply) GetMessageType

func (*GetNodeIndexReply) GetMessageType() api.MessageType

type ShowVersion

type ShowVersion struct {
}

ShowVersion represents the VPP binary API message 'show_version'. Generated from '/usr/share/vpp/api/vpe.api.json', line 79:

["show_version",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    {"crc" : "0xf18f9480"}
],

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 the VPP binary API message 'show_version_reply'. Generated from '/usr/share/vpp/api/vpe.api.json', line 85:

["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" : "0x83186d9e"}
],

func (*ShowVersionReply) GetCrcString

func (*ShowVersionReply) GetCrcString() string

func (*ShowVersionReply) GetMessageName

func (*ShowVersionReply) GetMessageName() string

func (*ShowVersionReply) GetMessageType

func (*ShowVersionReply) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL