Documentation ¶
Overview ¶
Package tapv2 is a generated from VPP binary API module 'tapv2'. It contains following objects: 6 messages 3 services
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Services ¶ added in v1.8.1
type Services interface { DumpSwInterfaceTapV2(*SwInterfaceTapV2Dump) (*SwInterfaceTapV2Details, error) TapCreateV2(*TapCreateV2) (*TapCreateV2Reply, error) TapDeleteV2(*TapDeleteV2) (*TapDeleteV2Reply, error) }
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'.
"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'.
"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'.
"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 ¶
TapCreateV2Reply represents the VPP binary API message 'tap_create_v2_reply'.
"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'.
"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'.
"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
Click to show internal directories.
Click to hide internal directories.