Documentation ¶
Overview ¶
Package tap is a generated from VPP binary API module 'tap'. It contains following objects: 4 services 8 messages
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Messages = []api.Message{ (*SwInterfaceTapDetails)(nil), (*SwInterfaceTapDump)(nil), (*TapConnect)(nil), (*TapConnectReply)(nil), (*TapDelete)(nil), (*TapDeleteReply)(nil), (*TapModify)(nil), (*TapModifyReply)(nil), }
Functions ¶
This section is empty.
Types ¶
type Services ¶
type Services interface { DumpSwInterfaceTap(*SwInterfaceTapDump) ([]*SwInterfaceTapDetails, error) TapConnect(*TapConnect) (*TapConnectReply, error) TapDelete(*TapDelete) (*TapDeleteReply, error) TapModify(*TapModify) (*TapModifyReply, error) }
Services represents VPP binary API services:
type SwInterfaceTapDetails ¶
SwInterfaceTapDetails represents VPP binary API message 'sw_interface_tap_details':
func (*SwInterfaceTapDetails) GetCrcString ¶
func (*SwInterfaceTapDetails) GetCrcString() string
func (*SwInterfaceTapDetails) GetMessageName ¶
func (*SwInterfaceTapDetails) GetMessageName() string
func (*SwInterfaceTapDetails) GetMessageType ¶
func (*SwInterfaceTapDetails) GetMessageType() api.MessageType
type SwInterfaceTapDump ¶
type SwInterfaceTapDump struct{}
SwInterfaceTapDump represents VPP binary API message 'sw_interface_tap_dump':
func (*SwInterfaceTapDump) GetCrcString ¶
func (*SwInterfaceTapDump) GetCrcString() string
func (*SwInterfaceTapDump) GetMessageName ¶
func (*SwInterfaceTapDump) GetMessageName() string
func (*SwInterfaceTapDump) GetMessageType ¶
func (*SwInterfaceTapDump) GetMessageType() api.MessageType
type TapConnect ¶
type TapConnect struct { UseRandomMac uint8 TapName []byte `struc:"[64]byte"` MacAddress []byte `struc:"[6]byte"` Renumber uint8 CustomDevInstance uint32 IP4AddressSet uint8 IP4Address []byte `struc:"[4]byte"` IP4MaskWidth uint8 IP6AddressSet uint8 IP6Address []byte `struc:"[16]byte"` IP6MaskWidth uint8 Tag []byte `struc:"[64]byte"` }
TapConnect represents VPP binary API message 'tap_connect':
func (*TapConnect) GetCrcString ¶
func (*TapConnect) GetCrcString() string
func (*TapConnect) GetMessageName ¶
func (*TapConnect) GetMessageName() string
func (*TapConnect) GetMessageType ¶
func (*TapConnect) GetMessageType() api.MessageType
type TapConnectReply ¶
TapConnectReply represents VPP binary API message 'tap_connect_reply':
func (*TapConnectReply) GetCrcString ¶
func (*TapConnectReply) GetCrcString() string
func (*TapConnectReply) GetMessageName ¶
func (*TapConnectReply) GetMessageName() string
func (*TapConnectReply) GetMessageType ¶
func (*TapConnectReply) GetMessageType() api.MessageType
type TapDelete ¶
type TapDelete struct {
SwIfIndex uint32
}
TapDelete represents VPP binary API message 'tap_delete':
func (*TapDelete) GetCrcString ¶
func (*TapDelete) GetMessageName ¶
func (*TapDelete) GetMessageType ¶
func (*TapDelete) GetMessageType() api.MessageType
type TapDeleteReply ¶
type TapDeleteReply struct {
Retval int32
}
TapDeleteReply represents VPP binary API message 'tap_delete_reply':
func (*TapDeleteReply) GetCrcString ¶
func (*TapDeleteReply) GetCrcString() string
func (*TapDeleteReply) GetMessageName ¶
func (*TapDeleteReply) GetMessageName() string
func (*TapDeleteReply) GetMessageType ¶
func (*TapDeleteReply) GetMessageType() api.MessageType
type TapModify ¶
type TapModify struct { SwIfIndex uint32 UseRandomMac uint8 TapName []byte `struc:"[64]byte"` MacAddress []byte `struc:"[6]byte"` Renumber uint8 CustomDevInstance uint32 }
TapModify represents VPP binary API message 'tap_modify':
func (*TapModify) GetCrcString ¶
func (*TapModify) GetMessageName ¶
func (*TapModify) GetMessageType ¶
func (*TapModify) GetMessageType() api.MessageType
type TapModifyReply ¶
TapModifyReply represents VPP binary API message 'tap_modify_reply':
func (*TapModifyReply) GetCrcString ¶
func (*TapModifyReply) GetCrcString() string
func (*TapModifyReply) GetMessageName ¶
func (*TapModifyReply) GetMessageName() string
func (*TapModifyReply) GetMessageType ¶
func (*TapModifyReply) GetMessageType() api.MessageType
Click to show internal directories.
Click to hide internal directories.