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 FlowprobeRecordFlags_name = map[uint8]string + var FlowprobeRecordFlags_value = map[string]uint8 + var FlowprobeWhichFlags_name = map[uint8]string + var FlowprobeWhichFlags_value = map[string]uint8 + 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 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 FlowprobeParams struct + ActiveTimer uint32 + PassiveTimer uint32 + RecordFlags FlowprobeRecordFlags + func (*FlowprobeParams) GetCrcString() string + func (*FlowprobeParams) GetMessageName() string + func (*FlowprobeParams) GetMessageType() api.MessageType + func (m *FlowprobeParams) Marshal(b []byte) ([]byte, error) + func (m *FlowprobeParams) Reset() + func (m *FlowprobeParams) Size() (size int) + func (m *FlowprobeParams) Unmarshal(b []byte) error + type FlowprobeParamsReply struct + Retval int32 + func (*FlowprobeParamsReply) GetCrcString() string + func (*FlowprobeParamsReply) GetMessageName() string + func (*FlowprobeParamsReply) GetMessageType() api.MessageType + func (m *FlowprobeParamsReply) Marshal(b []byte) ([]byte, error) + func (m *FlowprobeParamsReply) Reset() + func (m *FlowprobeParamsReply) Size() (size int) + func (m *FlowprobeParamsReply) Unmarshal(b []byte) error + type FlowprobeRecordFlags uint8 + const FLOWPROBE_RECORD_FLAG_L2 + const FLOWPROBE_RECORD_FLAG_L3 + const FLOWPROBE_RECORD_FLAG_L4 + func (x FlowprobeRecordFlags) String() string + type FlowprobeTxInterfaceAddDel struct + IsAdd bool + SwIfIndex InterfaceIndex + Which FlowprobeWhichFlags + func (*FlowprobeTxInterfaceAddDel) GetCrcString() string + func (*FlowprobeTxInterfaceAddDel) GetMessageName() string + func (*FlowprobeTxInterfaceAddDel) GetMessageType() api.MessageType + func (m *FlowprobeTxInterfaceAddDel) Marshal(b []byte) ([]byte, error) + func (m *FlowprobeTxInterfaceAddDel) Reset() + func (m *FlowprobeTxInterfaceAddDel) Size() (size int) + func (m *FlowprobeTxInterfaceAddDel) Unmarshal(b []byte) error + type FlowprobeTxInterfaceAddDelReply struct + Retval int32 + func (*FlowprobeTxInterfaceAddDelReply) GetCrcString() string + func (*FlowprobeTxInterfaceAddDelReply) GetMessageName() string + func (*FlowprobeTxInterfaceAddDelReply) GetMessageType() api.MessageType + func (m *FlowprobeTxInterfaceAddDelReply) Marshal(b []byte) ([]byte, error) + func (m *FlowprobeTxInterfaceAddDelReply) Reset() + func (m *FlowprobeTxInterfaceAddDelReply) Size() (size int) + func (m *FlowprobeTxInterfaceAddDelReply) Unmarshal(b []byte) error + type FlowprobeWhichFlags uint8 + const FLOWPROBE_WHICH_FLAG_IP4 + const FLOWPROBE_WHICH_FLAG_IP6 + const FLOWPROBE_WHICH_FLAG_L2 + func (x FlowprobeWhichFlags) 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 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 RPCService interface + FlowprobeParams func(ctx context.Context, in *FlowprobeParams) (*FlowprobeParamsReply, error) + FlowprobeTxInterfaceAddDel func(ctx context.Context, in *FlowprobeTxInterfaceAddDel) (*FlowprobeTxInterfaceAddDelReply, error) + func NewServiceClient(conn api.Connection) RPCService + 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