Documentation
¶
Overview ¶
Package tapv2 is a generated from VPP binary API module 'tapv2'. It contains following objects: 3 services 6 messages
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Messages = []api.Message{ (*SwInterfaceTapV2Details)(nil), (*SwInterfaceTapV2Dump)(nil), (*TapCreateV2)(nil), (*TapCreateV2Reply)(nil), (*TapDeleteV2)(nil), (*TapDeleteV2Reply)(nil), }
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)
}
Services represents VPP binary API services:
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
TapFlags uint32
}
SwInterfaceTapV2Details represents VPP binary API message 'sw_interface_tap_v2_details':
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 VPP binary API message 'sw_interface_tap_v2_dump':
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"`
TapFlags uint32
}
TapCreateV2 represents VPP binary API message 'tap_create_v2':
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 VPP binary API message 'tap_create_v2_reply':
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 VPP binary API message 'tap_delete_v2':
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 VPP binary API message 'tap_delete_v2_reply':
func (*TapDeleteV2Reply) GetCrcString ¶
func (*TapDeleteV2Reply) GetCrcString() string
func (*TapDeleteV2Reply) GetMessageName ¶
func (*TapDeleteV2Reply) GetMessageName() string
func (*TapDeleteV2Reply) GetMessageType ¶
func (*TapDeleteV2Reply) GetMessageType() api.MessageType
Source Files
¶
- tapv2.ba.go
Click to show internal directories.
Click to hide internal directories.