pfcpType

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 28

Documentation

Index

Constants

View Source
const (
	CpFunctionFeaturesLoad uint8 = 1
	CpFunctionFeaturesOvrl uint8 = 1 << 1
)
View Source
const (
	CauseRequestRejected uint8 = iota + 64
	CauseSessionContextNotFound
	CauseMandatoryIeMissing
	CauseConditionalIeMissing
	CauseInvalidLength
	CauseMandatoryIeIncorrect
	CauseInvalidForwardingPolicy
	CauseInvalidFTeidAllocationOption
	CauseNoEstablishedPfcpAssociation
	CauseRuleCreationModificationFailure
	CausePfcpEntityInCongestion
	CauseNoResourcesAvailable
	CauseServiceNotSupported
	CauseSystemFailure
)

Rejection in a response

View Source
const (
	DestinationInterfaceAccess uint8 = iota
	DestinationInterfaceCore
	DestinationInterfaceSgiLanN6Lan
	DestinationInterfaceCpFunction
	DestinationInterfaceLiFunction
)
View Source
const (
	GateOpen uint8 = iota
	GateClose
)
View Source
const (
	NodeIdTypeIpv4Address uint8 = iota
	NodeIdTypeIpv6Address
	NodeIdTypeFqdn
)
View Source
const (
	OuterHeaderCreationGtpUUdpIpv4 uint16 = 1
	OuterHeaderCreationGtpUUdpIpv6 uint16 = 1 << 1
	OuterHeaderCreationUdpIpv4     uint16 = 1 << 2
	OuterHeaderCreationUdpIpv6     uint16 = 1 << 3
)
View Source
const (
	OuterHeaderRemovalGtpUUdpIpv4 uint8 = iota
	OuterHeaderRemovalGtpUUdpIpv6
	OuterHeaderRemovalUdpIpv4
	OuterHeaderRemovalUdpIpv6
)
View Source
const (
	PDNTypeIpv4 uint8 = iota + 1
	PDNTypeIpv6
	PDNTypeIpv4v6
	PDNTypeNonIp
	PDNTypeEthernet
)
View Source
const (
	PacketRateTimeUnitMinute = iota
	PacketRateTimeUnit6Minutes
	PacketRateTimeUnitHours
	PacketRateTimeUnitDay
	PacketRateTimeUnitWeek
)
View Source
const (
	SourceInterfaceAccess uint8 = iota
	SourceInterfaceCore
	SourceInterfaceSgiLanN6Lan
	SourceInterfaceCpFunction
)
View Source
const (
	UpFunctionFeaturesBucp  uint16 = 1
	UpFunctionFeaturesDdnd  uint16 = 1 << 1
	UpFunctionFeaturesDlbd  uint16 = 1 << 2
	UpFunctionFeaturesTrst  uint16 = 1 << 3
	UpFunctionFeaturesFtup  uint16 = 1 << 4
	UpFunctionFeaturesPfdm  uint16 = 1 << 5
	UpFunctionFeaturesHeeu  uint16 = 1 << 6
	UpFunctionFeaturesTreu  uint16 = 1 << 7
	UpFunctionFeaturesEmpu  uint16 = 1 << 8
	UpFunctionFeaturesPdiu  uint16 = 1 << 9
	UpFunctionFeaturesUdbc  uint16 = 1 << 10
	UpFunctionFeaturesQuoac uint16 = 1 << 11
	UpFunctionFeaturesTrace uint16 = 1 << 12
	UpFunctionFeaturesFrrt  uint16 = 1 << 13
)
View Source
const (
	PFCP_IE_CREATE_PDR_TYPE uint16 = iota + 1
	PFCP_IE_PDI_TYPE
	PFCP_IE_CREATE_FAR_TYPE
	PFCP_IE_FORWARDING_PARAMETERS_TYPE
	PFCP_IE_DUPLICATING_PARAMETERS_TYPE
	PFCP_IE_CREATE_URR_TYPE
	PFCP_IE_CREATE_QER_TYPE
	PFCP_IE_CREATED_PDR_TYPE
	PFCP_IE_UPDATE_PDR_TYPE
	PFCP_IE_UPDATE_FAR_TYPE
	PFCP_IE_UPDATE_FORWARDING_PARAMETERS_TYPE
	PFCP_IE_UPDATE_BAR_PFCP_SESSION_REPORT_RESPONSE_TYPE
	PFCP_IE_UPDATE_URR_TYPE
	PFCP_IE_UPDATE_QER_TYPE
	PFCP_IE_REMOVE_PDR_TYPE
	PFCP_IE_REMOVE_FAR_TYPE
	PFCP_IE_REMOVE_URR_TYPE
	PFCP_IE_REMOVE_QER_TYPE
	PFCP_IE_CAUSE_TYPE
	PFCP_IE_SOURCE_INTERFACE_TYPE
	PFCP_IE_FTEID_TYPE
	PFCP_IE_NETWORK_INSTANCE_TYPE
	PFCP_IE_SDF_FILTER_TYPE
	PFCP_IE_APPLICATION_ID_TYPE
	PFCP_IE_GATE_STATUS_TYPE
	PFCP_IE_MBR_TYPE
	PFCP_IE_GBR_TYPE
	PFCP_IE_QER_CORRELATION_ID_TYPE
	PFCP_IE_PRECEDENCE_TYPE
	PFCP_IE_TRANSPORT_LEVEL_MARKING_TYPE
	PFCP_IE_VOLUME_THRESHOLD_TYPE
	PFCP_IE_TIME_THRESHOLD_TYPE
	PFCP_IE_MONITORING_TIME_TYPE
	PFCP_IE_SUBSEQUENT_VOLUME_THRESHOLD_TYPE
	PFCP_IE_SUBSEQUENT_TIME_THRESHOLD_TYPE
	PFCP_IE_INACTIVITY_DETECTION_TIME_TYPE
	PFCP_IE_REPORTING_TRIGGERS_TYPE
	PFCP_IE_REDIRECT_INFORMATION_TYPE
	PFCP_IE_REPORT_TYPE_TYPE
	PFCP_IE_OFFENDING_IE_TYPE
	PFCP_IE_FORWARDING_POLICY_TYPE
	PFCP_IE_DESTINATION_INTERFACE_TYPE
	PFCP_IE_UP_FUNCTION_FEATURES_TYPE
	PFCP_IE_APPLY_ACTION_TYPE
	PFCP_IE_DOWNLINK_DATA_SERVICE_INFORMATION_TYPE
	PFCP_IE_DOWNLINK_DATA_NOTIFICATION_DELAY_TYPE
	PFCP_IE_DL_BUFFERING_DURATION_TYPE
	PFCP_IE_DL_BUFFERING_SUGGESTED_PACKET_COUNT_TYPE
	PFCP_IE_PFCPSMREQ_FLAGS_TYPE
	PFCP_IE_PFCPSRRSP_FLAGS_TYPE
	PFCP_IE_LOAD_CONTROL_INFORMATION_TYPE
	PFCP_IE_SEQUENCE_NUMBER_TYPE
	PFCP_IE_METRIC_TYPE
	PFCP_IE_OVERLOAD_CONTROL_INFORMATION_TYPE
	PFCP_IE_TIMER_TYPE
	PFCP_IE_PACKET_DETECTION_RULE_ID_TYPE
	PFCP_IE_FSEID_TYPE
	PFCP_IE_APPLICATION_ID_S_PFDS_TYPE
	PFCP_IE_PFD_CONTEXT_TYPE
	PFCP_IE_NODE_ID_TYPE
	PFCP_IE_PFD_CONTENTS_TYPE
	PFCP_IE_MEASUREMENT_METHOD_TYPE
	PFCP_IE_USAGE_REPORT_TRIGGER_TYPE
	PFCP_IE_MEASUREMENT_PERIOD_TYPE
	PFCP_IE_FQ_CSID_TYPE
	PFCP_IE_VOLUME_MEASUREMENT_TYPE
	PFCP_IE_DURATION_MEASUREMENT_TYPE
	PFCP_IE_APPLICATION_DETECTION_INFORMATION_TYPE
	PFCP_IE_TIME_OF_FIRST_PACKET_TYPE
	PFCP_IE_TIME_OF_LAST_PACKET_TYPE
	PFCP_IE_QUOTA_HOLDING_TIME_TYPE
	PFCP_IE_DROPPED_DL_TRAFFIC_THRESHOLD_TYPE
	PFCP_IE_VOLUME_QUOTA_TYPE
	PFCP_IE_TIME_QUOTA_TYPE
	PFCP_IE_START_TIME_TYPE
	PFCP_IE_END_TIME_TYPE
	PFCP_IE_QUERY_URR_TYPE
	PFCP_IE_USAGE_REPORT_SESSION_MODIFICATION_RESPONSE_TYPE
	PFCP_IE_USAGE_REPORT_SESSION_DELETION_RESPONSE_TYPE
	PFCP_IE_USAGE_REPORT_SESSION_REPORT_REQUEST_TYPE
	PFCP_IE_URR_ID_TYPE
	PFCP_IE_LINKED_URR_ID_TYPE
	PFCP_IE_DOWNLINK_DATA_REPORT_TYPE
	PFCP_IE_OUTER_HEADER_CREATION_TYPE
	PFCP_IE_CREATE_BAR_TYPE
	PFCP_IE_UPDATE_BAR_SESSION_MODIFICATION_REQUEST_TYPE
	PFCP_IE_REMOVE_BAR_TYPE
	PFCP_IE_BAR_ID_TYPE
	PFCP_IE_CP_FUNCTION_FEATURES_TYPE
	PFCP_IE_USAGE_INFORMATION_TYPE
	PFCP_IE_APPLICATION_INSTANCE_ID_TYPE
	PFCP_IE_FLOW_INFORMATION_TYPE
	PFCP_IE_UE_IP_ADDRESS_TYPE
	PFCP_IE_PACKET_RATE_TYPE
	PFCP_IE_OUTER_HEADER_REMOVAL_TYPE
	PFCP_IE_RECOVERY_TIME_STAMP_TYPE
	PFCP_IE_DL_FLOW_LEVEL_MARKING_TYPE
	PFCP_IE_HEADER_ENRICHMENT_TYPE
	PFCP_IE_ERROR_INDICATION_REPORT_TYPE
	PFCP_IE_MEASUREMENT_INFORMATION_TYPE
	PFCP_IE_NODE_REPORT_TYPE_TYPE
	PFCP_IE_USER_PLANE_PATH_FAILURE_REPORT_TYPE
	PFCP_IE_REMOTE_GTPU_PEER_TYPE
	PFCP_IE_UR_SEQN_TYPE
	PFCP_IE_UPDATE_DUPLICATING_PARAMETERS_TYPE
	PFCP_IE_ACTIVATE_PREDEFINED_RULES_TYPE
	PFCP_IE_DEACTIVATE_PREDEFINED_RULES_TYPE
	PFCP_IE_FAR_ID_TYPE
	PFCP_IE_QER_ID_TYPE
	PFCP_IE_OCI_FLAGS_TYPE
	PFCP_IE_PFCP_ASSOCIATION_RELEASE_REQUEST_TYPE
	PFCP_IE_GRACEFUL_RELEASE_PERIOD_TYPE
	PFCP_IE_PDN_TYPE_TYPE
	PFCP_IE_FAILED_RULE_ID_TYPE
	PFCP_IE_TIME_QUOTA_MECHANISM_TYPE
	PFCP_IE_USER_PLANE_IP_RESOURCE_INFORMATION_TYPE
	PFCP_IE_USER_PLANE_INACTIVITY_TIMER_TYPE
	PFCP_IE_AGGREGATED_URRS_TYPE
	PFCP_IE_MULTIPLIER_TYPE
	PFCP_IE_AGGREGATED_URR_ID_TYPE
	PFCP_IE_SUBSEQUENT_VOLUME_QUOTA_TYPE
	PFCP_IE_SUBSEQUENT_TIME_QUOTA_TYPE
	PFCP_IE_RQI_TYPE
	PFCP_IE_QFI_TYPE
	PFCP_IE_QUERY_URR_REFERENCE_TYPE
	PFCP_IE_ADDITIONAL_USAGE_REPORTS_INFORMATION_TYPE
	PFCP_IE_CREATE_TRAFFIC_ENDPOINT_TYPE
	PFCP_IE_CREATED_TRAFFIC_ENDPOINT_TYPE
	PFCP_IE_UPDATE_TRAFFIC_ENDPOINT_TYPE
	PFCP_IE_REMOVE_TRAFFIC_ENDPOINT_TYPE
	PFCP_IE_TRAFFIC_ENDPOINT_ID_TYPE
	PFCP_IE_ETHERNET_PACKET_FILTER_TYPE
	PFCP_IE_MAC_ADDRESS_TYPE
	PFCP_IE_C_TAG_TYPE
	PFCP_IE_S_TAG_TYPE
	PFCP_IE_ETHERTYPE_TYPE
	PFCP_IE_PROXYING_TYPE
	PFCP_IE_ETHERNET_FILTER_ID_TYPE
	PFCP_IE_ETHERNET_FILTER_PROPERTIES_TYPE
	PFCP_IE_SUGGESTED_BUFFERING_PACKETS_COUNT_TYPE
	PFCP_IE_USER_ID_TYPE
	PFCP_IE_ETHERNET_PDU_SESSION_INFORMATION_TYPE
	PFCP_IE_ETHERNET_TRAFFIC_INFORMATION_TYPE
	PFCP_IE_MAC_ADDRESS_DETECTED_TYPE
	PFCP_IE_MAC_ADDRESS_REMOVED_TYPE
	PFCP_IE_ETHERNET_INACTIVITY_TIMER_TYPE
	PFCP_IE_ADDITIONAL_MONITORING_TIME_TYPE
	PFCP_IE_EVENT_INFORMATION_TYPE
	PFCP_IE_EVENT_REPORTING_TYPE
	PFCP_IE_EVENT_ID_TYPE
	PFCP_IE_EVENT_THRESHOLD_TYPE
	PFCP_IE_TRACE_INFORMATION_TYPE
	PFCP_IE_FRAMED_ROUTE_TYPE
	PFCP_IE_FRAMED_ROUTING_TYPE
	PFCP_IE_FRAMED_IPV6_ROUTE_TYPE
)

