tapv2

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var Consts = map[string]reflect.Value{}
View Source
var Functions = map[string]reflect.Value{
	"NewSwInterfaceTapV2Details": reflect.ValueOf(NewSwInterfaceTapV2Details),
	"NewSwInterfaceTapV2Dump":    reflect.ValueOf(NewSwInterfaceTapV2Dump),
	"NewTapCreateV2":             reflect.ValueOf(NewTapCreateV2),
	"NewTapCreateV2Reply":        reflect.ValueOf(NewTapCreateV2Reply),
	"NewTapDeleteV2":             reflect.ValueOf(NewTapDeleteV2),
	"NewTapDeleteV2Reply":        reflect.ValueOf(NewTapDeleteV2Reply),
}
View Source
var Types = map[string]reflect.Type{
	"SwInterfaceTapV2Details": reflect.TypeOf((*SwInterfaceTapV2Details)(nil)).Elem(),
	"SwInterfaceTapV2Dump":    reflect.TypeOf((*SwInterfaceTapV2Dump)(nil)).Elem(),
	"TapCreateV2":             reflect.TypeOf((*TapCreateV2)(nil)).Elem(),
	"TapCreateV2Reply":        reflect.TypeOf((*TapCreateV2Reply)(nil)).Elem(),
	"TapDeleteV2":             reflect.TypeOf((*TapDeleteV2)(nil)).Elem(),
	"TapDeleteV2Reply":        reflect.TypeOf((*TapDeleteV2Reply)(nil)).Elem(),
}
View Source
var Variables = map[string]reflect.Value{}

Functions

func NewSwInterfaceTapV2Details

func NewSwInterfaceTapV2Details() api.Message

func NewSwInterfaceTapV2Dump

func NewSwInterfaceTapV2Dump() api.Message

func NewTapCreateV2

func NewTapCreateV2() api.Message

func NewTapCreateV2Reply

func NewTapCreateV2Reply() api.Message

func NewTapDeleteV2

func NewTapDeleteV2() api.Message

func NewTapDeleteV2Reply

func NewTapDeleteV2Reply() api.Message

Types

type SwInterfaceTapV2Details

type SwInterfaceTapV2Details struct {
	SwIfIndex        uint32
	ID               uint32
	DevName          []byte `struc:"[64]byte"`
	TxRingSz         uint16
	RxRingSz         uint16
	HostMacAddr      []byte `struc:"[6]byte"`
	HostIfName       []byte `struc:"[64]byte"`
	HostNamespace    []byte `struc:"[64]byte"`
	HostBridge       []byte `struc:"[64]byte"`
	HostIP4Addr      []byte `struc:"[4]byte"`
	HostIP4PrefixLen uint8
	HostIP6Addr      []byte `struc:"[16]byte"`
	HostIP6PrefixLen uint8
}

SwInterfaceTapV2Details represents the VPP binary API message 'sw_interface_tap_v2_details'. Generated from '/usr/share/vpp/api/tapv2.api.json', line 208:

"sw_interface_tap_v2_details",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
[
    "u32",
    "id"
],
[
    "u8",
    "dev_name",
    64
],
[
    "u16",
    "tx_ring_sz"
],
[
    "u16",
    "rx_ring_sz"
],
[
    "u8",
    "host_mac_addr",
    6
],
[
    "u8",
    "host_if_name",
    64
],
[
    "u8",
    "host_namespace",
    64
],
[
    "u8",
    "host_bridge",
    64
],
[
    "u8",
    "host_ip4_addr",
    4
],
[
    "u8",
    "host_ip4_prefix_len"
],
[
    "u8",
    "host_ip6_addr",
    16
],
[
    "u8",
    "host_ip6_prefix_len"
],
{
    "crc": "0xb4c58229"
}

func (*SwInterfaceTapV2Details) GetCrcString

func (*SwInterfaceTapV2Details) GetCrcString() string

func (*SwInterfaceTapV2Details) GetMessageName

func (*SwInterfaceTapV2Details) GetMessageName() string

func (*SwInterfaceTapV2Details) GetMessageType

func (*SwInterfaceTapV2Details) GetMessageType() api.MessageType

type SwInterfaceTapV2Dump

type SwInterfaceTapV2Dump struct {
}

SwInterfaceTapV2Dump represents the VPP binary API message 'sw_interface_tap_v2_dump'. Generated from '/usr/share/vpp/api/tapv2.api.json', line 190:

"sw_interface_tap_v2_dump",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
{
    "crc": "0x51077d14"
}

func (*SwInterfaceTapV2Dump) GetCrcString

func (*SwInterfaceTapV2Dump) GetCrcString() string

func (*SwInterfaceTapV2Dump) GetMessageName

func (*SwInterfaceTapV2Dump) GetMessageName() string

func (*SwInterfaceTapV2Dump) GetMessageType

func (*SwInterfaceTapV2Dump) GetMessageType() api.MessageType

type TapCreateV2

