Versions in this module Expand all Collapse all v0 v0.0.1 May 10, 2024 Changes in this version + const APIFile + const APIVersion + const VersionCrc + func AllMessages() []api.Message + type MplsIPBindUnbind struct + MbIPTableID uint32 + MbIsBind bool + MbLabel uint32 + MbMplsTableID uint32 + MbPrefix ip_types.Prefix + func (*MplsIPBindUnbind) GetCrcString() string + func (*MplsIPBindUnbind) GetMessageName() string + func (*MplsIPBindUnbind) GetMessageType() api.MessageType + func (m *MplsIPBindUnbind) Marshal(b []byte) ([]byte, error) + func (m *MplsIPBindUnbind) Reset() + func (m *MplsIPBindUnbind) Size() (size int) + func (m *MplsIPBindUnbind) Unmarshal(b []byte) error + type MplsIPBindUnbindReply struct + Retval int32 + func (*MplsIPBindUnbindReply) GetCrcString() string + func (*MplsIPBindUnbindReply) GetMessageName() string + func (*MplsIPBindUnbindReply) GetMessageType() api.MessageType + func (m *MplsIPBindUnbindReply) Marshal(b []byte) ([]byte, error) + func (m *MplsIPBindUnbindReply) Reset() + func (m *MplsIPBindUnbindReply) Size() (size int) + func (m *MplsIPBindUnbindReply) Unmarshal(b []byte) error + type MplsInterfaceDetails struct + SwIfIndex interface_types.InterfaceIndex + func (*MplsInterfaceDetails) GetCrcString() string + func (*MplsInterfaceDetails) GetMessageName() string + func (*MplsInterfaceDetails) GetMessageType() api.MessageType + func (m *MplsInterfaceDetails) Marshal(b []byte) ([]byte, error) + func (m *MplsInterfaceDetails) Reset() + func (m *MplsInterfaceDetails) Size() (size int) + func (m *MplsInterfaceDetails) Unmarshal(b []byte) error + type MplsInterfaceDump struct + SwIfIndex interface_types.InterfaceIndex + func (*MplsInterfaceDump) GetCrcString() string + func (*MplsInterfaceDump) GetMessageName() string + func (*MplsInterfaceDump) GetMessageType() api.MessageType + func (m *MplsInterfaceDump) Marshal(b []byte) ([]byte, error) + func (m *MplsInterfaceDump) Reset() + func (m *MplsInterfaceDump) Size() (size int) + func (m *MplsInterfaceDump) Unmarshal(b []byte) error + type MplsRoute struct + MrEos uint8 + MrEosProto uint8 + MrIsMulticast bool + MrLabel uint32 + MrNPaths uint8 + MrPaths []fib_types.FibPath + MrTableID uint32 + type MplsRouteAddDel struct + MrIsAdd bool + MrIsMultipath bool + MrRoute MplsRoute + func (*MplsRouteAddDel) GetCrcString() string + func (*MplsRouteAddDel) GetMessageName() string + func (*MplsRouteAddDel) GetMessageType() api.MessageType + func (m *MplsRouteAddDel) Marshal(b []byte) ([]byte, error) + func (m *MplsRouteAddDel) Reset() + func (m *MplsRouteAddDel) Size() (size int) + func (m *MplsRouteAddDel) Unmarshal(b []byte) error + type MplsRouteAddDelReply struct + Retval int32 + StatsIndex uint32 + func (*MplsRouteAddDelReply) GetCrcString() string + func (*MplsRouteAddDelReply) GetMessageName() string + func (*MplsRouteAddDelReply) GetMessageType() api.MessageType + func (m *MplsRouteAddDelReply) Marshal(b []byte) ([]byte, error) + func (m *MplsRouteAddDelReply) Reset() + func (m *MplsRouteAddDelReply) Size() (size int) + func (m *MplsRouteAddDelReply) Unmarshal(b []byte) error + type MplsRouteDetails struct + MrRoute MplsRoute + func (*MplsRouteDetails) GetCrcString() string + func (*MplsRouteDetails) GetMessageName() string + func (*MplsRouteDetails) GetMessageType() api.MessageType + func (m *MplsRouteDetails) Marshal(b []byte) ([]byte, error) + func (m *MplsRouteDetails) Reset() + func (m *MplsRouteDetails) Size() (size int) + func (m *MplsRouteDetails) Unmarshal(b []byte) error + type MplsRouteDump struct + Table MplsTable + func (*MplsRouteDump) GetCrcString() string + func (*MplsRouteDump) GetMessageName() string + func (*MplsRouteDump) GetMessageType() api.MessageType + func (m *MplsRouteDump) Marshal(b []byte) ([]byte, error) + func (m *MplsRouteDump) Reset() + func (m *MplsRouteDump) Size() (size int) + func (m *MplsRouteDump) Unmarshal(b []byte) error + type MplsTable struct + MtName string + MtTableID uint32 + type MplsTableAddDel struct + MtIsAdd bool + MtTable MplsTable + func (*MplsTableAddDel) GetCrcString() string + func (*MplsTableAddDel) GetMessageName() string + func (*MplsTableAddDel) GetMessageType() api.MessageType + func (m *MplsTableAddDel) Marshal(b []byte) ([]byte, error) + func (m *MplsTableAddDel) Reset() + func (m *MplsTableAddDel) Size() (size int) + func (m *MplsTableAddDel) Unmarshal(b []byte) error + type MplsTableAddDelReply struct + Retval int32 + func (*MplsTableAddDelReply) GetCrcString() string + func (*MplsTableAddDelReply) GetMessageName() string + func (*MplsTableAddDelReply) GetMessageType() api.MessageType + func (m *MplsTableAddDelReply) Marshal(b []byte) ([]byte, error) + func (m *MplsTableAddDelReply) Reset() + func (m *MplsTableAddDelReply) Size() (size int) + func (m *MplsTableAddDelReply) Unmarshal(b []byte) error + type MplsTableDetails struct + MtTable MplsTable + func (*MplsTableDetails) GetCrcString() string + func (*MplsTableDetails) GetMessageName() string + func (*MplsTableDetails) GetMessageType() api.MessageType + func (m *MplsTableDetails) Marshal(b []byte) ([]byte, error) + func (m *MplsTableDetails) Reset() + func (m *MplsTableDetails) Size() (size int) + func (m *MplsTableDetails) Unmarshal(b []byte) error + type MplsTableDump struct + func (*MplsTableDump) GetCrcString() string + func (*MplsTableDump) GetMessageName() string + func (*MplsTableDump) GetMessageType() api.MessageType + func (m *MplsTableDump) Marshal(b []byte) ([]byte, error) + func (m *MplsTableDump) Reset() + func (m *MplsTableDump) Size() (size int) + func (m *MplsTableDump) Unmarshal(b []byte) error + type MplsTunnel struct + MtIsMulticast bool + MtL2Only bool + MtNPaths uint8 + MtPaths []fib_types.FibPath + MtSwIfIndex interface_types.InterfaceIndex + MtTag string + MtTunnelIndex uint32 + type MplsTunnelAddDel struct + MtIsAdd bool + MtTunnel MplsTunnel + func (*MplsTunnelAddDel) GetCrcString() string + func (*MplsTunnelAddDel) GetMessageName() string + func (*MplsTunnelAddDel) GetMessageType() api.MessageType + func (m *MplsTunnelAddDel) Marshal(b []byte) ([]byte, error) + func (m *MplsTunnelAddDel) Reset() + func (m *MplsTunnelAddDel) Size() (size int) + func (m *MplsTunnelAddDel) Unmarshal(b []byte) error + type MplsTunnelAddDelReply struct + Retval int32 + SwIfIndex interface_types.InterfaceIndex + TunnelIndex uint32 + func (*MplsTunnelAddDelReply) GetCrcString() string + func (*MplsTunnelAddDelReply) GetMessageName() string + func (*MplsTunnelAddDelReply) GetMessageType() api.MessageType + func (m *MplsTunnelAddDelReply) Marshal(b []byte) ([]byte, error) + func (m *MplsTunnelAddDelReply) Reset() + func (m *MplsTunnelAddDelReply) Size() (size int) + func (m *MplsTunnelAddDelReply) Unmarshal(b []byte) error + type MplsTunnelDetails struct + MtTunnel MplsTunnel + func (*MplsTunnelDetails) GetCrcString() string + func (*MplsTunnelDetails) GetMessageName() string + func (*MplsTunnelDetails) GetMessageType() api.MessageType + func (m *MplsTunnelDetails) Marshal(b []byte) ([]byte, error) + func (m *MplsTunnelDetails) Reset() + func (m *MplsTunnelDetails) Size() (size int) + func (m *MplsTunnelDetails) Unmarshal(b []byte) error + type MplsTunnelDump struct + SwIfIndex interface_types.InterfaceIndex + func (*MplsTunnelDump) GetCrcString() string + func (*MplsTunnelDump) GetMessageName() string + func (*MplsTunnelDump) GetMessageType() api.MessageType + func (m *MplsTunnelDump) Marshal(b []byte) ([]byte, error) + func (m *MplsTunnelDump) Reset() + func (m *MplsTunnelDump) Size() (size int) + func (m *MplsTunnelDump) Unmarshal(b []byte) error + type RPCService interface + MplsIPBindUnbind func(ctx context.Context, in *MplsIPBindUnbind) (*MplsIPBindUnbindReply, error) + MplsInterfaceDump func(ctx context.Context, in *MplsInterfaceDump) (RPCService_MplsInterfaceDumpClient, error) + MplsRouteAddDel func(ctx context.Context, in *MplsRouteAddDel) (*MplsRouteAddDelReply, error) + MplsRouteDump func(ctx context.Context, in *MplsRouteDump) (RPCService_MplsRouteDumpClient, error) + MplsTableAddDel func(ctx context.Context, in *MplsTableAddDel) (*MplsTableAddDelReply, error) + MplsTableDump func(ctx context.Context, in *MplsTableDump) (RPCService_MplsTableDumpClient, error) + MplsTunnelAddDel func(ctx context.Context, in *MplsTunnelAddDel) (*MplsTunnelAddDelReply, error) + MplsTunnelDump func(ctx context.Context, in *MplsTunnelDump) (RPCService_MplsTunnelDumpClient, error) + SwInterfaceSetMplsEnable func(ctx context.Context, in *SwInterfaceSetMplsEnable) (*SwInterfaceSetMplsEnableReply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_MplsInterfaceDumpClient interface + Recv func() (*MplsInterfaceDetails, error) + type RPCService_MplsRouteDumpClient interface + Recv func() (*MplsRouteDetails, error) + type RPCService_MplsTableDumpClient interface + Recv func() (*MplsTableDetails, error) + type RPCService_MplsTunnelDumpClient interface + Recv func() (*MplsTunnelDetails, error) + type SwInterfaceSetMplsEnable struct + Enable bool + SwIfIndex interface_types.InterfaceIndex + func (*SwInterfaceSetMplsEnable) GetCrcString() string + func (*SwInterfaceSetMplsEnable) GetMessageName() string + func (*SwInterfaceSetMplsEnable) GetMessageType() api.MessageType + func (m *SwInterfaceSetMplsEnable) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetMplsEnable) Reset() + func (m *SwInterfaceSetMplsEnable) Size() (size int) + func (m *SwInterfaceSetMplsEnable) Unmarshal(b []byte) error + type SwInterfaceSetMplsEnableReply struct + Retval int32 + func (*SwInterfaceSetMplsEnableReply) GetCrcString() string + func (*SwInterfaceSetMplsEnableReply) GetMessageName() string + func (*SwInterfaceSetMplsEnableReply) GetMessageType() api.MessageType + func (m *SwInterfaceSetMplsEnableReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetMplsEnableReply) Reset() + func (m *SwInterfaceSetMplsEnableReply) Size() (size int) + func (m *SwInterfaceSetMplsEnableReply) Unmarshal(b []byte) error