PFCP Information Element Types

View Source
const (
	Mask8 = 1<<8 - 1
	Mask7 = 1<<7 - 1
	Mask6 = 1<<6 - 1
	Mask5 = 1<<5 - 1
	Mask4 = 1<<4 - 1
	Mask3 = 1<<3 - 1
	Mask2 = 1<<2 - 1
	Mask1 = 1<<1 - 1
)
View Source
const (
	BitMask8 = 1 << 7
	BitMask7 = 1 << 6
	BitMask6 = 1 << 5
	BitMask5 = 1 << 4
	BitMask4 = 1 << 3
	BitMask3 = 1 << 2
	BitMask2 = 1 << 1
	BitMask1 = 1
)
View Source
const (
	CauseRequestAccepted uint8 = 1
)

Acceptance in a response

Variables

View Source
var BASE_DATE_NTP_ERA0 time.Time = time.Date(1900, time.January, 1, 0, 0, 0, 0, time.UTC)

Functions

This section is empty.

Types

type ActivatePredefinedRules

type ActivatePredefinedRules struct {
	PredefinedRulesName []byte
}

func (*ActivatePredefinedRules) MarshalBinary

func (a *ActivatePredefinedRules) MarshalBinary() (data []byte, err error)

func (*ActivatePredefinedRules) UnmarshalBinary

