teib

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package teib contains generated bindings for API file teib.api.

Contents: - 1 struct - 4 messages

Index

Constants

View Source
const (
	APIFile    = "teib"
	APIVersion = "1.0.0"
	VersionCrc = 0x14ded985
)

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 {
	TeibDump(ctx context.Context, in *TeibDump) (RPCService_TeibDumpClient, error)
	TeibEntryAddDel(ctx context.Context, in *TeibEntryAddDel) (*TeibEntryAddDelReply, error)
}

RPCService defines RPC service teib.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_TeibDumpClient

type RPCService_TeibDumpClient interface {
	Recv() (*TeibDetails, error)
	api.Stream
}

type TeibDetails

type TeibDetails struct {
	Entry TeibEntry `binapi:"teib_entry,name=entry" json:"entry,omitempty"`
}

TeibDetails defines message 'teib_details'.

func (*TeibDetails) GetCrcString

func (*TeibDetails) GetCrcString() string

func (*TeibDetails) GetMessageName

func (*TeibDetails) GetMessageName() string

func (*TeibDetails) GetMessageType

func (*TeibDetails) GetMessageType() api.MessageType

func (*TeibDetails) Marshal

func (m *TeibDetails) Marshal(b []byte) ([]byte, error)

func (*TeibDetails) Reset

func (m *TeibDetails) Reset()

func (*TeibDetails) Size

func (m *TeibDetails) Size() (size int)

func (*TeibDetails) Unmarshal

func (m *TeibDetails) Unmarshal(b []byte) error

type TeibDump

type TeibDump struct{}

TeibDump defines message 'teib_dump'.

func (*TeibDump) GetCrcString

func (*TeibDump) GetCrcString() string

func (*TeibDump) GetMessageName

func (*TeibDump) GetMessageName() string

func (*TeibDump) GetMessageType

func (*TeibDump) GetMessageType() api.MessageType

func (*TeibDump) Marshal

func (m *TeibDump) Marshal(b []byte) ([]byte, error)

func (*TeibDump) Reset

func (m *TeibDump) Reset()

func (*TeibDump) Size

func (m *TeibDump) Size() (size int)

func (*TeibDump) Unmarshal

func (m *TeibDump) Unmarshal(b []byte) error

type TeibEntry

type TeibEntry struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Peer      ip_types.Address               `binapi:"address,name=peer" json:"peer,omitempty"`
	Nh        ip_types.Address               `binapi:"address,name=nh" json:"nh,omitempty"`
	NhTableID uint32                         `binapi:"u32,name=nh_table_id" json:"nh_table_id,omitempty"`
}

TeibEntry defines type 'teib_entry'.

type TeibEntryAddDel

type TeibEntryAddDel struct {
	IsAdd uint8     `binapi:"u8,name=is_add" json:"is_add,omitempty"`
	Entry TeibEntry `binapi:"teib_entry,name=entry" json:"entry,omitempty"`
}

TeibEntryAddDel defines message 'teib_entry_add_del'.

func (*TeibEntryAddDel) GetCrcString

func (*TeibEntryAddDel) GetCrcString() string

func (*TeibEntryAddDel) GetMessageName

func (*TeibEntryAddDel) GetMessageName() string

func (*TeibEntryAddDel) GetMessageType

func (*TeibEntryAddDel) GetMessageType() api.MessageType

func (*TeibEntryAddDel) Marshal

func (m *TeibEntryAddDel) Marshal(b []byte) ([]byte, error)

func (*TeibEntryAddDel) Reset

func (m *TeibEntryAddDel) Reset()

func (*TeibEntryAddDel) Size

func (m *TeibEntryAddDel) Size() (size int)

func (*TeibEntryAddDel) Unmarshal

func (m *TeibEntryAddDel) Unmarshal(b []byte) error

type TeibEntryAddDelReply

type TeibEntryAddDelReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

TeibEntryAddDelReply defines message 'teib_entry_add_del_reply'.

func (*TeibEntryAddDelReply) GetCrcString

func (*TeibEntryAddDelReply) GetCrcString() string

func (*TeibEntryAddDelReply) GetMessageName

func (*TeibEntryAddDelReply) GetMessageName() string

func (*TeibEntryAddDelReply) GetMessageType

func (*TeibEntryAddDelReply) GetMessageType() api.MessageType

func (*TeibEntryAddDelReply) Marshal

func (m *TeibEntryAddDelReply) Marshal(b []byte) ([]byte, error)

func (*TeibEntryAddDelReply) Reset

func (m *TeibEntryAddDelReply) Reset()

func (*TeibEntryAddDelReply) Size

func (m *TeibEntryAddDelReply) Size() (size int)

func (*TeibEntryAddDelReply) Unmarshal

func (m *TeibEntryAddDelReply) Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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