Documentation
¶
Index ¶
- Constants
- type ApplyAction
- func (a *ApplyAction) BDPN() bool
- func (a *ApplyAction) BUFF() bool
- func (a *ApplyAction) DDPN() bool
- func (a *ApplyAction) DFRT() bool
- func (a *ApplyAction) DROP() bool
- func (a *ApplyAction) DUPL() bool
- func (a *ApplyAction) EDRT() bool
- func (a *ApplyAction) FORW() bool
- func (a *ApplyAction) FSSM() bool
- func (a *ApplyAction) IPMA() bool
- func (a *ApplyAction) IPMD() bool
- func (a *ApplyAction) MBSU() bool
- func (a *ApplyAction) NOCP() bool
- func (a *ApplyAction) Unmarshal(b []byte) error
- type BufInfo
- type DLDReport
- type DurationMeasure
- type Handler
- type MeasureInformation
- type MeasureMethod
- type QoSMonitoringMeasurement
- type QoSMonitoringMeasurementBit
- type QoSMonitoringReport
- type Report
- type ReportType
- type ReportingTrigger
- func (r *ReportingTrigger) DROTH() bool
- func (r *ReportingTrigger) ENVCL() bool
- func (r *ReportingTrigger) EVEQU() bool
- func (r *ReportingTrigger) EVETH() bool
- func (r *ReportingTrigger) IE() *ie.IE
- func (r *ReportingTrigger) IPMJL() bool
- func (r *ReportingTrigger) LIUSA() bool
- func (r *ReportingTrigger) MACAR() bool
- func (r *ReportingTrigger) PERIO() bool
- func (r *ReportingTrigger) QUHTI() bool
- func (r *ReportingTrigger) QUVTI() bool
- func (r *ReportingTrigger) REEMR() bool
- func (r *ReportingTrigger) START() bool
- func (r *ReportingTrigger) STOPT() bool
- func (r *ReportingTrigger) TIMQU() bool
- func (r *ReportingTrigger) TIMTH() bool
- func (r *ReportingTrigger) UPINT() bool
- func (r *ReportingTrigger) Unmarshal(b []byte) error
- func (r *ReportingTrigger) VOLQU() bool
- func (r *ReportingTrigger) VOLTH() bool
- type SESReport
- type SessReport
- type USAReport
- func (r USAReport) IEsWithinSessDelRsp(method MeasureMethod, info MeasureInformation) []*ie.IE
- func (r USAReport) IEsWithinSessModRsp(method MeasureMethod, info MeasureInformation) []*ie.IE
- func (r USAReport) IEsWithinSessReportReq(method MeasureMethod, info MeasureInformation) []*ie.IE
- func (r USAReport) Type() ReportType
- type UsageReportTrigger
- func (t *UsageReportTrigger) DROTH() bool
- func (t *UsageReportTrigger) EMRRE() bool
- func (t *UsageReportTrigger) ENVCL() bool
- func (t *UsageReportTrigger) EVEQU() bool
- func (t *UsageReportTrigger) EVETH() bool
- func (t *UsageReportTrigger) IE() *ie.IE
- func (t *UsageReportTrigger) IMMER() bool
- func (t *UsageReportTrigger) IPMJL() bool
- func (t *UsageReportTrigger) LIUSA() bool
- func (t *UsageReportTrigger) MACAR() bool
- func (t *UsageReportTrigger) MONIT() bool
- func (t *UsageReportTrigger) PERIO() bool
- func (t *UsageReportTrigger) QUHTI() bool
- func (t *UsageReportTrigger) QUVTI() bool
- func (t *UsageReportTrigger) START() bool
- func (t *UsageReportTrigger) STOPT() bool
- func (t *UsageReportTrigger) SetReportingTrigger(r uint32)
- func (t *UsageReportTrigger) TEBUR() bool
- func (t *UsageReportTrigger) TERMR() bool
- func (t *UsageReportTrigger) TIMQU() bool
- func (t *UsageReportTrigger) TIMTH() bool
- func (t *UsageReportTrigger) UPINT() bool
- func (t *UsageReportTrigger) VOLQU() bool
- func (t *UsageReportTrigger) VOLTH() bool
- type VolumeMeasure
Constants ¶
View Source
const ( QOS_ULDR = 1 << iota QOS_DLDR QOS_ULCI QOS_DLCI QOS_PLMF QOS_RPPD QOS_ULPD QOS_DLPD )
QoSMonitoringMeasurement flags
View Source
const ( RPT_TRIG_PERIO = 1 << iota RPT_TRIG_VOLTH RPT_TRIG_TIMTH RPT_TRIG_QUHTI RPT_TRIG_START RPT_TRIG_STOPT RPT_TRIG_DROTH RPT_TRIG_LIUSA RPT_TRIG_VOLQU RPT_TRIG_TIMQU RPT_TRIG_ENVCL RPT_TRIG_MACAR RPT_TRIG_EVETH RPT_TRIG_EVEQU RPT_TRIG_IPMJL RPT_TRIG_QUVTI RPT_TRIG_REEMR RPT_TRIG_UPINT )
Reporting Triggers IE bits definition
View Source
const ( USAR_TRIG_PERIO = 1 << iota USAR_TRIG_VOLTH USAR_TRIG_TIMTH USAR_TRIG_QUHTI USAR_TRIG_START USAR_TRIG_STOPT USAR_TRIG_DROTH USAR_TRIG_IMMER USAR_TRIG_VOLQU USAR_TRIG_TIMQU USAR_TRIG_LIUSA USAR_TRIG_TERMR USAR_TRIG_MONIT USAR_TRIG_ENVCL USAR_TRIG_MACAR USAR_TRIG_EVETH USAR_TRIG_EVEQU USAR_TRIG_TEBUR USAR_TRIG_IPMJL USAR_TRIG_QUVTI USAR_TRIG_EMRRE USAR_TRIG_UPINT )
Usage Report Trigger IE bits definition
View Source
const ( TOVOL uint8 = 1 << iota ULVOL DLVOL TONOP ULNOP DLNOP )
Volume Measurement IE Flag bits definition
View Source
const ( APPLY_ACT_DROP = 1 << iota APPLY_ACT_FORW APPLY_ACT_BUFF APPLY_ACT_NOCP APPLY_ACT_DUPL APPLY_ACT_IPMA APPLY_ACT_IPMD APPLY_ACT_DFRT APPLY_ACT_EDRT APPLY_ACT_BDPN APPLY_ACT_DDPN APPLY_ACT_FSSM APPLY_ACT_MBSU )
Apply Action IE bits definition
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyAction ¶
type ApplyAction struct {
Flags uint16
}
func (*ApplyAction) BDPN ¶
func (a *ApplyAction) BDPN() bool
func (*ApplyAction) BUFF ¶
func (a *ApplyAction) BUFF() bool
func (*ApplyAction) DDPN ¶
func (a *ApplyAction) DDPN() bool
func (*ApplyAction) DFRT ¶
func (a *ApplyAction) DFRT() bool
func (*ApplyAction) DROP ¶
func (a *ApplyAction) DROP() bool
func (*ApplyAction) DUPL ¶
func (a *ApplyAction) DUPL() bool
func (*ApplyAction) EDRT ¶
func (a *ApplyAction) EDRT() bool
func (*ApplyAction) FORW ¶
func (a *ApplyAction) FORW() bool
func (*ApplyAction) FSSM ¶
func (a *ApplyAction) FSSM() bool
func (*ApplyAction) IPMA ¶
func (a *ApplyAction) IPMA() bool
func (*ApplyAction) IPMD ¶
func (a *ApplyAction) IPMD() bool
func (*ApplyAction) MBSU ¶
func (a *ApplyAction) MBSU() bool
func (*ApplyAction) NOCP ¶
func (a *ApplyAction) NOCP() bool
func (*ApplyAction) Unmarshal ¶
func (a *ApplyAction) Unmarshal(b []byte) error
type DurationMeasure ¶
type DurationMeasure struct {
DurationValue uint64
}
func (*DurationMeasure) IE ¶
func (m *DurationMeasure) IE() *ie.IE
type Handler ¶
type Handler interface { NotifySessReport(SessReport) PopBufPkt(uint64, uint16) ([]byte, bool) }
type MeasureInformation ¶
type MeasureMethod ¶
type QoSMonitoringMeasurement ¶
type QoSMonitoringMeasurement struct { QoSMonitoringMeasurementBit QoSMonitoringMeasurementBit DownlinkPacketDelay uint32 UplinkPacketDelay uint32 RoundTripPacketDelay uint32 }
type QoSMonitoringMeasurementBit ¶
type QoSMonitoringMeasurementBit struct {
// contains filtered or unexported fields
}
func (*QoSMonitoringMeasurementBit) DLDR ¶
func (qMMb *QoSMonitoringMeasurementBit) DLDR() bool
func (*QoSMonitoringMeasurementBit) RPPD ¶
func (qMMb *QoSMonitoringMeasurementBit) RPPD() bool
func (*QoSMonitoringMeasurementBit) ULDR ¶
func (qMMb *QoSMonitoringMeasurementBit) ULDR() bool
type QoSMonitoringReport ¶
type QoSMonitoringReport struct { QFI uint8 QoSMonitoringMeasurement *QoSMonitoringMeasurement TimeStamp time.Time StartTime time.Time }
func (*QoSMonitoringReport) IE ¶
func (qMr *QoSMonitoringReport) IE() *ie.IE
here is where i would report the QoSReport to fill the report!
type Report ¶
type Report interface {
Type() ReportType
}
type ReportType ¶
type ReportType int
const ( DLDR ReportType = iota + 1 USAR ERIR UPIR TMIR SESR UISR )
29244-ga0 8.2.21 Report Type
func (ReportType) String ¶
func (t ReportType) String() string
type ReportingTrigger ¶
type ReportingTrigger struct {
Flags uint32
}
func (*ReportingTrigger) DROTH ¶
func (r *ReportingTrigger) DROTH() bool
func (*ReportingTrigger) ENVCL ¶
func (r *ReportingTrigger) ENVCL() bool
func (*ReportingTrigger) EVEQU ¶
func (r *ReportingTrigger) EVEQU() bool
func (*ReportingTrigger) EVETH ¶
func (r *ReportingTrigger) EVETH() bool
func (*ReportingTrigger) IE ¶
func (r *ReportingTrigger) IE() *ie.IE
func (*ReportingTrigger) IPMJL ¶
func (r *ReportingTrigger) IPMJL() bool
func (*ReportingTrigger) LIUSA ¶
func (r *ReportingTrigger) LIUSA() bool
func (*ReportingTrigger) MACAR ¶
func (r *ReportingTrigger) MACAR() bool
func (*ReportingTrigger) PERIO ¶
func (r *ReportingTrigger) PERIO() bool
func (*ReportingTrigger) QUHTI ¶
func (r *ReportingTrigger) QUHTI() bool
func (*ReportingTrigger) QUVTI ¶
func (r *ReportingTrigger) QUVTI() bool
func (*ReportingTrigger) REEMR ¶
func (r *ReportingTrigger) REEMR() bool
func (*ReportingTrigger) START ¶
func (r *ReportingTrigger) START() bool
func (*ReportingTrigger) STOPT ¶
func (r *ReportingTrigger) STOPT() bool
func (*ReportingTrigger) TIMQU ¶
func (r *ReportingTrigger) TIMQU() bool
func (*ReportingTrigger) TIMTH ¶
func (r *ReportingTrigger) TIMTH() bool
func (*ReportingTrigger) UPINT ¶
func (r *ReportingTrigger) UPINT() bool
func (*ReportingTrigger) Unmarshal ¶
func (r *ReportingTrigger) Unmarshal(b []byte) error
func (*ReportingTrigger) VOLQU ¶
func (r *ReportingTrigger) VOLQU() bool
func (*ReportingTrigger) VOLTH ¶
func (r *ReportingTrigger) VOLTH() bool
type SESReport ¶
type SESReport struct { SRRID uint8 QoSMonitoringReport *QoSMonitoringReport }
func (SESReport) IEsWithinSessDelRsp ¶
func (SESReport) IEsWithinSessModRsp ¶
func (SESReport) IEsWithinSessReportReq ¶
func (SESReport) Type ¶
func (s SESReport) Type() ReportType
type SessReport ¶
type USAReport ¶
type USAReport struct { URRID uint32 URSEQN uint32 USARTrigger UsageReportTrigger VolumMeasure VolumeMeasure DuratMeasure DurationMeasure QueryUrrRef uint32 StartTime time.Time EndTime time.Time }
func (USAReport) IEsWithinSessDelRsp ¶
func (r USAReport) IEsWithinSessDelRsp( method MeasureMethod, info MeasureInformation, ) []*ie.IE
func (USAReport) IEsWithinSessModRsp ¶
func (r USAReport) IEsWithinSessModRsp( method MeasureMethod, info MeasureInformation, ) []*ie.IE
func (USAReport) IEsWithinSessReportReq ¶
func (r USAReport) IEsWithinSessReportReq( method MeasureMethod, info MeasureInformation, ) []*ie.IE
func (USAReport) Type ¶
func (r USAReport) Type() ReportType
type UsageReportTrigger ¶
type UsageReportTrigger struct {
Flags uint32
}
func (*UsageReportTrigger) DROTH ¶
func (t *UsageReportTrigger) DROTH() bool
func (*UsageReportTrigger) EMRRE ¶
func (t *UsageReportTrigger) EMRRE() bool
func (*UsageReportTrigger) ENVCL ¶
func (t *UsageReportTrigger) ENVCL() bool
func (*UsageReportTrigger) EVEQU ¶
func (t *UsageReportTrigger) EVEQU() bool
func (*UsageReportTrigger) EVETH ¶
func (t *UsageReportTrigger) EVETH() bool
func (*UsageReportTrigger) IE ¶
func (t *UsageReportTrigger) IE() *ie.IE
func (*UsageReportTrigger) IMMER ¶
func (t *UsageReportTrigger) IMMER() bool
func (*UsageReportTrigger) IPMJL ¶
func (t *UsageReportTrigger) IPMJL() bool
func (*UsageReportTrigger) LIUSA ¶
func (t *UsageReportTrigger) LIUSA() bool
func (*UsageReportTrigger) MACAR ¶
func (t *UsageReportTrigger) MACAR() bool
func (*UsageReportTrigger) MONIT ¶
func (t *UsageReportTrigger) MONIT() bool
func (*UsageReportTrigger) PERIO ¶
func (t *UsageReportTrigger) PERIO() bool
func (*UsageReportTrigger) QUHTI ¶
func (t *UsageReportTrigger) QUHTI() bool
func (*UsageReportTrigger) QUVTI ¶
func (t *UsageReportTrigger) QUVTI() bool
func (*UsageReportTrigger) START ¶
func (t *UsageReportTrigger) START() bool
func (*UsageReportTrigger) STOPT ¶
func (t *UsageReportTrigger) STOPT() bool
func (*UsageReportTrigger) SetReportingTrigger ¶
func (t *UsageReportTrigger) SetReportingTrigger(r uint32)
func (*UsageReportTrigger) TEBUR ¶
func (t *UsageReportTrigger) TEBUR() bool
func (*UsageReportTrigger) TERMR ¶
func (t *UsageReportTrigger) TERMR() bool
func (*UsageReportTrigger) TIMQU ¶
func (t *UsageReportTrigger) TIMQU() bool
func (*UsageReportTrigger) TIMTH ¶
func (t *UsageReportTrigger) TIMTH() bool
func (*UsageReportTrigger) UPINT ¶
func (t *UsageReportTrigger) UPINT() bool
func (*UsageReportTrigger) VOLQU ¶
func (t *UsageReportTrigger) VOLQU() bool
func (*UsageReportTrigger) VOLTH ¶
func (t *UsageReportTrigger) VOLTH() bool
type VolumeMeasure ¶
type VolumeMeasure struct { Flags uint8 TotalVolume uint64 UplinkVolume uint64 DownlinkVolume uint64 TotalPktNum uint64 UplinkPktNum uint64 DownlinkPktNum uint64 }
func (*VolumeMeasure) IE ¶
func (m *VolumeMeasure) IE() *ie.IE
func (*VolumeMeasure) SetFlags ¶
func (m *VolumeMeasure) SetFlags(mnop bool)
Click to show internal directories.
Click to hide internal directories.