func (a *ActivatePredefinedRules) UnmarshalBinary(data []byte) error

type AdditionalUsageReportsInformation

type AdditionalUsageReportsInformation struct {
	AdditionalUsageReportsInformationdata []byte
}

type AggregatedURRID

type AggregatedURRID struct {
	AggregatedURRIDdata uint32
}

func (*AggregatedURRID) MarshalBinary added in v1.0.6

func (a *AggregatedURRID) MarshalBinary() (data []byte, err error)

func (*AggregatedURRID) UnmarshalBinary added in v1.0.6

func (a *AggregatedURRID) UnmarshalBinary(data []byte) error

type ApplicationID

type ApplicationID struct {
	ApplicationIdentifier []byte
}

func (*ApplicationID) MarshalBinary

func (a *ApplicationID) MarshalBinary() (data []byte, err error)

func (*ApplicationID) UnmarshalBinary

func (a *ApplicationID) UnmarshalBinary(data []byte) error

type ApplicationInstanceID

type ApplicationInstanceID struct {
	ApplicationInstanceIDdata []byte
}

type ApplyAction

type ApplyAction struct {
	Dupl bool
	Nocp bool
	Buff bool
	Forw bool
	Drop bool
}

func (*ApplyAction) MarshalBinary

func (a *ApplyAction) MarshalBinary() (data []byte, err error)

func (*ApplyAction) UnmarshalBinary

func (a *ApplyAction) UnmarshalBinary(data []byte) error

type BARID

type BARID struct {
	BarIdValue uint8
}

func (*BARID) MarshalBinary

func (b *BARID) MarshalBinary() (data []byte, err error)

func (*BARID) UnmarshalBinary

func (b *BARID) UnmarshalBinary(data []byte) error

type CPFunctionFeatures

type CPFunctionFeatures struct {
	SupportedFeatures uint8
}

func (*CPFunctionFeatures) MarshalBinary

func (c *CPFunctionFeatures) MarshalBinary() (data []byte, err error)

func (*CPFunctionFeatures) UnmarshalBinary

func (c *CPFunctionFeatures) UnmarshalBinary(data []byte) error

type CTAG

type CTAG struct {
	CTAGdata []byte
}

type Cause

type Cause struct {
	CauseValue uint8
}

func (*Cause) MarshalBinary

func (c *Cause) MarshalBinary() (data []byte, err error)

func (*Cause) UnmarshalBinary

func (c *Cause) UnmarshalBinary(data []byte) error

type DLBufferingDuration

type DLBufferingDuration struct {
	TimerUnit  uint8 // 0x11100000
	TimerValue uint8 // 0x00011111
}

func (*DLBufferingDuration) MarshalBinary

func (d *DLBufferingDuration) MarshalBinary() (data []byte, err error)

func (*DLBufferingDuration) UnmarshalBinary

func (d *DLBufferingDuration) UnmarshalBinary(data []byte) error

type DLBufferingSuggestedPacketCount

type DLBufferingSuggestedPacketCount struct {
	PacketCountValue uint16
}

func (*DLBufferingSuggestedPacketCount) MarshalBinary

func (d *DLBufferingSuggestedPacketCount) MarshalBinary() (data []byte, err error)

func (*DLBufferingSuggestedPacketCount) UnmarshalBinary

func (d *DLBufferingSuggestedPacketCount) UnmarshalBinary(data []byte) error

type DLFlowLevelMarking

type DLFlowLevelMarking struct {
	DLFlowLevelMarkingdata []byte
}

type DeactivatePredefinedRules

type DeactivatePredefinedRules struct {
	PredefinedRulesName []byte
}

func (*DeactivatePredefinedRules) MarshalBinary

func (d *DeactivatePredefinedRules) MarshalBinary() (data []byte, err error)

func (*DeactivatePredefinedRules) UnmarshalBinary

func (d *DeactivatePredefinedRules) UnmarshalBinary(data []byte) error

