Documentation ¶
Overview ¶
Package tap is a generated from VPP binary API module 'tap'. It contains following objects: 8 messages 4 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 { DumpSwInterfaceTap(*SwInterfaceTapDump) (*SwInterfaceTapDetails, error) TapConnect(*TapConnect) (*TapConnectReply, error) TapDelete(*TapDelete) (*TapDeleteReply, error) TapModify(*TapModify) (*TapModifyReply, error) }
type SwInterfaceTapDetails ¶
SwInterfaceTapDetails represents the VPP binary API message 'sw_interface_tap_details'.
"sw_interface_tap_details", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "u32", "sw_if_index" ], [ "u8", "dev_name", 64 ], { "crc": "0x76229a57" }
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 the VPP binary API message 'sw_interface_tap_dump'.
"sw_interface_tap_dump", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], { "crc": "0x51077d14" }
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 the VPP binary API message 'tap_connect'.
"tap_connect", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "use_random_mac" ], [ "u8", "tap_name", 64 ], [ "u8", "mac_address", 6 ], [ "u8", "renumber" ], [ "u32", "custom_dev_instance" ], [ "u8", "ip4_address_set" ], [ "u8", "ip4_address", 4 ], [ "u8", "ip4_mask_width" ], [ "u8", "ip6_address_set" ], [ "u8", "ip6_address", 16 ], [ "u8", "ip6_mask_width" ], [ "u8", "tag", 64 ], { "crc": "0x9b9c396f" }
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 the VPP binary API message 'tap_connect_reply'.
"tap_connect_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u32", "sw_if_index" ], { "crc": "0xfda5941f" }
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 the VPP binary API message 'tap_delete'.
"tap_delete", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u32", "sw_if_index" ], { "crc": "0x529cb13f" }
func (*TapDelete) GetCrcString ¶
func (*TapDelete) GetMessageName ¶
func (*TapDelete) GetMessageType ¶
func (*TapDelete) GetMessageType() api.MessageType
type TapDeleteReply ¶
type TapDeleteReply struct {
Retval int32
}
TapDeleteReply represents the VPP binary API message 'tap_delete_reply'.
"tap_delete_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" }
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 the VPP binary API message 'tap_modify'.
"tap_modify", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u32", "sw_if_index" ], [ "u8", "use_random_mac" ], [ "u8", "tap_name", 64 ], [ "u8", "mac_address", 6 ], [ "u8", "renumber" ], [ "u32", "custom_dev_instance" ], { "crc": "0x8047ae5c" }
func (*TapModify) GetCrcString ¶
func (*TapModify) GetMessageName ¶
func (*TapModify) GetMessageType ¶
func (*TapModify) GetMessageType() api.MessageType
type TapModifyReply ¶
TapModifyReply represents the VPP binary API message 'tap_modify_reply'.
"tap_modify_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u32", "sw_if_index" ], { "crc": "0xfda5941f" }
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.