tap

package
v2.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

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

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

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