Documentation ¶
Overview ¶
Package tap is a generated VPP binary API for 'tap' module.
It consists of:
8 messages 4 services
Index ¶
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "tap" // VersionCrc is the CRC of this module. VersionCrc = 0xacec1ba1 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type RPCService ¶
type RPCService interface { DumpSwInterfaceTap(ctx context.Context, in *SwInterfaceTapDump) (RPCService_DumpSwInterfaceTapClient, error) TapConnect(ctx context.Context, in *TapConnect) (*TapConnectReply, error) TapDelete(ctx context.Context, in *TapDelete) (*TapDeleteReply, error) TapModify(ctx context.Context, in *TapModify) (*TapModifyReply, error) }
RPCService represents RPC service API for tap module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpSwInterfaceTapClient ¶
type RPCService_DumpSwInterfaceTapClient interface {
Recv() (*SwInterfaceTapDetails, error)
}
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