type DestinationInterface

type DestinationInterface struct {
	InterfaceValue uint8 // 0x00001111
}

func (*DestinationInterface) MarshalBinary

func (d *DestinationInterface) MarshalBinary() (data []byte, err error)

func (*DestinationInterface) UnmarshalBinary

func (d *DestinationInterface) UnmarshalBinary(data []byte) error

type DownlinkDataNotificationDelay

type DownlinkDataNotificationDelay struct {
	DelayValue uint8
}

func (*DownlinkDataNotificationDelay) MarshalBinary

func (d *DownlinkDataNotificationDelay) MarshalBinary() (data []byte, err error)

func (*DownlinkDataNotificationDelay) UnmarshalBinary

func (d *DownlinkDataNotificationDelay) UnmarshalBinary(data []byte) error

type DownlinkDataServiceInformation

type DownlinkDataServiceInformation struct {
	Qfii                        bool
	Ppi                         bool
	PagingPolicyIndicationValue uint8 // 0x00111111
	Qfi                         uint8 // 0x00111111
}

func (*DownlinkDataServiceInformation) MarshalBinary

func (d *DownlinkDataServiceInformation) MarshalBinary() (data []byte, err error)

func (*DownlinkDataServiceInformation) UnmarshalBinary

func (d *DownlinkDataServiceInformation) UnmarshalBinary(data []byte) error

type DroppedDLTrafficThreshold

type DroppedDLTrafficThreshold struct {
	Dlby                        bool
	Dlpa                        bool
	DownlinkPackets             uint64
	NumberOfBytesOfDownlinkData uint64
}

func (*DroppedDLTrafficThreshold) MarshalBinary

func (d *DroppedDLTrafficThreshold) MarshalBinary() (data []byte, err error)

func (*DroppedDLTrafficThreshold) UnmarshalBinary

func (d *DroppedDLTrafficThreshold) UnmarshalBinary(data []byte) error

type DuplicatingParameters

type DuplicatingParameters struct {
	DuplicatingParametersdata []byte
}

type DurationMeasurement

type DurationMeasurement struct {
	DurationValue uint32
}

func (*DurationMeasurement) MarshalBinary

func (d *DurationMeasurement) MarshalBinary() (data []byte, err error)

func (*DurationMeasurement) UnmarshalBinary

func (d *DurationMeasurement) UnmarshalBinary(data []byte) error

type EndTime

type EndTime struct {
	EndTime time.Time
}

func (*EndTime) MarshalBinary

func (e *EndTime) MarshalBinary() (data []byte, err error)

func (*EndTime) UnmarshalBinary

func (e *EndTime) UnmarshalBinary(data []byte) error

type EthernetFilterID

type EthernetFilterID struct {
	EthernetFilterIDdata []byte
}

type EthernetFilterProperties

type EthernetFilterProperties struct {
	EthernetFilterPropertiesdata []byte
}

type EthernetInactivityTimer

type EthernetInactivityTimer struct {
	EthernetInactivityTimer uint32
}

func (*EthernetInactivityTimer) MarshalBinary

func (e *EthernetInactivityTimer) MarshalBinary() (data []byte, err error)

func (*EthernetInactivityTimer) UnmarshalBinary

func (e *EthernetInactivityTimer) UnmarshalBinary(data []byte) error

type EthernetPDUSessionInformation

type EthernetPDUSessionInformation struct {
	EthernetPDUSessionInformationdata []byte
}

type Ethertype

type Ethertype struct {
	Ethertypedata []byte
}

type EventID

type EventID struct {
	EventId uint32
}

func (*EventID) MarshalBinary

func (e *EventID) MarshalBinary() (data []byte, err error)

func (*EventID) UnmarshalBinary

func (e *EventID) UnmarshalBinary(data []byte) error

type EventThreshold

type EventThreshold struct {
	EventThreshold uint32
}

func (*EventThreshold) MarshalBinary

func (e *EventThreshold) MarshalBinary() (data []byte, err error)

func (*EventThreshold) UnmarshalBinary

func (e *EventThreshold) UnmarshalBinary(data []byte) error

type FARID

type FARID struct {
	FarIdValue uint32
}

func (*FARID) MarshalBinary

func (f *FARID) MarshalBinary() (data []byte, err error)

func (*FARID) UnmarshalBinary

func (f *FARID) UnmarshalBinary(data []byte) error

type FQCSID

type FQCSID struct {
	FQCSIDdata []byte
}

type FSEID

type FSEID struct {
	V4          bool
	V6          bool
	Seid        uint64
	Ipv4Address net.IP
	Ipv6Address net.IP
}

func (*FSEID) MarshalBinary

func (f *FSEID) MarshalBinary() (data []byte, err error)

func (*FSEID) UnmarshalBinary

func (f *FSEID) UnmarshalBinary(data []byte) error

type FTEID

type FTEID struct {
	Chid        bool
	Ch          bool
	V6          bool
	V4          bool
	Teid        uint32
	Ipv4Address net.IP
	Ipv6Address net.IP
	ChooseId    uint8
}

func (*FTEID) MarshalBinary

func (f *FTEID) MarshalBinary() (data []byte, err error)

func (*FTEID) UnmarshalBinary

func (f *FTEID) UnmarshalBinary(data []byte) error

type FailedRuleID

type FailedRuleID struct {
	RuleIdType  uint8 // 0x00001111
	RuleIdValue []byte
}

func (*FailedRuleID) MarshalBinary

func (f *FailedRuleID) MarshalBinary() (data []byte, err error)

func (*FailedRuleID) UnmarshalBinary

func (f *FailedRuleID) UnmarshalBinary(data []byte) error

type FlowInformation

type FlowInformation struct {
	FlowInformationdata []byte
}

type ForwardingPolicy

type ForwardingPolicy struct {
	ForwardingPolicyIdentifierLength uint8
	ForwardingPolicyIdentifier       []byte
}

func (*ForwardingPolicy) MarshalBinary

func (f *ForwardingPolicy) MarshalBinary() (data []byte, err error)

func (*ForwardingPolicy) UnmarshalBinary

func (f *ForwardingPolicy) UnmarshalBinary(data []byte) error

type FramedIPv6Route

type FramedIPv6Route struct {
	FramedIPv6Routedata []byte
}

type FramedRoute

type FramedRoute struct {
	FramedRoutedata []byte
}

type FramedRouting

type FramedRouting struct {
	FramedRoutingdata []byte
}

type GBR

type GBR struct {
	ULGBR uint64 // 40-bit data
	DLGBR uint64 // 40-bit data
}

