tap

package
v2.2.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package tap is a generated VPP binary API for 'tap' module.

It consists of:

8 messages
4 services

Index

Constants

View Source
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

func AllMessages() []api.Message

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

type SwInterfaceTapDetails struct {
	SwIfIndex uint32
	DevName   []byte `struc:"[64]byte"`
}

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

type TapConnectReply struct {
	Retval    int32
	SwIfIndex uint32
}

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) GetCrcString() string

func (*TapDelete) GetMessageName

func (*TapDelete) GetMessageName() string

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) GetCrcString() string

func (*TapModify) GetMessageName

func (*TapModify) GetMessageName() string

func (*TapModify) GetMessageType

func (*TapModify) GetMessageType() api.MessageType

type TapModifyReply

type TapModifyReply struct {
	Retval    int32
	SwIfIndex uint32
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL