memif

package
v1.8.1 Latest Latest
Warning

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

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

Documentation

Overview

 Package memif is a generated from VPP binary API module 'memif'.

 It contains following objects:
	  5 services
	 10 messages

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type MemifCreate

type MemifCreate struct {
	Role       uint8
	Mode       uint8
	RxQueues   uint8
	TxQueues   uint8
	ID         uint32
	SocketID   uint32
	Secret     []byte `struc:"[24]byte"`
	RingSize   uint32
	BufferSize uint16
	HwAddr     []byte `struc:"[6]byte"`
}

MemifCreate represents VPP binary API message 'memif_create':

func (*MemifCreate) GetCrcString

func (*MemifCreate) GetCrcString() string

func (*MemifCreate) GetMessageName

func (*MemifCreate) GetMessageName() string

func (*MemifCreate) GetMessageType

func (*MemifCreate) GetMessageType() api.MessageType

type MemifCreateReply

type MemifCreateReply struct {
	Retval    int32
	SwIfIndex uint32
}

MemifCreateReply represents VPP binary API message 'memif_create_reply':

func (*MemifCreateReply) GetCrcString

func (*MemifCreateReply) GetCrcString() string

func (*MemifCreateReply) GetMessageName

func (*MemifCreateReply) GetMessageName() string

func (*MemifCreateReply) GetMessageType

func (*MemifCreateReply) GetMessageType() api.MessageType

type MemifDelete

type MemifDelete struct {
	SwIfIndex uint32
}

MemifDelete represents VPP binary API message 'memif_delete':

func (*MemifDelete) GetCrcString

func (*MemifDelete) GetCrcString() string

func (*MemifDelete) GetMessageName

func (*MemifDelete) GetMessageName() string

func (*MemifDelete) GetMessageType

func (*MemifDelete) GetMessageType() api.MessageType

type MemifDeleteReply

type MemifDeleteReply struct {
	Retval int32
}

MemifDeleteReply represents VPP binary API message 'memif_delete_reply':

func (*MemifDeleteReply) GetCrcString

func (*MemifDeleteReply) GetCrcString() string

func (*MemifDeleteReply) GetMessageName

func (*MemifDeleteReply) GetMessageName() string

func (*MemifDeleteReply) GetMessageType

func (*MemifDeleteReply) GetMessageType() api.MessageType

type MemifDetails

type MemifDetails struct {
	SwIfIndex   uint32
	IfName      []byte `struc:"[64]byte"`
	HwAddr      []byte `struc:"[6]byte"`
	ID          uint32
	Role        uint8
	Mode        uint8
	SocketID    uint32
	RingSize    uint32
	BufferSize  uint16
	AdminUpDown uint8
	LinkUpDown  uint8
}

MemifDetails represents VPP binary API message 'memif_details':

func (*MemifDetails) GetCrcString

func (*MemifDetails) GetCrcString() string

func (*MemifDetails) GetMessageName

func (*MemifDetails) GetMessageName() string

func (*MemifDetails) GetMessageType

func (*MemifDetails) GetMessageType() api.MessageType

type MemifDump

type MemifDump struct{}

MemifDump represents VPP binary API message 'memif_dump':

func (*MemifDump) GetCrcString

func (*MemifDump) GetCrcString() string

func (*MemifDump) GetMessageName

func (*MemifDump) GetMessageName() string

func (*MemifDump) GetMessageType

func (*MemifDump) GetMessageType() api.MessageType

type MemifSocketFilenameAddDel

type MemifSocketFilenameAddDel struct {
	IsAdd          uint8
	SocketID       uint32
	SocketFilename []byte `struc:"[128]byte"`
}

MemifSocketFilenameAddDel represents VPP binary API message 'memif_socket_filename_add_del':

func (*MemifSocketFilenameAddDel) GetCrcString

func (*MemifSocketFilenameAddDel) GetCrcString() string

func (*MemifSocketFilenameAddDel) GetMessageName

func (*MemifSocketFilenameAddDel) GetMessageName() string

func (*MemifSocketFilenameAddDel) GetMessageType

func (*MemifSocketFilenameAddDel) GetMessageType() api.MessageType

type MemifSocketFilenameAddDelReply

type MemifSocketFilenameAddDelReply struct {
	Retval int32
}

MemifSocketFilenameAddDelReply represents VPP binary API message 'memif_socket_filename_add_del_reply':

func (*MemifSocketFilenameAddDelReply) GetCrcString

func (*MemifSocketFilenameAddDelReply) GetCrcString() string

func (*MemifSocketFilenameAddDelReply) GetMessageName

func (*MemifSocketFilenameAddDelReply) GetMessageName() string

func (*MemifSocketFilenameAddDelReply) GetMessageType

type MemifSocketFilenameDetails

type MemifSocketFilenameDetails struct {
	SocketID       uint32
	SocketFilename []byte `struc:"[128]byte"`
}

MemifSocketFilenameDetails represents VPP binary API message 'memif_socket_filename_details':

func (*MemifSocketFilenameDetails) GetCrcString

func (*MemifSocketFilenameDetails) GetCrcString() string

func (*MemifSocketFilenameDetails) GetMessageName

func (*MemifSocketFilenameDetails) GetMessageName() string

func (*MemifSocketFilenameDetails) GetMessageType

func (*MemifSocketFilenameDetails) GetMessageType() api.MessageType

type MemifSocketFilenameDump

type MemifSocketFilenameDump struct{}

MemifSocketFilenameDump represents VPP binary API message 'memif_socket_filename_dump':

func (*MemifSocketFilenameDump) GetCrcString

func (*MemifSocketFilenameDump) GetCrcString() string

func (*MemifSocketFilenameDump) GetMessageName

func (*MemifSocketFilenameDump) GetMessageName() string

func (*MemifSocketFilenameDump) GetMessageType

func (*MemifSocketFilenameDump) GetMessageType() api.MessageType

type Services added in v1.8.1

type Services interface {
	DumpMemif(*MemifDump) ([]*MemifDetails, error)
	DumpMemifSocketFilename(*MemifSocketFilenameDump) ([]*MemifSocketFilenameDetails, error)
	MemifCreate(*MemifCreate) (*MemifCreateReply, error)
	MemifDelete(*MemifDelete) (*MemifDeleteReply, error)
	MemifSocketFilenameAddDel(*MemifSocketFilenameAddDel) (*MemifSocketFilenameAddDelReply, error)
}

Services represents VPP binary API services:

Jump to

Keyboard shortcuts

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