func (*GBR) MarshalBinary

func (g *GBR) MarshalBinary() ([]byte, error)

func (*GBR) UnmarshalBinary

func (g *GBR) UnmarshalBinary(data []byte) error

type GateStatus

type GateStatus struct {
	ULGate uint8 // 0x00001100
	DLGate uint8 // 0x00000011
}

func (*GateStatus) MarshalBinary

func (g *GateStatus) MarshalBinary() ([]byte, error)

func (*GateStatus) UnmarshalBinary

func (g *GateStatus) UnmarshalBinary(data []byte) error

type GracefulReleasePeriod

type GracefulReleasePeriod struct {
	GracefulReleasePerioddata []byte
}

type HeaderEnrichment

type HeaderEnrichment struct {
	HeaderType               uint8 // 0x00011111
	LengthOfHeaderFieldName  uint8
	HeaderFieldName          []byte
	LengthOfHeaderFieldValue uint8
	HeaderFieldValue         []byte
}

func (*HeaderEnrichment) MarshalBinary

func (h *HeaderEnrichment) MarshalBinary() (data []byte, err error)

func (*HeaderEnrichment) UnmarshalBinary

func (h *HeaderEnrichment) UnmarshalBinary(data []byte) error

type InactivityDetectionTime

type InactivityDetectionTime struct {
	InactivityDetectionTime uint32
}

func (*InactivityDetectionTime) MarshalBinary

func (i *InactivityDetectionTime) MarshalBinary() (data []byte, err error)

func (*InactivityDetectionTime) UnmarshalBinary

func (i *InactivityDetectionTime) UnmarshalBinary(data []byte) error

type LinkedURRID

type LinkedURRID struct {
	LinkedUrrIdValue uint32
}

func (*LinkedURRID) MarshalBinary

func (l *LinkedURRID) MarshalBinary() (data []byte, err error)

func (*LinkedURRID) UnmarshalBinary

func (l *LinkedURRID) UnmarshalBinary(data []byte) error

type MACAddress

type MACAddress struct {
	MACAddressdata []byte
}

type MACAddressesDetected

type MACAddressesDetected struct {
	MACAddressesDetecteddata []byte
}

type MACAddressesRemoved

type MACAddressesRemoved struct {
	MACAddressesRemoveddata []byte
}

type MBR

type MBR struct {
	ULMBR uint64 // 40-bit data
	DLMBR uint64 // 40-bit data
}

func (*MBR) MarshalBinary

func (m *MBR) MarshalBinary() (data []byte, err error)

func (*MBR) UnmarshalBinary

func (m *MBR) UnmarshalBinary(data []byte) error

type MeasurementInformation

type MeasurementInformation struct {
	Mnop bool
	Istm bool
	Radi bool
	Inam bool
	Mbqe bool
}

func (*MeasurementInformation) MarshalBinary

func (m *MeasurementInformation) MarshalBinary() (data []byte, err error)

func (*MeasurementInformation) UnmarshalBinary

func (m *MeasurementInformation) UnmarshalBinary(data []byte) error

type MeasurementMethod

type MeasurementMethod struct {
	Event bool
	Volum bool
	Durat bool
}

func (*MeasurementMethod) MarshalBinary

func (m *MeasurementMethod) MarshalBinary() (data []byte, err error)

func (*MeasurementMethod) UnmarshalBinary

func (m *MeasurementMethod) UnmarshalBinary(data []byte) error

type MeasurementPeriod

type MeasurementPeriod struct {
	MeasurementPeriod uint32
}

func (*MeasurementPeriod) MarshalBinary

func (m *MeasurementPeriod) MarshalBinary() (data []byte, err error)

func (*MeasurementPeriod) UnmarshalBinary

func (m *MeasurementPeriod) UnmarshalBinary(data []byte) error

type Metric

type Metric struct {
	Metricdata []byte
}

type MonitoringTime

type MonitoringTime struct {
	MonitoringTime time.Time
}

func (*MonitoringTime) MarshalBinary

func (m *MonitoringTime) MarshalBinary() (data []byte, err error)

func (*MonitoringTime) UnmarshalBinary

func (m *MonitoringTime) UnmarshalBinary(data []byte) error

type Multiplier

type Multiplier struct {
	Multiplierdata []byte
}

func (*Multiplier) MarshalBinary added in v1.0.6

func (m *Multiplier) MarshalBinary() (data []byte, err error)

func (*Multiplier) UnmarshalBinary added in v1.0.6

func (m *Multiplier) UnmarshalBinary(data []byte) error

type NetworkInstance added in v1.0.2

type NetworkInstance struct {
	NetworkInstance string
	FQDNEncoding    bool
}

func (*NetworkInstance) MarshalBinary added in v1.0.2

func (n *NetworkInstance) MarshalBinary() ([]byte, error)

func (*NetworkInstance) UnmarshalBinary added in v1.0.2

func (n *NetworkInstance) UnmarshalBinary(data []byte) error

type NodeID

type NodeID struct {
	NodeIdType uint8 // 0x00001111
	IP         net.IP
	FQDN       string
}

func (*NodeID) MarshalBinary

func (n *NodeID) MarshalBinary() ([]byte, error)

func (*NodeID) ResolveNodeIdToIp

func (n *NodeID) ResolveNodeIdToIp() net.IP

func (*NodeID) UnmarshalBinary

func (n *NodeID) UnmarshalBinary(data []byte) error

type NodeReportType

type NodeReportType struct {
	Upfr bool
}

func (*NodeReportType) MarshalBinary

func (n *NodeReportType) MarshalBinary() (data []byte, err error)

func (*NodeReportType) UnmarshalBinary

func (n *NodeReportType) UnmarshalBinary(data []byte) error

type OCIFlags

type OCIFlags struct {
	OCIFlagsdata []byte
}

type OffendingIE

type OffendingIE struct {
	TypeOfOffendingIe uint16
}

func (*OffendingIE) MarshalBinary

func (o *OffendingIE) MarshalBinary() (data []byte, err error)

func (*OffendingIE) UnmarshalBinary

func (o *OffendingIE) UnmarshalBinary(data []byte) error

type OuterHeaderCreation

type OuterHeaderCreation struct {
	OuterHeaderCreationDescription uint16
	Teid                           uint32
	Ipv4Address                    net.IP
	Ipv6Address                    net.IP
	PortNumber                     uint16
}

func (*OuterHeaderCreation) MarshalBinary

func (o *OuterHeaderCreation) MarshalBinary() (data []byte, err error)

