Documentation ¶
Overview ¶
Package teib contains generated bindings for API file teib.api.
Contents:
1 struct 4 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type RPCService
- type RPCService_TeibDumpClient
- type TeibDetails
- func (*TeibDetails) GetCrcString() string
- func (*TeibDetails) GetMessageName() string
- func (*TeibDetails) GetMessageType() api.MessageType
- func (m *TeibDetails) Marshal(b []byte) ([]byte, error)
- func (m *TeibDetails) Reset()
- func (m *TeibDetails) Size() (size int)
- func (m *TeibDetails) Unmarshal(b []byte) error
- type TeibDump
- type TeibEntry
- type TeibEntryAddDel
- func (*TeibEntryAddDel) GetCrcString() string
- func (*TeibEntryAddDel) GetMessageName() string
- func (*TeibEntryAddDel) GetMessageType() api.MessageType
- func (m *TeibEntryAddDel) Marshal(b []byte) ([]byte, error)
- func (m *TeibEntryAddDel) Reset()
- func (m *TeibEntryAddDel) Size() (size int)
- func (m *TeibEntryAddDel) Unmarshal(b []byte) error
- type TeibEntryAddDelReply
- func (*TeibEntryAddDelReply) GetCrcString() string
- func (*TeibEntryAddDelReply) GetMessageName() string
- func (*TeibEntryAddDelReply) GetMessageType() api.MessageType
- func (m *TeibEntryAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *TeibEntryAddDelReply) Reset()
- func (m *TeibEntryAddDelReply) Size() (size int)
- func (m *TeibEntryAddDelReply) Unmarshal(b []byte) error
Constants ¶
View Source
const ( APIFile = "teib" APIVersion = "1.0.0" VersionCrc = 0x7a6bebb )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
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) 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) GetMessageName ¶
func (*TeibDump) GetMessageType ¶
func (*TeibDump) GetMessageType() api.MessageType
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) 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
Click to show internal directories.
Click to hide internal directories.