Versions in this module Expand all Collapse all v0 v0.4.0 Jan 17, 2022 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var AddressFamily_name = map[uint32]string + var AddressFamily_value = map[string]uint32 + var IPDscp_name = map[uint8]string + var IPDscp_value = map[string]uint8 + var IPEcn_name = map[uint8]string + var IPEcn_value = map[string]uint8 + var IPProto_name = map[uint32]string + var IPProto_value = map[string]uint32 + var IfStatusFlags_name = map[uint32]string + var IfStatusFlags_value = map[string]uint32 + var IfType_name = map[uint32]string + var IfType_value = map[string]uint32 + var LinkDuplex_name = map[uint32]string + var LinkDuplex_value = map[string]uint32 + var MtuProto_name = map[uint32]string + var MtuProto_value = map[string]uint32 + var QosSource_name = map[uint8]string + var QosSource_value = map[string]uint8 + var RxMode_name = map[uint32]string + var RxMode_value = map[string]uint32 + var SubIfFlags_name = map[uint32]string + var SubIfFlags_value = map[string]uint32 + func AllMessages() []api.Message + type Address struct + Af AddressFamily + Un AddressUnion + func ParseAddress(s string) (Address, error) + func (x *Address) MarshalText() ([]byte, error) + func (x *Address) UnmarshalText(text []byte) error + func (x Address) String() string + func (x Address) ToIP() net.IP + type AddressFamily uint32 + const ADDRESS_IP4 + const ADDRESS_IP6 + func (x AddressFamily) String() string + type AddressUnion struct + XXX_UnionData [16]byte + func AddressUnionIP4(a IP4Address) (u AddressUnion) + func AddressUnionIP6(a IP6Address) (u AddressUnion) + func (u *AddressUnion) GetIP4() (a IP4Address) + func (u *AddressUnion) GetIP6() (a IP6Address) + func (u *AddressUnion) SetIP4(a IP4Address) + func (u *AddressUnion) SetIP6(a IP6Address) + type AddressWithPrefix Prefix + func ParseAddressWithPrefix(s string) (AddressWithPrefix, error) + func (x *AddressWithPrefix) MarshalText() ([]byte, error) + func (x *AddressWithPrefix) UnmarshalText(text []byte) error + func (x AddressWithPrefix) String() string + type IP4Address [4]uint8 + func ParseIP4Address(s string) (IP4Address, error) + func (x *IP4Address) MarshalText() ([]byte, error) + func (x *IP4Address) UnmarshalText(text []byte) error + func (x IP4Address) String() string + func (x IP4Address) ToIP() net.IP + type IP4AddressWithPrefix IP4Prefix + type IP4Prefix struct + Address IP4Address + Len uint8 + func ParseIP4Prefix(s string) (prefix IP4Prefix, err error) + func (x *IP4Prefix) MarshalText() ([]byte, error) + func (x *IP4Prefix) UnmarshalText(text []byte) error + func (x IP4Prefix) String() string + func (x IP4Prefix) ToIPNet() *net.IPNet + type IP6Address [16]uint8 + func ParseIP6Address(s string) (IP6Address, error) + func (x *IP6Address) MarshalText() ([]byte, error) + func (x *IP6Address) UnmarshalText(text []byte) error + func (x IP6Address) String() string + func (x IP6Address) ToIP() net.IP + type IP6AddressWithPrefix IP6Prefix + type IP6Prefix struct + Address IP6Address + Len uint8 + func ParseIP6Prefix(s string) (prefix IP6Prefix, err error) + func (x *IP6Prefix) MarshalText() ([]byte, error) + func (x *IP6Prefix) UnmarshalText(text []byte) error + func (x IP6Prefix) String() string + func (x IP6Prefix) ToIPNet() *net.IPNet + type IPDscp uint8 + const IP_API_DSCP_AF11 + const IP_API_DSCP_AF12 + const IP_API_DSCP_AF13 + const IP_API_DSCP_AF21 + const IP_API_DSCP_AF22 + const IP_API_DSCP_AF23 + const IP_API_DSCP_AF31 + const IP_API_DSCP_AF32 + const IP_API_DSCP_AF33 + const IP_API_DSCP_AF41 + const IP_API_DSCP_AF42 + const IP_API_DSCP_AF43 + const IP_API_DSCP_CS0 + const IP_API_DSCP_CS1 + const IP_API_DSCP_CS2 + const IP_API_DSCP_CS3 + const IP_API_DSCP_CS4 + const IP_API_DSCP_CS5 + const IP_API_DSCP_CS6 + const IP_API_DSCP_CS7 + const IP_API_DSCP_EF + func (x IPDscp) String() string + type IPEcn uint8 + const IP_API_ECN_CE + const IP_API_ECN_ECT0 + const IP_API_ECN_ECT1 + const IP_API_ECN_NONE + func (x IPEcn) String() string + type IPProto uint32 + const IP_API_PROTO_AH + const IP_API_PROTO_EIGRP + const IP_API_PROTO_ESP + const IP_API_PROTO_GRE + const IP_API_PROTO_HOPOPT + const IP_API_PROTO_ICMP + const IP_API_PROTO_IGMP + const IP_API_PROTO_OSPF + const IP_API_PROTO_RESERVED + const IP_API_PROTO_SCTP + const IP_API_PROTO_TCP + const IP_API_PROTO_UDP + func (x IPProto) String() string + type IfStatusFlags uint32 + const IF_STATUS_API_FLAG_ADMIN_UP + const IF_STATUS_API_FLAG_LINK_UP + func (x IfStatusFlags) String() string + type IfType uint32 + const IF_API_TYPE_HARDWARE + const IF_API_TYPE_P2P + const IF_API_TYPE_PIPE + const IF_API_TYPE_SUB + func (x IfType) String() string + type InterfaceIndex uint32 + type LinkDuplex uint32 + const LINK_DUPLEX_API_FULL + const LINK_DUPLEX_API_HALF + const LINK_DUPLEX_API_UNKNOWN + func (x LinkDuplex) String() string + type Mprefix struct + Af AddressFamily + GrpAddress AddressUnion + GrpAddressLength uint16 + SrcAddress AddressUnion + type MtuProto uint32 + const MTU_PROTO_API_IP4 + const MTU_PROTO_API_IP6 + const MTU_PROTO_API_L3 + const MTU_PROTO_API_MPLS + const MTU_PROTO_API_N + func (x MtuProto) String() string + type Prefix struct + Address Address + Len uint8 + func ParsePrefix(ip string) (prefix Prefix, err error) + func (x *Prefix) MarshalText() ([]byte, error) + func (x *Prefix) UnmarshalText(text []byte) error + func (x Prefix) String() string + func (x Prefix) ToIPNet() *net.IPNet + type PrefixMatcher struct + Ge uint8 + Le uint8 + type QosEgressMap struct + ID uint32 + Rows [4]QosEgressMapRow + type QosEgressMapDelete struct + ID uint32 + func (*QosEgressMapDelete) GetCrcString() string + func (*QosEgressMapDelete) GetMessageName() string + func (*QosEgressMapDelete) GetMessageType() api.MessageType + func (m *QosEgressMapDelete) Marshal(b []byte) ([]byte, error) + func (m *QosEgressMapDelete) Reset() + func (m *QosEgressMapDelete) Size() (size int) + func (m *QosEgressMapDelete) Unmarshal(b []byte) error + type QosEgressMapDeleteReply struct + Retval int32 + func (*QosEgressMapDeleteReply) GetCrcString() string + func (*QosEgressMapDeleteReply) GetMessageName() string + func (*QosEgressMapDeleteReply) GetMessageType() api.MessageType + func (m *QosEgressMapDeleteReply) Marshal(b []byte) ([]byte, error) + func (m *QosEgressMapDeleteReply) Reset() + func (m *QosEgressMapDeleteReply) Size() (size int) + func (m *QosEgressMapDeleteReply) Unmarshal(b []byte) error + type QosEgressMapDetails struct + Map QosEgressMap + func (*QosEgressMapDetails) GetCrcString() string + func (*QosEgressMapDetails) GetMessageName() string + func (*QosEgressMapDetails) GetMessageType() api.MessageType + func (m *QosEgressMapDetails) Marshal(b []byte) ([]byte, error) + func (m *QosEgressMapDetails) Reset() + func (m *QosEgressMapDetails) Size() (size int) + func (m *QosEgressMapDetails) Unmarshal(b []byte) error + type QosEgressMapDump struct + func (*QosEgressMapDump) GetCrcString() string + func (*QosEgressMapDump) GetMessageName() string + func (*QosEgressMapDump) GetMessageType() api.MessageType + func (m *QosEgressMapDump) Marshal(b []byte) ([]byte, error) + func (m *QosEgressMapDump) Reset() + func (m *QosEgressMapDump) Size() (size int) + func (m *QosEgressMapDump) Unmarshal(b []byte) error + type QosEgressMapRow struct + Outputs []byte + type QosEgressMapUpdate struct + Map QosEgressMap + func (*QosEgressMapUpdate) GetCrcString() string + func (*QosEgressMapUpdate) GetMessageName() string + func (*QosEgressMapUpdate) GetMessageType() api.MessageType + func (m *QosEgressMapUpdate) Marshal(b []byte) ([]byte, error) + func (m *QosEgressMapUpdate) Reset() + func (m *QosEgressMapUpdate) Size() (size int) + func (m *QosEgressMapUpdate) Unmarshal(b []byte) error + type QosEgressMapUpdateReply struct + Retval int32 + func (*QosEgressMapUpdateReply) GetCrcString() string + func (*QosEgressMapUpdateReply) GetMessageName() string + func (*QosEgressMapUpdateReply) GetMessageType() api.MessageType + func (m *QosEgressMapUpdateReply) Marshal(b []byte) ([]byte, error) + func (m *QosEgressMapUpdateReply) Reset() + func (m *QosEgressMapUpdateReply) Size() (size int) + func (m *QosEgressMapUpdateReply) Unmarshal(b []byte) error + type QosMark struct + MapID uint32 + OutputSource QosSource + SwIfIndex uint32 + type QosMarkDetails struct + Mark QosMark + func (*QosMarkDetails) GetCrcString() string + func (*QosMarkDetails) GetMessageName() string + func (*QosMarkDetails) GetMessageType() api.MessageType + func (m *QosMarkDetails) Marshal(b []byte) ([]byte, error) + func (m *QosMarkDetails) Reset() + func (m *QosMarkDetails) Size() (size int) + func (m *QosMarkDetails) Unmarshal(b []byte) error + type QosMarkDetailsReply struct + Retval int32 + func (*QosMarkDetailsReply) GetCrcString() string + func (*QosMarkDetailsReply) GetMessageName() string + func (*QosMarkDetailsReply) GetMessageType() api.MessageType + func (m *QosMarkDetailsReply) Marshal(b []byte) ([]byte, error) + func (m *QosMarkDetailsReply) Reset() + func (m *QosMarkDetailsReply) Size() (size int) + func (m *QosMarkDetailsReply) Unmarshal(b []byte) error + type QosMarkDump struct + SwIfIndex InterfaceIndex + func (*QosMarkDump) GetCrcString() string + func (*QosMarkDump) GetMessageName() string + func (*QosMarkDump) GetMessageType() api.MessageType + func (m *QosMarkDump) Marshal(b []byte) ([]byte, error) + func (m *QosMarkDump) Reset() + func (m *QosMarkDump) Size() (size int) + func (m *QosMarkDump) Unmarshal(b []byte) error + type QosMarkEnableDisable struct + Enable bool + Mark QosMark + func (*QosMarkEnableDisable) GetCrcString() string + func (*QosMarkEnableDisable) GetMessageName() string + func (*QosMarkEnableDisable) GetMessageType() api.MessageType + func (m *QosMarkEnableDisable) Marshal(b []byte) ([]byte, error) + func (m *QosMarkEnableDisable) Reset() + func (m *QosMarkEnableDisable) Size() (size int) + func (m *QosMarkEnableDisable) Unmarshal(b []byte) error + type QosMarkEnableDisableReply struct + Retval int32 + func (*QosMarkEnableDisableReply) GetCrcString() string + func (*QosMarkEnableDisableReply) GetMessageName() string + func (*QosMarkEnableDisableReply) GetMessageType() api.MessageType + func (m *QosMarkEnableDisableReply) Marshal(b []byte) ([]byte, error) + func (m *QosMarkEnableDisableReply) Reset() + func (m *QosMarkEnableDisableReply) Size() (size int) + func (m *QosMarkEnableDisableReply) Unmarshal(b []byte) error + type QosRecord struct + InputSource QosSource + SwIfIndex InterfaceIndex + type QosRecordDetails struct + Record QosRecord + func (*QosRecordDetails) GetCrcString() string + func (*QosRecordDetails) GetMessageName() string + func (*QosRecordDetails) GetMessageType() api.MessageType + func (m *QosRecordDetails) Marshal(b []byte) ([]byte, error) + func (m *QosRecordDetails) Reset() + func (m *QosRecordDetails) Size() (size int) + func (m *QosRecordDetails) Unmarshal(b []byte) error + type QosRecordDump struct + func (*QosRecordDump) GetCrcString() string + func (*QosRecordDump) GetMessageName() string + func (*QosRecordDump) GetMessageType() api.MessageType + func (m *QosRecordDump) Marshal(b []byte) ([]byte, error) + func (m *QosRecordDump) Reset() + func (m *QosRecordDump) Size() (size int) + func (m *QosRecordDump) Unmarshal(b []byte) error + type QosRecordEnableDisable struct + Enable bool + Record QosRecord + func (*QosRecordEnableDisable) GetCrcString() string + func (*QosRecordEnableDisable) GetMessageName() string + func (*QosRecordEnableDisable) GetMessageType() api.MessageType + func (m *QosRecordEnableDisable) Marshal(b []byte) ([]byte, error) + func (m *QosRecordEnableDisable) Reset() + func (m *QosRecordEnableDisable) Size() (size int) + func (m *QosRecordEnableDisable) Unmarshal(b []byte) error + type QosRecordEnableDisableReply struct + Retval int32 + func (*QosRecordEnableDisableReply) GetCrcString() string + func (*QosRecordEnableDisableReply) GetMessageName() string + func (*QosRecordEnableDisableReply) GetMessageType() api.MessageType + func (m *QosRecordEnableDisableReply) Marshal(b []byte) ([]byte, error) + func (m *QosRecordEnableDisableReply) Reset() + func (m *QosRecordEnableDisableReply) Size() (size int) + func (m *QosRecordEnableDisableReply) Unmarshal(b []byte) error + type QosSource uint8 + const QOS_API_SOURCE_EXT + const QOS_API_SOURCE_IP + const QOS_API_SOURCE_MPLS + const QOS_API_SOURCE_VLAN + func (x QosSource) String() string + type QosStore struct + InputSource QosSource + SwIfIndex InterfaceIndex + Value uint8 + type QosStoreDetails struct + Store QosStore + func (*QosStoreDetails) GetCrcString() string + func (*QosStoreDetails) GetMessageName() string + func (*QosStoreDetails) GetMessageType() api.MessageType + func (m *QosStoreDetails) Marshal(b []byte) ([]byte, error) + func (m *QosStoreDetails) Reset() + func (m *QosStoreDetails) Size() (size int) + func (m *QosStoreDetails) Unmarshal(b []byte) error + type QosStoreDump struct + func (*QosStoreDump) GetCrcString() string + func (*QosStoreDump) GetMessageName() string + func (*QosStoreDump) GetMessageType() api.MessageType + func (m *QosStoreDump) Marshal(b []byte) ([]byte, error) + func (m *QosStoreDump) Reset() + func (m *QosStoreDump) Size() (size int) + func (m *QosStoreDump) Unmarshal(b []byte) error + type QosStoreEnableDisable struct + Enable bool + Store QosStore + func (*QosStoreEnableDisable) GetCrcString() string + func (*QosStoreEnableDisable) GetMessageName() string + func (*QosStoreEnableDisable) GetMessageType() api.MessageType + func (m *QosStoreEnableDisable) Marshal(b []byte) ([]byte, error) + func (m *QosStoreEnableDisable) Reset() + func (m *QosStoreEnableDisable) Size() (size int) + func (m *QosStoreEnableDisable) Unmarshal(b []byte) error + type QosStoreEnableDisableReply struct + Retval int32 + func (*QosStoreEnableDisableReply) GetCrcString() string + func (*QosStoreEnableDisableReply) GetMessageName() string + func (*QosStoreEnableDisableReply) GetMessageType() api.MessageType + func (m *QosStoreEnableDisableReply) Marshal(b []byte) ([]byte, error) + func (m *QosStoreEnableDisableReply) Reset() + func (m *QosStoreEnableDisableReply) Size() (size int) + func (m *QosStoreEnableDisableReply) Unmarshal(b []byte) error + type RPCService interface + QosEgressMapDelete func(ctx context.Context, in *QosEgressMapDelete) (*QosEgressMapDeleteReply, error) + QosEgressMapDump func(ctx context.Context, in *QosEgressMapDump) (RPCService_QosEgressMapDumpClient, error) + QosEgressMapUpdate func(ctx context.Context, in *QosEgressMapUpdate) (*QosEgressMapUpdateReply, error) + QosMarkDump func(ctx context.Context, in *QosMarkDump) (RPCService_QosMarkDumpClient, error) + QosMarkEnableDisable func(ctx context.Context, in *QosMarkEnableDisable) (*QosMarkEnableDisableReply, error) + QosRecordDump func(ctx context.Context, in *QosRecordDump) (RPCService_QosRecordDumpClient, error) + QosRecordEnableDisable func(ctx context.Context, in *QosRecordEnableDisable) (*QosRecordEnableDisableReply, error) + QosStoreDump func(ctx context.Context, in *QosStoreDump) (RPCService_QosStoreDumpClient, error) + QosStoreEnableDisable func(ctx context.Context, in *QosStoreEnableDisable) (*QosStoreEnableDisableReply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_QosEgressMapDumpClient interface + Recv func() (*QosEgressMapDetails, error) + type RPCService_QosMarkDumpClient interface + Recv func() (*QosMarkDetails, error) + type RPCService_QosRecordDumpClient interface + Recv func() (*QosRecordDetails, error) + type RPCService_QosStoreDumpClient interface + Recv func() (*QosStoreDetails, error) + type RxMode uint32 + const RX_MODE_API_ADAPTIVE + const RX_MODE_API_DEFAULT + const RX_MODE_API_INTERRUPT + const RX_MODE_API_POLLING + const RX_MODE_API_UNKNOWN + func (x RxMode) String() string + type SubIfFlags uint32 + const SUB_IF_API_FLAG_DEFAULT + const SUB_IF_API_FLAG_DOT1AD + const SUB_IF_API_FLAG_DOT1AH + const SUB_IF_API_FLAG_EXACT_MATCH + const SUB_IF_API_FLAG_INNER_VLAN_ID_ANY + const SUB_IF_API_FLAG_MASK_VNET + const SUB_IF_API_FLAG_NO_TAGS + const SUB_IF_API_FLAG_ONE_TAG + const SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY + const SUB_IF_API_FLAG_TWO_TAGS + func (x SubIfFlags) String() string