func (*OuterHeaderCreation) UnmarshalBinary

func (o *OuterHeaderCreation) UnmarshalBinary(data []byte) error

type OuterHeaderRemoval

type OuterHeaderRemoval struct {
	OuterHeaderRemovalDescription uint8
}

func (*OuterHeaderRemoval) MarshalBinary

func (o *OuterHeaderRemoval) MarshalBinary() (data []byte, err error)

func (*OuterHeaderRemoval) UnmarshalBinary

func (o *OuterHeaderRemoval) UnmarshalBinary(data []byte) error

type PDNType

type PDNType struct {
	PdnType uint8 // 0x00000111
}

func (*PDNType) MarshalBinary

func (p *PDNType) MarshalBinary() (data []byte, err error)

func (*PDNType) UnmarshalBinary

func (p *PDNType) UnmarshalBinary(data []byte) error

type PFCPSMReqFlags

type PFCPSMReqFlags struct {
	Qaurr bool
	Sndem bool
	Drobu bool
}

func (*PFCPSMReqFlags) MarshalBinary

func (p *PFCPSMReqFlags) MarshalBinary() (data []byte, err error)

func (*PFCPSMReqFlags) UnmarshalBinary

func (p *PFCPSMReqFlags) UnmarshalBinary(data []byte) error

type PFCPSRRspFlags

type PFCPSRRspFlags struct {
	Drobu bool
}

func (*PFCPSRRspFlags) MarshalBinary

func (p *PFCPSRRspFlags) MarshalBinary() (data []byte, err error)

func (*PFCPSRRspFlags) UnmarshalBinary

func (p *PFCPSRRspFlags) UnmarshalBinary(data []byte) error

type PFDContents

type PFDContents struct {
	FlowDescription  string
	URL              string
	DomainName       string
	CustomPFDContent []byte
}

PFDContents - describe in TS 29.244 Figure 8.2.39-1: PFD Contents

func (*PFDContents) MarshalBinary

func (p *PFDContents) MarshalBinary() (data []byte, err error)

func (*PFDContents) UnmarshalBinary

func (p *PFDContents) UnmarshalBinary(data []byte) error

type PFDContext

type PFDContext struct {
	PFDContextdata []byte
}

type PacketDetectionRuleID

type PacketDetectionRuleID struct {
	RuleId uint16
}

func (*PacketDetectionRuleID) MarshalBinary

func (p *PacketDetectionRuleID) MarshalBinary() (data []byte, err error)

func (*PacketDetectionRuleID) UnmarshalBinary

func (p *PacketDetectionRuleID) UnmarshalBinary(data []byte) error

type PacketRate

type PacketRate struct {
	ULPR       bool
	DLPR       bool
	ULTimeUnit PacketRateTimeUnit
	MaximumUL  uint16
	DLTimeUnit PacketRateTimeUnit
	MaximumDL  uint16
}

func (*PacketRate) MarshalBinary

func (p *PacketRate) MarshalBinary() ([]byte, error)

func (*PacketRate) UnmarshalBinary

func (p *PacketRate) UnmarshalBinary(data []byte) error

type PacketRateTimeUnit

type PacketRateTimeUnit uint8

PacketRateTimeUnit represents the thime unit of packet rate

type Precedence

type Precedence struct {
	PrecedenceValue uint32
}

func (*Precedence) MarshalBinary

func (p *Precedence) MarshalBinary() (data []byte, err error)

func (*Precedence) UnmarshalBinary

func (p *Precedence) UnmarshalBinary(data []byte) error

type Proxying

type Proxying struct {
	Proxyingdata []byte
}

type QERCorrelationID

type QERCorrelationID struct {
	QerCorrelationIdValue uint32
}

func (*QERCorrelationID) MarshalBinary

func (q *QERCorrelationID) MarshalBinary() (data []byte, err error)

func (*QERCorrelationID) UnmarshalBinary

func (q *QERCorrelationID) UnmarshalBinary(data []byte) error

type QERID

type QERID struct {
	QERID uint32
}

func (*QERID) MarshalBinary

func (q *QERID) MarshalBinary() ([]byte, error)

func (*QERID) UnmarshalBinary

func (q *QERID) UnmarshalBinary(data []byte) error

type QFI

type QFI struct {
	QFI uint8
}

func (*QFI) MarshalBinary

func (q *QFI) MarshalBinary() ([]byte, error)

func (*QFI) UnmarshalBinary

func (q *QFI) UnmarshalBinary(data []byte) error

type QueryURRReference

type QueryURRReference struct {
	QueryURRReferencedata []byte
}

type QuotaHoldingTime

type QuotaHoldingTime struct {
	QuotaHoldingTimeValue uint32
}

func (*QuotaHoldingTime) MarshalBinary

func (q *QuotaHoldingTime) MarshalBinary() (data []byte, err error)

func (*QuotaHoldingTime) UnmarshalBinary

func (q *QuotaHoldingTime) UnmarshalBinary(data []byte) error

type QuotaValidityTime added in v1.0.6

type QuotaValidityTime struct {
	QuotaValidityTime uint32
}

func (*QuotaValidityTime) MarshalBinary added in v1.0.6

func (q *QuotaValidityTime) MarshalBinary() (data []byte, err error)

func (*QuotaValidityTime) UnmarshalBinary added in v1.0.6

func (q *QuotaValidityTime) UnmarshalBinary(data []byte) error

type RQI

type RQI struct {
	RQI bool
}

func (*RQI) MarshalBinary

func (r *RQI) MarshalBinary() ([]byte, error)

func (*RQI) UnmarshalBinary

func (r *RQI) UnmarshalBinary(data []byte) error

type RecoveryTimeStamp

type RecoveryTimeStamp struct {
	RecoveryTimeStamp time.Time
}

func (*RecoveryTimeStamp) MarshalBinary

func (r *RecoveryTimeStamp) MarshalBinary() (data []byte, err error)

func (*RecoveryTimeStamp) UnmarshalBinary

func (r *RecoveryTimeStamp) UnmarshalBinary(data []byte) error

type RedirectInformation

type RedirectInformation struct {
	RedirectAddressType         uint8 // 0x00001111
	RedirectServerAddressLength uint16
	RedirectServerAddress       []byte
}

func (*RedirectInformation) MarshalBinary

func (r *RedirectInformation) MarshalBinary() (data []byte, err error)

func (*RedirectInformation) UnmarshalBinary

func (r *RedirectInformation) UnmarshalBinary(data []byte) error

type RemoteGTPUPeer