type TapCreateV2 struct {
	ID               uint32
	UseRandomMac     uint8
	MacAddress       []byte `struc:"[6]byte"`
	TxRingSz         uint16
	RxRingSz         uint16
	HostNamespaceSet uint8
	HostNamespace    []byte `struc:"[64]byte"`
	HostMacAddrSet   uint8
	HostMacAddr      []byte `struc:"[6]byte"`
	HostIfNameSet    uint8
	HostIfName       []byte `struc:"[64]byte"`
	HostBridgeSet    uint8
	HostBridge       []byte `struc:"[64]byte"`
	HostIP4AddrSet   uint8
	HostIP4Addr      []byte `struc:"[4]byte"`
	HostIP4PrefixLen uint8
	HostIP6AddrSet   uint8
	HostIP6Addr      []byte `struc:"[16]byte"`
	HostIP6PrefixLen uint8
	HostIP4GwSet     uint8
	HostIP4Gw        []byte `struc:"[4]byte"`
	HostIP6GwSet     uint8
	HostIP6Gw        []byte `struc:"[16]byte"`
	Tag              []byte `struc:"[64]byte"`
}

TapCreateV2 represents the VPP binary API message 'tap_create_v2'. Generated from '/usr/share/vpp/api/tapv2.api.json', line 4:

"tap_create_v2",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "id"
],
[
    "u8",
    "use_random_mac"
],
[
    "u8",
    "mac_address",
    6
],
[
    "u16",
    "tx_ring_sz"
],
[
    "u16",
    "rx_ring_sz"
],
[
    "u8",
    "host_namespace_set"
],
[
    "u8",
    "host_namespace",
    64
],
[
    "u8",
    "host_mac_addr_set"
],
[
    "u8",
    "host_mac_addr",
    6
],
[
    "u8",
    "host_if_name_set"
],
[
    "u8",
    "host_if_name",
    64
],
[
    "u8",
    "host_bridge_set"
],
[
    "u8",
    "host_bridge",
    64
],
[
    "u8",
    "host_ip4_addr_set"
],
[
    "u8",
    "host_ip4_addr",
    4
],
[
    "u8",
    "host_ip4_prefix_len"
],
[
    "u8",
    "host_ip6_addr_set"
],
[
    "u8",
    "host_ip6_addr",
    16
],
[
    "u8",
    "host_ip6_prefix_len"
],
[
    "u8",
    "host_ip4_gw_set"
],
[
    "u8",
    "host_ip4_gw",
    4
],
[
    "u8",
    "host_ip6_gw_set"
],
[
    "u8",
    "host_ip6_gw",
    16
],
[
    "u8",
    "tag",
    64
],
{
    "crc": "0x34ce8043"
}

func (*TapCreateV2) GetCrcString

func (*TapCreateV2) GetCrcString() string

func (*TapCreateV2) GetMessageName

func (*TapCreateV2) GetMessageName() string

func (*TapCreateV2) GetMessageType

func (*TapCreateV2) GetMessageType() api.MessageType

type TapCreateV2Reply

type TapCreateV2Reply struct {
	Retval    int32
	SwIfIndex uint32
}

TapCreateV2Reply represents the VPP binary API message 'tap_create_v2_reply'. Generated from '/usr/share/vpp/api/tapv2.api.json', line 128:

"tap_create_v2_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
[
    "u32",
    "sw_if_index"
],
{
    "crc": "0xfda5941f"
}

func (*TapCreateV2Reply) GetCrcString

func (*TapCreateV2Reply) GetCrcString() string

func (*TapCreateV2Reply) GetMessageName

func (*TapCreateV2Reply) GetMessageName() string

func (*TapCreateV2Reply) GetMessageType

func (*TapCreateV2Reply) GetMessageType() api.MessageType

type TapDeleteV2

type TapDeleteV2 struct {
	SwIfIndex uint32
}

TapDeleteV2 represents the VPP binary API message 'tap_delete_v2'. Generated from '/usr/share/vpp/api/tapv2.api.json', line 150:

"tap_delete_v2",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
{
    "crc": "0x529cb13f"
}

func (*TapDeleteV2) GetCrcString

func (*TapDeleteV2) GetCrcString() string

func (*TapDeleteV2) GetMessageName

func (*TapDeleteV2) GetMessageName() string

func (*TapDeleteV2) GetMessageType

func (*TapDeleteV2) GetMessageType() api.MessageType

type TapDeleteV2Reply

type TapDeleteV2Reply struct {
	Retval int32
}

TapDeleteV2Reply represents the VPP binary API message 'tap_delete_v2_reply'. Generated from '/usr/share/vpp/api/tapv2.api.json', line 172:

"tap_delete_v2_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*TapDeleteV2Reply) GetCrcString

func (*TapDeleteV2Reply) GetCrcString() string

func (*TapDeleteV2Reply) GetMessageName

func (*TapDeleteV2Reply) GetMessageName() string

func (*TapDeleteV2Reply) GetMessageType

func (*TapDeleteV2Reply) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

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