type RemoteGTPUPeer struct {
	V4          bool
	V6          bool
	Ipv4Address net.IP
	Ipv6Address net.IP
}

func (*RemoteGTPUPeer) MarshalBinary

func (r *RemoteGTPUPeer) MarshalBinary() (data []byte, err error)

func (*RemoteGTPUPeer) UnmarshalBinary

func (r *RemoteGTPUPeer) UnmarshalBinary(data []byte) error

type ReportType

type ReportType struct {
	Upir bool
	Erir bool
	Usar bool
	Dldr bool
}

func (*ReportType) MarshalBinary

func (r *ReportType) MarshalBinary() (data []byte, err error)

func (*ReportType) UnmarshalBinary

func (r *ReportType) UnmarshalBinary(data []byte) error

type ReportingTriggers

type ReportingTriggers struct {
	Liusa bool
	Droth bool
	Stopt bool
	Start bool
	Quhti bool
	Timth bool
	Volth bool
	Perio bool
	Evequ bool
	Eveth bool
	Macar bool
	Envcl bool
	Timqu bool
	Volqu bool
	Ipmjl bool
	Quvti bool
}

func (*ReportingTriggers) MarshalBinary

func (r *ReportingTriggers) MarshalBinary() (data []byte, err error)

func (*ReportingTriggers) UnmarshalBinary

func (r *ReportingTriggers) UnmarshalBinary(data []byte) error

type Reserved

type Reserved struct {
	Reserveddata []byte
}

type SDFFilter

type SDFFilter struct {
	Bid                     bool
	Fl                      bool
	Spi                     bool
	Ttc                     bool
	Fd                      bool
	LengthOfFlowDescription uint16
	FlowDescription         []byte
	TosTrafficClass         []byte
	SecurityParameterIndex  []byte
	FlowLabel               []byte
	SdfFilterId             uint32
}

func (*SDFFilter) MarshalBinary

func (s *SDFFilter) MarshalBinary() (data []byte, err error)

func (*SDFFilter) UnmarshalBinary

func (s *SDFFilter) UnmarshalBinary(data []byte) error

type STAG

type STAG struct {
	STAGdata []byte
}

type SequenceNumber

type SequenceNumber struct {
	SequenceNumberdata []byte
}

type SourceInterface

type SourceInterface struct {
	InterfaceValue uint8 // 0x00001111
}

func (*SourceInterface) MarshalBinary

func (s *SourceInterface) MarshalBinary() (data []byte, err error)

func (*SourceInterface) UnmarshalBinary

func (s *SourceInterface) UnmarshalBinary(data []byte) error

type StartTime

type StartTime struct {
	StartTime time.Time
}

func (*StartTime) MarshalBinary

func (s *StartTime) MarshalBinary() (data []byte, err error)

func (*StartTime) UnmarshalBinary

func (s *StartTime) UnmarshalBinary(data []byte) error

type SubsequentTimeQuota

type SubsequentTimeQuota struct {
	SubsequentTimeQuotadata []byte
}

type SubsequentTimeThreshold

type SubsequentTimeThreshold struct {
	SubsequentTimeThreshold uint32
}

func (*SubsequentTimeThreshold) MarshalBinary

func (s *SubsequentTimeThreshold) MarshalBinary() (data []byte, err error)

func (*SubsequentTimeThreshold) UnmarshalBinary

func (s *SubsequentTimeThreshold) UnmarshalBinary(data []byte) error

type SubsequentVolumeQuota

type SubsequentVolumeQuota struct {
	SubsequentVolumeQuotadata []byte
}

type SubsequentVolumeThreshold

type SubsequentVolumeThreshold struct {
	Dlvol          bool
	Ulvol          bool
	Tovol          bool
	TotalVolume    uint64
	UplinkVolume   uint64
	DownlinkVolume uint64
}

func (*SubsequentVolumeThreshold) MarshalBinary

func (s *SubsequentVolumeThreshold) MarshalBinary() (data []byte, err error)

func (*SubsequentVolumeThreshold) UnmarshalBinary

func (s *SubsequentVolumeThreshold) UnmarshalBinary(data []byte) error

type SuggestedBufferingPacketsCount

type SuggestedBufferingPacketsCount struct {
	PacketCountValue uint8
}

func (*SuggestedBufferingPacketsCount) MarshalBinary

func (s *SuggestedBufferingPacketsCount) MarshalBinary() (data []byte, err error)

func (*SuggestedBufferingPacketsCount) UnmarshalBinary

func (s *SuggestedBufferingPacketsCount) UnmarshalBinary(data []byte) error

type TimeOfFirstPacket

type TimeOfFirstPacket struct {
	TimeOfFirstPacket time.Time
}

func (*TimeOfFirstPacket) MarshalBinary

func (t *TimeOfFirstPacket) MarshalBinary() (data []byte, err error)

func (*TimeOfFirstPacket) UnmarshalBinary

func (t *TimeOfFirstPacket) UnmarshalBinary(data []byte) error

type TimeOfLastPacket

type TimeOfLastPacket struct {
	TimeOfLastPacket time.Time
}

func (*TimeOfLastPacket) MarshalBinary

func (t *TimeOfLastPacket) MarshalBinary() (data []byte, err error)

func (*TimeOfLastPacket) UnmarshalBinary

func (t *TimeOfLastPacket) UnmarshalBinary(data []byte) error

type TimeQuota

type TimeQuota struct {
	TimeQuotaValue uint32
}

func (*TimeQuota) MarshalBinary

func (t *TimeQuota) MarshalBinary() (data []byte, err error)

func (*TimeQuota) UnmarshalBinary

func (t *TimeQuota) UnmarshalBinary(data []byte) error

type TimeQuotaMechanism

type TimeQuotaMechanism struct {
	TimeQuotaMechanismdata []byte
}

type TimeThreshold

type TimeThreshold struct {
	TimeThreshold uint32
}

func (*TimeThreshold) MarshalBinary

func (t *TimeThreshold) MarshalBinary() (data []byte, err error)

func (*TimeThreshold) UnmarshalBinary

func (t *TimeThreshold) UnmarshalBinary(data []byte) error

type Timer

type Timer struct {
	Timerdata []byte
}

type TraceInformation

type TraceInformation struct {
	TraceInformationdata []byte
}

type TrafficEndpointID

type TrafficEndpointID struct {
	TrafficEndpointIdValue uint8
}

func (*TrafficEndpointID) MarshalBinary

func (t *TrafficEndpointID) MarshalBinary() (data []byte, err error)

func (*TrafficEndpointID) UnmarshalBinary

func (t *TrafficEndpointID) UnmarshalBinary(data []byte) error

type TransportLevelMarking

type TransportLevelMarking struct {
	TosTrafficClass []byte
}

func (*TransportLevelMarking) MarshalBinary

func (t *TransportLevelMarking) MarshalBinary() (data []byte, err error)

func (*TransportLevelMarking) UnmarshalBinary

func (t *TransportLevelMarking) UnmarshalBinary(data []byte) error

type UEIPAddress

type UEIPAddress struct {
	Ipv6d                    bool
	Sd                       bool
	V4                       bool
	V6                       bool
	Ipv4Address              net.IP
	Ipv6Address              net.IP
	Ipv6PrefixDelegationBits uint8
}

func (*UEIPAddress) MarshalBinary

func (u *UEIPAddress) MarshalBinary() (data []byte, err error)

func (*UEIPAddress) UnmarshalBinary

func (u *UEIPAddress) UnmarshalBinary(data []byte) error

type UPFunctionFeatures

type UPFunctionFeatures struct {
	SupportedFeatures uint16
}

func (*UPFunctionFeatures) MarshalBinary

func (u *UPFunctionFeatures) MarshalBinary() (data []byte, err error)

func (*UPFunctionFeatures) UnmarshalBinary

func (u *UPFunctionFeatures) UnmarshalBinary(data []byte) error

type URRID

type URRID struct {
	UrrIdValue uint32
}

func (*URRID) MarshalBinary

func (u *URRID) MarshalBinary() (data []byte, err error)

func (*URRID) UnmarshalBinary

func (u *URRID) UnmarshalBinary(data []byte) error

type URSEQN

type URSEQN struct {
	UrseqnValue uint32
}

func (*URSEQN) MarshalBinary

func (u *URSEQN) MarshalBinary() (data []byte, err error)

func (*URSEQN) UnmarshalBinary

func (u *URSEQN) UnmarshalBinary(data []byte) error

type UpdateBARPFCPSessionReportResponse

type UpdateBARPFCPSessionReportResponse struct {
	UpdateBARPFCPSessionReportResponsedata []byte
}

type UpdateBARSessionModificationRequest

type UpdateBARSessionModificationRequest struct {
	UpdateBARSessionModificationRequestdata []byte
}

type UpdateDuplicatingParameters

type UpdateDuplicatingParameters struct {
	UpdateDuplicatingParametersdata []byte
}

type UpdateForwardingParameters

type UpdateForwardingParameters struct {
	UpdateForwardingParametersdata []byte
}

type UsageInformation

type UsageInformation struct {
	UsageInformationdata []byte
}

type UsageReportPFCPSessionDeletionResponse

type UsageReportPFCPSessionDeletionResponse struct {
	UsageReportPFCPSessionDeletionResponsedata []byte
}

type UsageReportPFCPSessionModificationResponse

type UsageReportPFCPSessionModificationResponse struct {
	UsageReportPFCPSessionModificationResponsedata []byte
}

type UsageReportPFCPSessionReportRequest

type UsageReportPFCPSessionReportRequest struct {
	UsageReportPFCPSessionReportRequestdata []byte
}

type UsageReportTrigger

type UsageReportTrigger struct {
	Immer bool
	Droth bool
	Stopt bool
	Start bool
	Quhti bool
	Timth bool
	Volth bool
	Perio bool
	Eveth bool
	Macar bool
	Envcl bool
	Monit bool
	Termr bool
	Liusa bool
	Timqu bool
	Volqu bool
	Emrre bool
	Quvti bool
	Ipmjl bool
	Tebur bool
	Evequ bool
}

func (*UsageReportTrigger) MarshalBinary added in v1.0.6

func (u *UsageReportTrigger) MarshalBinary() (data []byte, err error)

func (*UsageReportTrigger) UnmarshalBinary added in v1.0.6

func (u *UsageReportTrigger) UnmarshalBinary(data []byte) error

type UserID

type UserID struct {
	UserIDdata []byte
}

type UserPlaneIPResourceInformation

type UserPlaneIPResourceInformation struct {
	Assosi          bool
	Assoni          bool
	Teidri          uint8 // 0x00011100
	V6              bool
	V4              bool
	TeidRange       uint8
	Ipv4Address     net.IP
	Ipv6Address     net.IP
	NetworkInstance NetworkInstance
	SourceInterface uint8 // 0x00001111
}

func (*UserPlaneIPResourceInformation) MarshalBinary

func (u *UserPlaneIPResourceInformation) MarshalBinary() (data []byte, err error)

func (*UserPlaneIPResourceInformation) UnmarshalBinary

func (u *UserPlaneIPResourceInformation) UnmarshalBinary(data []byte) error

type UserPlaneInactivityTimer

type UserPlaneInactivityTimer struct {
	UserPlaneInactivityTimerdata []byte
}

type UserPlanePathFailureReport

type UserPlanePathFailureReport struct {
	UserPlanePathFailureReportdata []byte
}

type VolumeMeasurement

type VolumeMeasurement struct {
	Dlnop          bool
	Ulnop          bool
	Tonop          bool
	Dlvol          bool
	Ulvol          bool
	Tovol          bool
	TotalVolume    uint64
	UplinkVolume   uint64
	DownlinkVolume uint64
	TotalPktNum    uint64
	UplinkPktNum   uint64
	DownlinkPktNum uint64
}

func (*VolumeMeasurement) MarshalBinary

func (v *VolumeMeasurement) MarshalBinary() (data []byte, err error)

func (*VolumeMeasurement) UnmarshalBinary

func (v *VolumeMeasurement) UnmarshalBinary(data []byte) error

type VolumeQuota

type VolumeQuota struct {
	Dlvol          bool
	Ulvol          bool
	Tovol          bool
	TotalVolume    uint64
	UplinkVolume   uint64
	DownlinkVolume uint64
}

func (*VolumeQuota) MarshalBinary

func (v *VolumeQuota) MarshalBinary() (data []byte, err error)

func (*VolumeQuota) UnmarshalBinary

func (v *VolumeQuota) UnmarshalBinary(data []byte) error

type VolumeThreshold

type VolumeThreshold struct {
	Dlvol          bool
	Ulvol          bool
	Tovol          bool
	TotalVolume    uint64
	UplinkVolume   uint64
	DownlinkVolume uint64
}

func (*VolumeThreshold) MarshalBinary

func (v *VolumeThreshold) MarshalBinary() (data []byte, err error)

func (*VolumeThreshold) UnmarshalBinary

func (v *VolumeThreshold) UnmarshalBinary(data []byte) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL