Documentation ¶
Overview ¶
Package ie provides the painless handling of of PFCP Information Elements.
This document is a work in progress. Read the README.md at https://github.com/wmnsk/go-pfcp for further details.
Index ¶
- Constants
- Variables
- func AddGroupedIEType(ts ...uint16)
- func SetIsGroupedFun(fun func(t uint16) bool)
- type AlternativeSMFIPAddressFields
- func (f *AlternativeSMFIPAddressFields) HasIPv4() bool
- func (f *AlternativeSMFIPAddressFields) HasIPv6() bool
- func (f *AlternativeSMFIPAddressFields) Marshal() ([]byte, error)
- func (f *AlternativeSMFIPAddressFields) MarshalLen() int
- func (f *AlternativeSMFIPAddressFields) MarshalTo(b []byte) error
- func (f *AlternativeSMFIPAddressFields) SetIPv4Flag()
- func (f *AlternativeSMFIPAddressFields) SetIPv6Flag()
- func (f *AlternativeSMFIPAddressFields) UnmarshalBinary(b []byte) error
- type CPPFCPEntityIPAddressFields
- func (f *CPPFCPEntityIPAddressFields) HasIPv4() bool
- func (f *CPPFCPEntityIPAddressFields) HasIPv6() bool
- func (f *CPPFCPEntityIPAddressFields) Marshal() ([]byte, error)
- func (f *CPPFCPEntityIPAddressFields) MarshalLen() int
- func (f *CPPFCPEntityIPAddressFields) MarshalTo(b []byte) error
- func (f *CPPFCPEntityIPAddressFields) SetIPv4Flag()
- func (f *CPPFCPEntityIPAddressFields) SetIPv6Flag()
- func (f *CPPFCPEntityIPAddressFields) UnmarshalBinary(b []byte) error
- type CTAGFields
- func (f *CTAGFields) HasDEI() bool
- func (f *CTAGFields) HasPCP() bool
- func (f *CTAGFields) HasVID() bool
- func (f *CTAGFields) Marshal() ([]byte, error)
- func (f *CTAGFields) MarshalLen() int
- func (f *CTAGFields) MarshalTo(b []byte) error
- func (f *CTAGFields) SetDEIFlag()
- func (f *CTAGFields) SetPCPFlag()
- func (f *CTAGFields) SetVIDFlag()
- func (f *CTAGFields) UnmarshalBinary(b []byte) error
- type DLFlowLevelMarkingFields
- type FSEIDFields
- func (f *FSEIDFields) HasIPv4() bool
- func (f *FSEIDFields) HasIPv6() bool
- func (f *FSEIDFields) Marshal() ([]byte, error)
- func (f *FSEIDFields) MarshalLen() int
- func (f *FSEIDFields) MarshalTo(b []byte) error
- func (f *FSEIDFields) SetIPv4Flag()
- func (f *FSEIDFields) SetIPv6Flag()
- func (f *FSEIDFields) UnmarshalBinary(b []byte) error
- type FTEIDFields
- func (f *FTEIDFields) HasCh() bool
- func (f *FTEIDFields) HasChID() bool
- func (f *FTEIDFields) HasIPv4() bool
- func (f *FTEIDFields) HasIPv6() bool
- func (f *FTEIDFields) Marshal() ([]byte, error)
- func (f *FTEIDFields) MarshalLen() int
- func (f *FTEIDFields) MarshalTo(b []byte) error
- func (f *FTEIDFields) SetChFlag()
- func (f *FTEIDFields) SetChIDFlag()
- func (f *FTEIDFields) SetIPv4Flag()
- func (f *FTEIDFields) SetIPv6Flag()
- func (f *FTEIDFields) UnmarshalBinary(b []byte) error
- type HeaderEnrichmentFields
- type IE
- func New(itype uint16, data []byte) *IE
- func NewAPNDNN(apn string) *IE
- func NewATSSSControlParameters(ies ...*IE) *IE
- func NewATSSSLLControlInformation(lli uint8) *IE
- func NewATSSSLLInformation(lli uint8) *IE
- func NewATSSSLLParameters(info *IE) *IE
- func NewAccessAvailabilityControlInformation(info *IE) *IE
- func NewAccessAvailabilityInformation(status, atype uint8) *IE
- func NewAccessAvailabilityReport(info *IE) *IE
- func NewActivatePredefinedRules(name string) *IE
- func NewActivationTime(ts time.Time) *IE
- func NewAdditionalMonitoringTime(ies ...*IE) *IE
- func NewAdditionalUsageReportsInformation(num uint16) *IE
- func NewAggregatedURRID(id uint32) *IE
- func NewAggregatedURRs(ies ...*IE) *IE
- func NewAlternativeSMFIPAddress(v4, v6 net.IP) *IE
- func NewApplicationDetectionInformation(ies ...*IE) *IE
- func NewApplicationID(instance string) *IE
- func NewApplicationIDsPFDs(ies ...*IE) *IE
- func NewApplicationInstanceID(id string) *IE
- func NewApplyAction(flagsOctets ...uint8) *IE
- func NewAveragePacketDelay(delay time.Duration) *IE
- func NewAveragingWindow(window uint32) *IE
- func NewBARID(id uint8) *IE
- func NewBridgeManagementInformationContainer(info string) *IE
- func NewCPFunctionFeatures(features ...uint8) *IE
- func NewCPPFCPEntityIPAddress(v4, v6 net.IP) *IE
- func NewCTAG(flags, pcp, deiFlag uint8, cvid uint16) *IE
- func NewCause(cause uint8) *IE
- func NewClockDriftControlInformation(ies ...*IE) *IE
- func NewClockDriftReport(ies ...*IE) *IE
- func NewCreateBAR(ies ...*IE) *IE
- func NewCreateBridgeInfoForTSC(bii uint8) *IE
- func NewCreateFAR(ies ...*IE) *IE
- func NewCreateMAR(ies ...*IE) *IE
- func NewCreatePDR(ies ...*IE) *IE
- func NewCreateQER(ies ...*IE) *IE
- func NewCreateSRR(ies ...*IE) *IE
- func NewCreateTrafficEndpoint(ies ...*IE) *IE
- func NewCreateURR(ies ...*IE) *IE
- func NewCreatedBridgeInfoForTSC(ies ...*IE) *IE
- func NewCreatedPDR(ies ...*IE) *IE
- func NewCreatedTrafficEndpoint(ies ...*IE) *IE
- func NewCumulativeRateRatioMeasurement(measurement uint32) *IE
- func NewCumulativeRateRatioThreshold(threshold uint32) *IE
- func NewDLBufferingDuration(duration time.Duration) *IE
- func NewDLBufferingSuggestedPacketCount(count uint16) *IE
- func NewDLDataPacketsSize(size uint16) *IE
- func NewDLFlowLevelMarking(flags uint8, ttc, sci uint16) *IE
- func NewDSTTPortNumber(port uint32) *IE
- func NewDataNetworkAccessIdentifier(id string) *IE
- func NewDataStatus(flag uint8) *IE
- func NewDeactivatePredefinedRules(name string) *IE
- func NewDeactivationTime(ts time.Time) *IE
- func NewDestinationInterface(intf uint8) *IE
- func NewDownlinkDataNotificationDelay(delay time.Duration) *IE
- func NewDownlinkDataReport(ies ...*IE) *IE
- func NewDownlinkDataServiceInformation(hasPPI, hasQFI bool, ppi, qfi uint8) *IE
- func NewDroppedDLTrafficThreshold(dlpa, dlby bool, packets, bytes uint64) *IE
- func NewDuplicatingParameters(ies ...*IE) *IE
- func NewDurationMeasurement(duration time.Duration) *IE
- func NewEndTime(ts time.Time) *IE
- func NewErrorIndicationReport(fteid *IE) *IE
- func NewEthernetContextInformation(mac *IE) *IE
- func NewEthernetFilterID(id uint32) *IE
- func NewEthernetFilterProperties(props uint8) *IE
- func NewEthernetInactivityTimer(period time.Duration) *IE
- func NewEthernetPDUSessionInformation(info uint8) *IE
- func NewEthernetPacketFilter(ies ...*IE) *IE
- func NewEthernetTrafficInformation(ies ...*IE) *IE
- func NewEthertype(typ uint16) *IE
- func NewEventQuota(quota uint32) *IE
- func NewEventThreshold(quota uint32) *IE
- func NewEventTimeStamp(ts time.Time) *IE
- func NewFARID(id uint32) *IE
- func NewFQCSID(nodeAddr string, csIDs ...uint16) *IE
- func NewFQDNIE(itype uint16, v string) *IE
- func NewFSEID(seid uint64, v4, v6 net.IP) *IE
- func NewFTEID(flags uint8, teid uint32, v4, v6 net.IP, chid uint8) *IE
- func NewFailedRuleID(typ uint8, id uint32) *IE
- func NewFlowInformation(dir uint8, desc string) *IE
- func NewForwardingParameters(ies ...*IE) *IE
- func NewForwardingPolicy(id string) *IE
- func NewFramedIPv6Route(name string) *IE
- func NewFramedRoute(name string) *IE
- func NewFramedRouting(routing uint32) *IE
- func NewGBR(ul, dl uint64) *IE
- func NewGTPUPathInterfaceType(n3, n9 int) *IE
- func NewGTPUPathQoSControlInformation(ies ...*IE) *IE
- func NewGTPUPathQoSReport(ies ...*IE) *IE
- func NewGateStatus(ul, dl uint8) *IE
- func NewGracefulReleasePeriod(duration time.Duration) *IE
- func NewGroupedIE(itype uint16, ies ...*IE) *IE
- func NewHeaderEnrichment(typ uint8, name, value string) *IE
- func NewIPMulticastAddress(sv4, sv6, ev4, ev6 net.IP) *IE
- func NewIPMulticastAddressingInfo(ies ...*IE) *IE
- func NewIPVersion(v4, v6 bool) *IE
- func NewInactivityDetectionTime(threshold uint32) *IE
- func NewJoinIPMulticastInformationWithinUsageReport(ies ...*IE) *IE
- func NewLeaveIPMulticastInformationWithinUsageReport(ies ...*IE) *IE
- func NewLinkedURRID(id uint32) *IE
- func NewLoadControlInformation(ies ...*IE) *IE
- func NewMACAddress(src, dst, upperSrc, upperDst net.HardwareAddr) *IE
- func NewMACAddressesDetected(ctag, stag *IE, macs ...net.HardwareAddr) *IE
- func NewMACAddressesRemoved(ctag, stag *IE, macs ...net.HardwareAddr) *IE
- func NewMARID(id uint16) *IE
- func NewMBR(ul, dl uint64) *IE
- func NewMPTCPAddressInformation(ptype uint8, port uint16, v4, v6 net.IP) *IE
- func NewMPTCPApplicableIndication(flag uint8) *IE
- func NewMPTCPControlInformation(tci uint8) *IE
- func NewMPTCPParameters(ies ...*IE) *IE
- func NewMTEDTControlInformation(rdsi uint8) *IE
- func NewMaximumPacketDelay(delay time.Duration) *IE
- func NewMeasurementInformation(flags uint8) *IE
- func NewMeasurementMethod(event, volum, durat int) *IE
- func NewMeasurementPeriod(period time.Duration) *IE
- func NewMetric(metric uint8) *IE
- func NewMinimumPacketDelay(delay time.Duration) *IE
- func NewMinimumWaitTime(period time.Duration) *IE
- func NewMonitoringTime(ts time.Time) *IE
- func NewMultiplier(val uint64, exp uint32) *IE
- func NewNFInstanceID(id []byte) *IE
- func NewNWTTPortNumber(port uint32) *IE
- func NewNetworkInstance(instance string) *IE
- func NewNetworkInstanceFQDN(fqdn string) *IE
- func NewNodeID(ipv4, ipv6, fqdn string) *IE
- func NewNodeIDHeuristic(nodeID string) *IE
- func NewNodeReportType(flags uint8) *IE
- func NewNonTGPPAccessForwardingActionInformation(ies ...*IE) *IE
- func NewNumberOfReports(num uint16) *IE
- func NewNumberOfUEIPAddresses(flags uint8, v4, v6 uint32) *IE
- func NewOCIFlags(flags uint8) *IE
- func NewOffendingIE(itype uint16) *IE
- func NewOuterHeaderCreation(desc uint16, teid uint32, v4, v6 string, port uint16, ctag, stag uint32) *IE
- func NewOuterHeaderRemoval(desc, ext uint8) *IE
- func NewOverloadControlInformation(ies ...*IE) *IE
- func NewPDI(ies ...*IE) *IE
- func NewPDNType(typ uint8) *IE
- func NewPDRID(id uint16) *IE
- func NewPFCPASReqFlags(flag uint8) *IE
- func NewPFCPASRspFlags(flag uint8) *IE
- func NewPFCPAUReqFlags(flag uint8) *IE
- func NewPFCPAssociationReleaseRequest(sarr, urss int) *IE
- func NewPFCPSEReqFlags(flag uint8) *IE
- func NewPFCPSMReqFlags(flag uint8) *IE
- func NewPFCPSRReqFlags(flag uint8) *IE
- func NewPFCPSRRspFlags(flag uint8) *IE
- func NewPFCPSessionRetentionInformation(cpIP *IE) *IE
- func NewPFDContents(fd, url, dn, cp, dnp string, afd, aurl, adnp []string) *IE
- func NewPFDContext(contents ...*IE) *IE
- func NewPMFAddressInformation(v4, v6 net.IP, port1, port2 uint16, mac1, mac2 net.HardwareAddr) *IE
- func NewPMFControlInformation(pmfi uint8) *IE
- func NewPMFParameters(info *IE) *IE
- func NewPacketDelayThresholds(flags uint8, dl, ul, rp uint32) *IE
- func NewPacketRate(flags uint8, ulunit uint8, ulpackets uint16, dlunit uint8, dlpackets uint16) *IE
- func NewPacketRateStatus(flags uint8, ul, aul, dl, adl uint16, vtime time.Time) *IE
- func NewPacketRateStatusReport(ies ...*IE) *IE
- func NewPacketRateStatusReportWithinSessionModificationResponse(ies ...*IE) *IE
- func NewPacketReplicationAndDetectionCarryOnInformation(flag uint8) *IE
- func NewPagingPolicyIndicator(indicator uint8) *IE
- func NewPortManagementInformationContainer(info string) *IE
- func NewPortManagementInformationForTSC(typ uint16, info *IE) *IE
- func NewPortManagementInformationForTSCWithinSessionModificationRequest(info *IE) *IE
- func NewPortManagementInformationForTSCWithinSessionModificationResponse(info *IE) *IE
- func NewPortManagementInformationForTSCWithinSessionReportRequest(info *IE) *IE
- func NewPrecedence(id uint32) *IE
- func NewPriority(priority uint8) *IE
- func NewProvideATSSSControlInformation(ies ...*IE) *IE
- func NewProvideRDSConfigurationInformation(ies ...*IE) *IE
- func NewProxying(ins, arp uint8) *IE
- func NewQERControlIndications(nord, mode, rcsr int) *IE
- func NewQERCorrelationID(id uint32) *IE
- func NewQERID(id uint32) *IE
- func NewQFI(qfi uint8) *IE
- func NewQoSInformationInGTPUPathQoSReport(ies ...*IE) *IE
- func NewQoSMonitoringMeasurement(flags uint8, dl, ul, rp uint32) *IE
- func NewQoSMonitoringPerQoSFlowControlInformation(ies ...*IE) *IE
- func NewQoSMonitoringReport(ies ...*IE) *IE
- func NewQoSReportTrigger(ire, thr, per int) *IE
- func NewQueryPacketRateStatusWithinSessionModificationRequest(ies ...*IE) *IE
- func NewQueryURR(urrID *IE) *IE
- func NewQueryURRReference(id uint32) *IE
- func NewQuotaHoldingTime(duration time.Duration) *IE
- func NewQuotaValidityTime(t time.Duration) *IE
- func NewRDSConfigurationInformation(rds uint8) *IE
- func NewRQI(rqi uint8) *IE
- func NewRecoveryTimeStamp(ts time.Time) *IE
- func NewRedirectInformation(addrType uint8, addrs ...string) *IE
- func NewRedundantTransmissionForwardingParameters(ies ...*IE) *IE
- func NewRedundantTransmissionParameters(ies ...*IE) *IE
- func NewRedundantTransmissionParametersInFAR(ohc, ni *IE) *IE
- func NewRedundantTransmissionParametersInPDI(fteid, ni *IE) *IE
- func NewRemoteGTPUPeer(flags uint8, v4, v6 string, di uint8, ni string) *IE
- func NewRemoveBAR(barID *IE) *IE
- func NewRemoveFAR(far *IE) *IE
- func NewRemoveMAR(marID *IE) *IE
- func NewRemovePDR(pdr *IE) *IE
- func NewRemoveQER(qer *IE) *IE
- func NewRemoveSRR(srr *IE) *IE
- func NewRemoveTrafficEndpoint(id *IE) *IE
- func NewRemoveURR(urr *IE) *IE
- func NewReportType(upir, erir, usar, dldr int) *IE
- func NewReportingFrequency(sesrl, perio, evett int) *IE
- func NewReportingTriggers(triggersOctets ...uint8) *IE
- func NewRequestedAccessAvailabilityInformation(rrca uint8) *IE
- func NewRequestedClockDriftInformation(rrcr, rrto uint8) *IE
- func NewRequestedQoSMonitoring(rp, ul, dl int) *IE
- func NewSDFFilter(fd, ttc, spi, fl string, fid uint32) *IE
- func NewSMFSetID(id string) *IE
- func NewSNSSAI(sst uint8, sd uint32) *IE
- func NewSRRID(id uint8) *IE
- func NewSTAG(flags, pcp, deiFlag uint8, cvid uint16) *IE
- func NewSequenceNumber(seq uint32) *IE
- func NewSessionReport(ies ...*IE) *IE
- func NewSourceIPAddress(v4, v6 net.IP, mpl uint8) *IE
- func NewSourceInterface(intf uint8) *IE
- func NewStartTime(ts time.Time) *IE
- func NewSteeringFunctionality(sfunc uint8) *IE
- func NewSteeringMode(mode uint8) *IE
- func NewStringIE(itype uint16, v string) *IE
- func NewSubsequentEventQuota(quota uint32) *IE
- func NewSubsequentEventThreshold(quota uint32) *IE
- func NewSubsequentTimeQuota(period time.Duration) *IE
- func NewSubsequentTimeThreshold(t time.Duration) *IE
- func NewSubsequentVolumeQuota(flags uint8, tvol, uvol, dvol uint64) *IE
- func NewSubsequentVolumeThreshold(flags uint8, tvol, uvol, dvol uint64) *IE
- func NewSuggestedBufferingPacketsCount(count uint8) *IE
- func NewTGPPAccessForwardingActionInformation(ies ...*IE) *IE
- func NewTGPPInterfaceType(intf uint8) *IE
- func NewTSCManagementInformation(typ uint16, ies ...*IE) *IE
- func NewTSCManagementInformationWithinSessionModificationRequest(ies ...*IE) *IE
- func NewTSCManagementInformationWithinSessionModificationResponse(ies ...*IE) *IE
- func NewTSCManagementInformationWithinSessionReportRequest(ies ...*IE) *IE
- func NewTSNBridgeID(mac net.HardwareAddr) *IE
- func NewTSNTimeDomainNumber(num uint8) *IE
- func NewTimeOfFirstPacket(ts time.Time) *IE
- func NewTimeOfLastPacket(ts time.Time) *IE
- func NewTimeOffsetMeasurement(measurement time.Duration) *IE
- func NewTimeOffsetThreshold(threshold time.Duration) *IE
- func NewTimeQuota(period time.Duration) *IE
- func NewTimeQuotaMechanism(btit uint8, bti time.Duration) *IE
- func NewTimeThreshold(t time.Duration) *IE
- func NewTimer(duration time.Duration) *IE
- func NewTraceInformation(mcc, mnc, id string, events []byte, depth uint8, interfaces []byte, ip net.IP) *IE
- func NewTrafficEndpointID(id uint8) *IE
- func NewTransportDelayReporting(ies ...*IE) *IE
- func NewTransportLevelMarking(tos uint16) *IE
- func NewUEIPAddress(flags uint8, v4, v6 string, v6d, v6pl uint8) *IE
- func NewUEIPAddressPoolIdentity(id string) *IE
- func NewUEIPAddressPoolInformation(ies ...*IE) *IE
- func NewUEIPAddressUsageInformation(ies ...*IE) *IE
- func NewUELinkSpecificIPAddress(v4, v6, nv4, nv6 net.IP) *IE
- func NewUPFunctionFeatures(features ...uint8) *IE
- func NewURRID(id uint32) *IE
- func NewURSEQN(seq uint32) *IE
- func NewUint16IE(itype uint16, v uint16) *IE
- func NewUint32IE(itype uint16, v uint32) *IE
- func NewUint64IE(itype uint16, v uint64) *IE
- func NewUint8IE(itype uint16, v uint8) *IE
- func NewUpdateBAR(typ uint16, ies ...*IE) *IE
- func NewUpdateBARWithinSessionModificationRequest(ies ...*IE) *IE
- func NewUpdateBARWithinSessionReportResponse(ies ...*IE) *IE
- func NewUpdateDuplicatingParameters(ies ...*IE) *IE
- func NewUpdateFAR(ies ...*IE) *IE
- func NewUpdateForwardingParameters(ies ...*IE) *IE
- func NewUpdateMAR(ies ...*IE) *IE
- func NewUpdateNonTGPPAccessForwardingActionInformation(ies ...*IE) *IE
- func NewUpdatePDR(ies ...*IE) *IE
- func NewUpdateQER(ies ...*IE) *IE
- func NewUpdateSRR(ies ...*IE) *IE
- func NewUpdateTGPPAccessForwardingActionInformation(ies ...*IE) *IE
- func NewUpdateTrafficEndpoint(ies ...*IE) *IE
- func NewUpdateURR(ies ...*IE) *IE
- func NewUpdatedPDR(ies ...*IE) *IE
- func NewUsageInformation(bef, aft, uae, ube int) *IE
- func NewUsageReport(typ uint16, ies ...*IE) *IE
- func NewUsageReportTrigger(triggerOctets ...uint8) *IE
- func NewUsageReportWithinSessionDeletionResponse(ies ...*IE) *IE
- func NewUsageReportWithinSessionModificationResponse(ies ...*IE) *IE
- func NewUsageReportWithinSessionReportRequest(ies ...*IE) *IE
- func NewUserID(flags uint8, imsi, imei, msisdn, nai string) *IE
- func NewUserPlaneIPResourceInformation(flags uint8, tRange uint8, v4, v6, ni string, si uint8) *IE
- func NewUserPlaneInactivityTimer(period time.Duration) *IE
- func NewUserPlanePathFailureReport(peer *IE) *IE
- func NewUserPlanePathRecoveryReport(peer *IE) *IE
- func NewValidityTimer(period time.Duration) *IE
- func NewVendorSpecificGroupedIE(itype, eid uint16, ies ...*IE) *IE
- func NewVendorSpecificIE(itype, eid uint16, data []byte) *IE
- func NewVolumeMeasurement(flags uint8, tvol, uvol, dvol, tpkt, upkt, dpkt uint64) *IE
- func NewVolumeQuota(flags uint8, tvol, uvol, dvol uint64) *IE
- func NewVolumeThreshold(flags uint8, tvol, uvol, dvol uint64) *IE
- func NewWeight(weight uint8) *IE
- func Parse(b []byte) (*IE, error)
- func ParseMultiIEs(b []byte) ([]*IE, error)
- func (i *IE) APNDNN() (string, error)
- func (i *IE) ATSSSControlParameters() ([]*IE, error)
- func (i *IE) ATSSSLLControlInformation() (uint8, error)
- func (i *IE) ATSSSLLInformation() (uint8, error)
- func (i *IE) ATSSSLLParameters() ([]*IE, error)
- func (i *IE) AccessAvailabilityControlInformation() ([]*IE, error)
- func (i *IE) AccessAvailabilityInformation() (uint8, error)
- func (i *IE) AccessAvailabilityReport() ([]*IE, error)
- func (i *IE) AccessType() (uint8, error)
- func (i *IE) ActivatePredefinedRules() (string, error)
- func (i *IE) ActivationTime() (time.Time, error)
- func (i *IE) Add(ies ...*IE)
- func (i *IE) AdditionalMonitoringTime() ([]*IE, error)
- func (i *IE) AdditionalUsageReportsInformation() (uint16, error)
- func (i *IE) AggregatedURRID() (uint32, error)
- func (i *IE) AggregatedURRs() ([]*IE, error)
- func (i *IE) AlternativeSMFIPAddress() (*AlternativeSMFIPAddressFields, error)
- func (i *IE) ApplicationDetectionInformation() ([]*IE, error)
- func (i *IE) ApplicationID() (string, error)
- func (i *IE) ApplicationIDsPFDs() ([]*IE, error)
- func (i *IE) ApplicationInstanceID() (string, error)
- func (i *IE) ApplyAction() ([]byte, error)
- func (i *IE) AvailabilityStatus() (uint8, error)
- func (i *IE) AveragePacketDelay() (time.Duration, error)
- func (i *IE) AveragingWindow() (uint32, error)
- func (i *IE) BARID() (uint8, error)
- func (i *IE) BridgeManagementInformationContainer() (string, error)
- func (i *IE) CPFunctionFeatures() ([]byte, error)
- func (i *IE) CPPFCPEntityIPAddress() (*CPPFCPEntityIPAddressFields, error)
- func (i *IE) CSIDs() ([]uint16, error)
- func (i *IE) CTAG() (*CTAGFields, error)
- func (i *IE) Cause() (uint8, error)
- func (i *IE) ClockDriftControlInformation() ([]*IE, error)
- func (i *IE) ClockDriftReport() ([]*IE, error)
- func (i *IE) CreateBAR() ([]*IE, error)
- func (i *IE) CreateBridgeInfoForTSC() (uint8, error)
- func (i *IE) CreateFAR() ([]*IE, error)
- func (i *IE) CreateMAR() ([]*IE, error)
- func (i *IE) CreatePDR() ([]*IE, error)
- func (i *IE) CreateQER() ([]*IE, error)
- func (i *IE) CreateSRR() ([]*IE, error)
- func (i *IE) CreateTrafficEndpoint() ([]*IE, error)
- func (i *IE) CreateURR() ([]*IE, error)
- func (i *IE) CreatedBridgeInfoForTSC() ([]*IE, error)
- func (i *IE) CreatedPDR() ([]*IE, error)
- func (i *IE) CreatedTrafficEndpoint() ([]*IE, error)
- func (i *IE) CumulativeRateRatioMeasurement() (uint32, error)
- func (i *IE) CumulativeRateRatioThreshold() (uint32, error)
- func (i *IE) DLBufferingDuration() (time.Duration, error)
- func (i *IE) DLBufferingSuggestedPacketCount() (uint16, error)
- func (i *IE) DLDataPacketsSize() (uint16, error)
- func (i *IE) DLFlowLevelMarking() (*DLFlowLevelMarkingFields, error)
- func (i *IE) DSTTPortNumber() (uint32, error)
- func (i *IE) DataNetworkAccessIdentifier() (string, error)
- func (i *IE) DataStatus() (uint8, error)
- func (i *IE) DeactivatePredefinedRules() (string, error)
- func (i *IE) DeactivationTime() (time.Time, error)
- func (i *IE) DestinationInterface() (uint8, error)
- func (i *IE) DownlinkDataNotificationDelay() (time.Duration, error)
- func (i *IE) DownlinkDataReport() ([]*IE, error)
- func (i *IE) DownlinkDataServiceInformation() ([]byte, error)
- func (i *IE) DroppedDLTrafficThreshold() (uint8, error)
- func (i *IE) DuplicatingParameters() ([]*IE, error)
- func (i *IE) DurationMeasurement() (time.Duration, error)
- func (i *IE) EndTime() (time.Time, error)
- func (i *IE) ErrorIndicationReport() ([]*IE, error)
- func (i *IE) EthernetContextInformation() ([]*IE, error)
- func (i *IE) EthernetFilterID() (uint32, error)
- func (i *IE) EthernetFilterProperties() (uint8, error)
- func (i *IE) EthernetInactivityTimer() (time.Duration, error)
- func (i *IE) EthernetPDUSessionInformation() (uint8, error)
- func (i *IE) EthernetPacketFilter() ([]*IE, error)
- func (i *IE) EthernetTrafficInformation() ([]*IE, error)
- func (i *IE) Ethertype() (uint16, error)
- func (i *IE) EventQuota() (uint32, error)
- func (i *IE) EventThreshold() (uint32, error)
- func (i *IE) EventTimeStamp() (time.Time, error)
- func (i *IE) Exponent() (uint32, error)
- func (i *IE) FARID() (uint32, error)
- func (i *IE) FQCSID() ([]byte, error)
- func (i *IE) FSEID() (*FSEIDFields, error)
- func (i *IE) FTEID() (*FTEIDFields, error)
- func (i *IE) FailedRuleID() (uint32, error)
- func (i *IE) FindByType(typ uint16) (*IE, error)
- func (i *IE) FlowDescription() (string, error)
- func (i *IE) FlowDirection() (uint8, error)
- func (i *IE) FlowInformation() ([]byte, error)
- func (i *IE) ForwardingParameters() ([]*IE, error)
- func (i *IE) ForwardingPolicy() ([]byte, error)
- func (i *IE) ForwardingPolicyIdentifier() (string, error)
- func (i *IE) FramedIPv6Route() (string, error)
- func (i *IE) FramedRoute() (string, error)
- func (i *IE) FramedRouting() (uint32, error)
- func (i *IE) GBR() ([]byte, error)
- func (i *IE) GBRDL() (uint64, error)
- func (i *IE) GBRUL() (uint64, error)
- func (i *IE) GTPUExtensionHeaderDeletion() (uint8, error)
- func (i *IE) GTPUPathInterfaceType() (uint8, error)
- func (i *IE) GTPUPathQoSControlInformation() ([]*IE, error)
- func (i *IE) GTPUPathQoSReport() ([]*IE, error)
- func (i *IE) GateStatus() (uint8, error)
- func (i *IE) GateStatusDL() (uint8, error)
- func (i *IE) GateStatusUL() (uint8, error)
- func (i *IE) GateStatusULDL() (uint8, uint8, error)
- func (i *IE) GracefulReleasePeriod() (time.Duration, error)
- func (i *IE) HasADPDP() bool
- func (i *IE) HasAFT() bool
- func (i *IE) HasARDR() bool
- func (i *IE) HasARP() bool
- func (i *IE) HasASSONI() bool
- func (i *IE) HasASSOSI() bool
- func (i *IE) HasAURI() bool
- func (i *IE) HasBDPN() bool
- func (i *IE) HasBEF() bool
- func (i *IE) HasBIDE() bool
- func (i *IE) HasBII() bool
- func (i *IE) HasBUCP() bool
- func (i *IE) HasBUFF() bool
- func (i *IE) HasBUNDL() bool
- func (i *IE) HasCHV4() bool
- func (i *IE) HasCHV6() bool
- func (i *IE) HasCTag() bool
- func (i *IE) HasDCARONI() bool
- func (i *IE) HasDDND() bool
- func (i *IE) HasDDPN() bool
- func (i *IE) HasDFRT() bool
- func (i *IE) HasDI() bool
- func (i *IE) HasDL() bool
- func (i *IE) HasDLBD() bool
- func (i *IE) HasDLBY() bool
- func (i *IE) HasDLDR() bool
- func (i *IE) HasDLPA() bool
- func (i *IE) HasDLPR() bool
- func (i *IE) HasDPDRA() bool
- func (i *IE) HasDROBU() bool
- func (i *IE) HasDROP() bool
- func (i *IE) HasDROTH() bool
- func (i *IE) HasDUPL() bool
- func (i *IE) HasDURAT() bool
- func (i *IE) HasEDRT() bool
- func (i *IE) HasEMPU() bool
- func (i *IE) HasEMRRE() bool
- func (i *IE) HasENVCL() bool
- func (i *IE) HasEPFAR() bool
- func (i *IE) HasERIR() bool
- func (i *IE) HasETHI() bool
- func (i *IE) HasEVENT() bool
- func (i *IE) HasEVEQU() bool
- func (i *IE) HasEVETH() bool
- func (i *IE) HasEVETT() bool
- func (i *IE) HasFORW() bool
- func (i *IE) HasFRRT() bool
- func (i *IE) HasFSSM() bool
- func (i *IE) HasFTUP() bool
- func (i *IE) HasGCOM() bool
- func (i *IE) HasHEEU() bool
- func (i *IE) HasIMMER() bool
- func (i *IE) HasINAM() bool
- func (i *IE) HasINS() bool
- func (i *IE) HasIP6PL() bool
- func (i *IE) HasIPMA() bool
- func (i *IE) HasIPMD() bool
- func (i *IE) HasIPMJL() bool
- func (i *IE) HasIPv4() bool
- func (i *IE) HasIPv6() bool
- func (i *IE) HasIPv6D() bool
- func (i *IE) HasIRE() bool
- func (i *IE) HasISTM() bool
- func (i *IE) HasLIUSA() bool
- func (i *IE) HasLLI() bool
- func (i *IE) HasLOAD() bool
- func (i *IE) HasMAC() bool
- func (i *IE) HasMACAR() bool
- func (i *IE) HasMAI() bool
- func (i *IE) HasMBQE() bool
- func (i *IE) HasMBSU() bool
- func (i *IE) HasMNOP() bool
- func (i *IE) HasMODE() bool
- func (i *IE) HasMONIT() bool
- func (i *IE) HasMPAS() bool
- func (i *IE) HasMTE() bool
- func (i *IE) HasN3() bool
- func (i *IE) HasN9() bool
- func (i *IE) HasNI() bool
- func (i *IE) HasNOCP() bool
- func (i *IE) HasNORD() bool
- func (i *IE) HasOVRL() bool
- func (i *IE) HasPARPS() bool
- func (i *IE) HasPDIU() bool
- func (i *IE) HasPER() bool
- func (i *IE) HasPERIO() bool
- func (i *IE) HasPFDE() bool
- func (i *IE) HasPFDM() bool
- func (i *IE) HasPMFI() bool
- func (i *IE) HasPPI() bool
- func (i *IE) HasPRIN6I() bool
- func (i *IE) HasPRINT19I() bool
- func (i *IE) HasPRIUEAI() bool
- func (i *IE) HasPSDBU() bool
- func (i *IE) HasPSREI() bool
- func (i *IE) HasPSUCC() bool
- func (i *IE) HasPortNumber() bool
- func (i *IE) HasQAURR() bool
- func (i *IE) HasQFI() bool
- func (i *IE) HasQUHTI() bool
- func (i *IE) HasQUOAC() bool
- func (i *IE) HasQUVTI() bool
- func (i *IE) HasRADI() bool
- func (i *IE) HasRCSR() bool
- func (i *IE) HasRDS() bool
- func (i *IE) HasRDSI() bool
- func (i *IE) HasREEMR() bool
- func (i *IE) HasRESTI() bool
- func (i *IE) HasRP() bool
- func (i *IE) HasRPGUR() bool
- func (i *IE) HasRQI() bool
- func (i *IE) HasRRCA() bool
- func (i *IE) HasRRCR() bool
- func (i *IE) HasRRTO() bool
- func (i *IE) HasRTTL() bool
- func (i *IE) HasSARR() bool
- func (i *IE) HasSCI() bool
- func (i *IE) HasSD() bool
- func (i *IE) HasSESRL() bool
- func (i *IE) HasSNDEM() bool
- func (i *IE) HasSSET() bool
- func (i *IE) HasSTART() bool
- func (i *IE) HasSTOPT() bool
- func (i *IE) HasSTag() bool
- func (i *IE) HasTCI() bool
- func (i *IE) HasTEBUR() bool
- func (i *IE) HasTEID() bool
- func (i *IE) HasTERMR() bool
- func (i *IE) HasTHR() bool
- func (i *IE) HasTIMQU() bool
- func (i *IE) HasTIMTH() bool
- func (i *IE) HasTRACE() bool
- func (i *IE) HasTREU() bool
- func (i *IE) HasTRST() bool
- func (i *IE) HasTTC() bool
- func (i *IE) HasUAE() bool
- func (i *IE) HasUBE() bool
- func (i *IE) HasUDBC() bool
- func (i *IE) HasUEIP() bool
- func (i *IE) HasUIAUR() bool
- func (i *IE) HasUL() bool
- func (i *IE) HasULPR() bool
- func (i *IE) HasUPFR() bool
- func (i *IE) HasUPINT() bool
- func (i *IE) HasUPIR() bool
- func (i *IE) HasURSS() bool
- func (i *IE) HasUSAR() bool
- func (i *IE) HasUUPSI() bool
- func (i *IE) HasVOLQU() bool
- func (i *IE) HasVOLTH() bool
- func (i *IE) HasVOLUM() bool
- func (i *IE) HasVTIME() bool
- func (i *IE) HeaderEnrichment() (*HeaderEnrichmentFields, error)
- func (i *IE) IPMulticastAddress() (*IPMulticastAddressFields, error)
- func (i *IE) IPMulticastAddressingInfo() ([]*IE, error)
- func (i *IE) IPVersion() (uint8, error)
- func (i *IE) InactivityDetectionTime() (uint32, error)
- func (i *IE) IsAllocatedByCPFunction() bool
- func (i *IE) IsAllocatedByUPFunction() bool
- func (i *IE) IsGrouped() bool
- func (i *IE) IsLLSSMCTEID() bool
- func (i *IE) IsN19() bool
- func (i *IE) IsN6() bool
- func (i *IE) IsVendorSpecific() bool
- func (i *IE) JoinIPMulticastInformationWithinUsageReport() ([]*IE, error)
- func (i *IE) LeaveIPMulticastInformationWithinUsageReport() ([]*IE, error)
- func (i *IE) LinkedURRID() (uint32, error)
- func (i *IE) LoadControlInformation() ([]*IE, error)
- func (i *IE) LocalFTEID() (*FTEIDFields, error)
- func (i *IE) LocalFTEIDN(n int) (*FTEIDFields, error)
- func (i *IE) MACAddress() (*MACAddressFields, error)
- func (i *IE) MACAddressesDetected() (*MACAddressesDetectedFields, error)
- func (i *IE) MACAddressesRemoved() (*MACAddressesRemovedFields, error)
- func (i *IE) MARID() (uint16, error)
- func (i *IE) MBR() ([]byte, error)
- func (i *IE) MBRDL() (uint64, error)
- func (i *IE) MBRUL() (uint64, error)
- func (i *IE) MPTCPAddressInformation() (*MPTCPAddressInformationFields, error)
- func (i *IE) MPTCPApplicableIndication() (uint8, error)
- func (i *IE) MPTCPControlInformation() (uint8, error)
- func (i *IE) MPTCPParameters() ([]*IE, error)
- func (i *IE) MTEDTControlInformation() (uint8, error)
- func (i *IE) Marshal() ([]byte, error)
- func (i *IE) MarshalLen() int
- func (i *IE) MarshalTo(b []byte) error
- func (i *IE) MaximumPacketDelay() (time.Duration, error)
- func (i *IE) MeasurementInformation() (uint8, error)
- func (i *IE) MeasurementMethod() (uint8, error)
- func (i *IE) MeasurementPeriod() (time.Duration, error)
- func (i *IE) Metric() (uint8, error)
- func (i *IE) MinimumPacketDelay() (time.Duration, error)
- func (i *IE) MinimumWaitTime() (time.Duration, error)
- func (i *IE) MonitoringTime() (time.Time, error)
- func (i *IE) Multiplier() ([]byte, error)
- func (i *IE) MustAPNDNN() string
- func (i *IE) NFInstanceID() ([]byte, error)
- func (i *IE) NWTTPortNumber() (uint32, error)
- func (i *IE) NetworkInstance() (string, error)
- func (i *IE) NetworkInstanceFQDN() (string, error)
- func (i *IE) NetworkInstanceHeuristic() (string, error)
- func (i *IE) NodeAddress() ([]byte, error)
- func (i *IE) NodeID() (string, error)
- func (i *IE) NodeIDType() (uint8, error)
- func (i *IE) NodeReportType() (uint8, error)
- func (i *IE) NonTGPPAccessForwardingActionInformation() ([]*IE, error)
- func (i *IE) NumberOfReports() (uint16, error)
- func (i *IE) NumberOfUEIPAddresses() (*NumberOfUEIPAddressesFields, error)
- func (i *IE) OCIFlags() (uint8, error)
- func (i *IE) OffendingIE() (uint16, error)
- func (i *IE) OuterHeaderCreation() (*OuterHeaderCreationFields, error)
- func (i *IE) OuterHeaderRemoval() ([]byte, error)
- func (i *IE) OuterHeaderRemovalDescription() (uint8, error)
- func (i *IE) OverloadControlInformation() ([]*IE, error)
- func (i *IE) PDI() ([]*IE, error)
- func (i *IE) PDNType() (uint8, error)
- func (i *IE) PDRID() (uint16, error)
- func (i *IE) PFCPASReqFlags() (uint8, error)
- func (i *IE) PFCPASRspFlags() (uint8, error)
- func (i *IE) PFCPAUReqFlags() (uint8, error)
- func (i *IE) PFCPAssociationReleaseRequest() (uint8, error)
- func (i *IE) PFCPSEReqFlags() (uint8, error)
- func (i *IE) PFCPSMReqFlags() (uint8, error)
- func (i *IE) PFCPSRReqFlags() (uint8, error)
- func (i *IE) PFCPSRRspFlags() (uint8, error)
- func (i *IE) PFCPSessionRetentionInformation() ([]*IE, error)
- func (i *IE) PFDContents() (*PFDContentsFields, error)
- func (i *IE) PFDContext() ([]*IE, error)
- func (i *IE) PMFAddressInformation() (*PMFAddressInformationFields, error)
- func (i *IE) PMFControlInformation() (uint8, error)
- func (i *IE) PMFParameters() ([]*IE, error)
- func (i *IE) PPI() (uint8, error)
- func (i *IE) PacketDelayThresholds() (*PacketDelayThresholdsFields, error)
- func (i *IE) PacketRate() (*PacketRateFields, error)
- func (i *IE) PacketRateStatus() (*PacketRateStatusFields, error)
- func (i *IE) PacketRateStatusReport() ([]*IE, error)
- func (i *IE) PacketReplicationAndDetectionCarryOnInformation() (uint8, error)
- func (i *IE) PagingPolicyIndicator() (uint8, error)
- func (i *IE) PortManagementInformationContainer() (string, error)
- func (i *IE) PortManagementInformationForTSC() ([]*IE, error)
- func (i *IE) Precedence() (uint32, error)
- func (i *IE) Priority() (uint8, error)
- func (i *IE) ProvideATSSSControlInformation() ([]*IE, error)
- func (i *IE) ProvideRDSConfigurationInformation() ([]*IE, error)
- func (i *IE) Proxying() (uint8, error)
- func (i *IE) QERControlIndications() (uint8, error)
- func (i *IE) QERCorrelationID() (uint32, error)
- func (i *IE) QERID() (uint32, error)
- func (i *IE) QFI() (uint8, error)
- func (i *IE) QoSInformationInGTPUPathQoSReport() ([]*IE, error)
- func (i *IE) QoSMonitoringMeasurement() (*QoSMonitoringMeasurementFields, error)
- func (i *IE) QoSMonitoringPerQoSFlowControlInformation() ([]*IE, error)
- func (i *IE) QoSMonitoringReport() ([]*IE, error)
- func (i *IE) QoSReportTrigger() (uint8, error)
- func (i *IE) QueryPacketRateStatus() ([]*IE, error)
- func (i *IE) QueryURR() ([]*IE, error)
- func (i *IE) QueryURRReference() (uint32, error)
- func (i *IE) QuotaHoldingTime() (time.Duration, error)
- func (i *IE) QuotaValidityTime() (time.Duration, error)
- func (i *IE) RDSConfigurationInformation() (uint8, error)
- func (i *IE) RQI() (uint8, error)
- func (i *IE) RecoveryTimeStamp() (time.Time, error)
- func (i *IE) RedirectInformation() (*RedirectInformationFields, error)
- func (i *IE) RedundantTransmissionForwardingParameters() ([]*IE, error)
- func (i *IE) RedundantTransmissionParameters() ([]*IE, error)
- func (i *IE) RemoteGTPUPeer() (*RemoteGTPUPeerFields, error)
- func (i *IE) Remove(typ uint16)
- func (i *IE) RemoveBAR() ([]*IE, error)
- func (i *IE) RemoveFAR() ([]*IE, error)
- func (i *IE) RemoveMAR() ([]*IE, error)
- func (i *IE) RemovePDR() ([]*IE, error)
- func (i *IE) RemoveQER() ([]*IE, error)
- func (i *IE) RemoveSRR() ([]*IE, error)
- func (i *IE) RemoveTrafficEndpoint() ([]*IE, error)
- func (i *IE) RemoveURR() ([]*IE, error)
- func (i *IE) ReportType() (uint8, error)
- func (i *IE) ReportingFrequency() (uint8, error)
- func (i *IE) ReportingTriggers() ([]byte, error)
- func (i *IE) RequestedAccessAvailabilityInformation() (uint8, error)
- func (i *IE) RequestedClockDriftInformation() (uint8, error)
- func (i *IE) RequestedQoSMonitoring() (uint8, error)
- func (i *IE) RuleIDType() (uint8, error)
- func (i *IE) SD() (uint32, error)
- func (i *IE) SDFFilter() (*SDFFilterFields, error)
- func (i *IE) SMFSetID() (string, error)
- func (i *IE) SNSSAI() ([]byte, error)
- func (i *IE) SRRID() (uint8, error)
- func (i *IE) SST() (uint8, error)
- func (i *IE) STAG() (*STAGFields, error)
- func (i *IE) SequenceNumber() (uint32, error)
- func (i *IE) SessionReport() ([]*IE, error)
- func (i *IE) SetLength()
- func (i *IE) SourceIPAddress() (*SourceIPAddressFields, error)
- func (i *IE) SourceInterface() (uint8, error)
- func (i *IE) StartTime() (time.Time, error)
- func (i *IE) SteeringFunctionality() (uint8, error)
- func (i *IE) SteeringMode() (uint8, error)
- func (i *IE) SubsequentEventQuota() (uint32, error)
- func (i *IE) SubsequentEventThreshold() (uint32, error)
- func (i *IE) SubsequentTimeQuota() (time.Duration, error)
- func (i *IE) SubsequentTimeThreshold() (time.Duration, error)
- func (i *IE) SubsequentVolumeQuota() (*SubsequentVolumeQuotaFields, error)
- func (i *IE) SubsequentVolumeThreshold() (*SubsequentVolumeThresholdFields, error)
- func (i *IE) SuggestedBufferingPacketsCount() (uint8, error)
- func (i *IE) TEIDRI() int
- func (i *IE) TGPPAccessForwardingActionInformation() ([]*IE, error)
- func (i *IE) TGPPInterfaceType() (uint8, error)
- func (i *IE) TSCManagementInformation() ([]*IE, error)
- func (i *IE) TSNBridgeID() (net.HardwareAddr, error)
- func (i *IE) TSNTimeDomainNumber() (uint8, error)
- func (i *IE) TimeOfFirstPacket() (time.Time, error)
- func (i *IE) TimeOfLastPacket() (time.Time, error)
- func (i *IE) TimeOffsetMeasurement() (time.Duration, error)
- func (i *IE) TimeOffsetThreshold() (time.Duration, error)
- func (i *IE) TimeQuota() (time.Duration, error)
- func (i *IE) TimeQuotaMechanism() ([]byte, error)
- func (i *IE) TimeThreshold() (time.Duration, error)
- func (i *IE) Timer() (time.Duration, error)
- func (i *IE) TraceInformation() (*TraceInformationFields, error)
- func (i *IE) TrafficEndpointID() (uint8, error)
- func (i *IE) TransportDelayReporting() ([]*IE, error)
- func (i *IE) TransportLevelMarking() (uint16, error)
- func (i *IE) UEIPAddress() (*UEIPAddressFields, error)
- func (i *IE) UEIPAddressPoolIdentity() ([]byte, error)
- func (i *IE) UEIPAddressPoolIdentityString() (string, error)
- func (i *IE) UEIPAddressPoolInformation() ([]*IE, error)
- func (i *IE) UEIPAddressUsageInformation() ([]*IE, error)
- func (i *IE) UELinkSpecificIPAddress() (*UELinkSpecificIPAddressFields, error)
- func (i *IE) UPFunctionFeatures() ([]byte, error)
- func (i *IE) URRID() (uint32, error)
- func (i *IE) URSEQN() (uint32, error)
- func (i *IE) UnmarshalBinary(b []byte) error
- func (i *IE) UpdateBAR() ([]*IE, error)
- func (i *IE) UpdateDuplicatingParameters() ([]*IE, error)
- func (i *IE) UpdateFAR() ([]*IE, error)
- func (i *IE) UpdateForwardingParameters() ([]*IE, error)
- func (i *IE) UpdateMAR() ([]*IE, error)
- func (i *IE) UpdateNonTGPPAccessForwardingActionInformation() ([]*IE, error)
- func (i *IE) UpdatePDR() ([]*IE, error)
- func (i *IE) UpdateQER() ([]*IE, error)
- func (i *IE) UpdateSRR() ([]*IE, error)
- func (i *IE) UpdateTGPPAccessForwardingActionInformation() ([]*IE, error)
- func (i *IE) UpdateTrafficEndpoint() ([]*IE, error)
- func (i *IE) UpdateURR() ([]*IE, error)
- func (i *IE) UpdatedPDR() ([]*IE, error)
- func (i *IE) UsageInformation() (uint8, error)
- func (i *IE) UsageReport() ([]*IE, error)
- func (i *IE) UsageReportTrigger() ([]byte, error)
- func (i *IE) UserID() (*UserIDFields, error)
- func (i *IE) UserPlaneIPResourceInformation() (*UserPlaneIPResourceInformationFields, error)
- func (i *IE) UserPlaneInactivityTimer() (time.Duration, error)
- func (i *IE) UserPlanePathFailureReport() ([]*IE, error)
- func (i *IE) UserPlanePathRecoveryReport() ([]*IE, error)
- func (i *IE) ValidateApplyAction() error
- func (i *IE) ValidityTimer() (time.Duration, error)
- func (i *IE) ValueAsFQDN() (string, error)
- func (i *IE) ValueAsGrouped() ([]*IE, error)
- func (i *IE) ValueAsString() (string, error)
- func (i *IE) ValueAsUint16() (uint16, error)
- func (i *IE) ValueAsUint32() (uint32, error)
- func (i *IE) ValueAsUint64() (uint64, error)
- func (i *IE) ValueAsUint8() (uint8, error)
- func (i *IE) ValueDigits() (uint64, error)
- func (i *IE) VolumeMeasurement() (*VolumeMeasurementFields, error)
- func (i *IE) VolumeQuota() (*VolumeQuotaFields, error)
- func (i *IE) VolumeThreshold() (*VolumeThresholdFields, error)
- func (i *IE) Weight() (uint8, error)
- type IPMulticastAddressFields
- func (f *IPMulticastAddressFields) HasAny() bool
- func (f *IPMulticastAddressFields) HasIPv4() bool
- func (f *IPMulticastAddressFields) HasIPv6() bool
- func (f *IPMulticastAddressFields) HasRange() bool
- func (f *IPMulticastAddressFields) Marshal() ([]byte, error)
- func (f *IPMulticastAddressFields) MarshalLen() int
- func (f *IPMulticastAddressFields) MarshalTo(b []byte) error
- func (f *IPMulticastAddressFields) SetAnyFlag()
- func (f *IPMulticastAddressFields) SetIPv4Flag()
- func (f *IPMulticastAddressFields) SetIPv6Flag()
- func (f *IPMulticastAddressFields) SetRangeFlag()
- func (f *IPMulticastAddressFields) UnmarshalBinary(b []byte) error
- type InvalidNodeIDError
- type InvalidTypeError
- type MACAddressFields
- func (f *MACAddressFields) HasDEST() bool
- func (f *MACAddressFields) HasSOUR() bool
- func (f *MACAddressFields) HasUDES() bool
- func (f *MACAddressFields) HasUSOU() bool
- func (f *MACAddressFields) Marshal() ([]byte, error)
- func (f *MACAddressFields) MarshalLen() int
- func (f *MACAddressFields) MarshalTo(b []byte) error
- func (f *MACAddressFields) SetDESTFlag()
- func (f *MACAddressFields) SetSOURFlag()
- func (f *MACAddressFields) SetUDESFlag()
- func (f *MACAddressFields) SetUSOUFlag()
- func (f *MACAddressFields) UnmarshalBinary(b []byte) error
- type MACAddressesDetectedFields
- type MACAddressesRemovedFields
- type MPTCPAddressInformationFields
- func (f *MPTCPAddressInformationFields) HasIPv4() bool
- func (f *MPTCPAddressInformationFields) HasIPv6() bool
- func (f *MPTCPAddressInformationFields) Marshal() ([]byte, error)
- func (f *MPTCPAddressInformationFields) MarshalLen() int
- func (f *MPTCPAddressInformationFields) MarshalTo(b []byte) error
- func (f *MPTCPAddressInformationFields) SetIPv4Flag()
- func (f *MPTCPAddressInformationFields) SetIPv6Flag()
- func (f *MPTCPAddressInformationFields) UnmarshalBinary(b []byte) error
- type NumberOfUEIPAddressesFields
- func (f *NumberOfUEIPAddressesFields) HasNumIPv4() bool
- func (f *NumberOfUEIPAddressesFields) HasNumIPv6() bool
- func (f *NumberOfUEIPAddressesFields) Marshal() ([]byte, error)
- func (f *NumberOfUEIPAddressesFields) MarshalLen() int
- func (f *NumberOfUEIPAddressesFields) MarshalTo(b []byte) error
- func (f *NumberOfUEIPAddressesFields) SetIPv4Flag()
- func (f *NumberOfUEIPAddressesFields) SetIPv6Flag()
- func (f *NumberOfUEIPAddressesFields) UnmarshalBinary(b []byte) error
- type OuterHeaderCreationFields
- func (f *OuterHeaderCreationFields) HasCTag() bool
- func (f *OuterHeaderCreationFields) HasIPv4() bool
- func (f *OuterHeaderCreationFields) HasIPv6() bool
- func (f *OuterHeaderCreationFields) HasPortNumber() bool
- func (f *OuterHeaderCreationFields) HasSTag() bool
- func (f *OuterHeaderCreationFields) HasTEID() bool
- func (f *OuterHeaderCreationFields) IsLLSSMCTEID() bool
- func (f *OuterHeaderCreationFields) IsN19() bool
- func (f *OuterHeaderCreationFields) IsN6() bool
- func (f *OuterHeaderCreationFields) Marshal() ([]byte, error)
- func (f *OuterHeaderCreationFields) MarshalLen() int
- func (f *OuterHeaderCreationFields) MarshalTo(b []byte) error
- func (f *OuterHeaderCreationFields) UnmarshalBinary(b []byte) error
- type PFDContentsFields
- func (f *PFDContentsFields) HasADNP() bool
- func (f *PFDContentsFields) HasAFD() bool
- func (f *PFDContentsFields) HasAURL() bool
- func (f *PFDContentsFields) HasCP() bool
- func (f *PFDContentsFields) HasDN() bool
- func (f *PFDContentsFields) HasDNP() bool
- func (f *PFDContentsFields) HasFD() bool
- func (f *PFDContentsFields) HasURL() bool
- func (f *PFDContentsFields) Marshal() ([]byte, error)
- func (f *PFDContentsFields) MarshalLen() int
- func (f *PFDContentsFields) MarshalTo(b []byte) error
- func (f *PFDContentsFields) SetADNPFlag()
- func (f *PFDContentsFields) SetAFDFlag()
- func (f *PFDContentsFields) SetAURLFlag()
- func (f *PFDContentsFields) SetCPFlag()
- func (f *PFDContentsFields) SetDNFlag()
- func (f *PFDContentsFields) SetDNPFlag()
- func (f *PFDContentsFields) SetFDFlag()
- func (f *PFDContentsFields) SetURLFlag()
- func (f *PFDContentsFields) UnmarshalBinary(b []byte) error
- type PMFAddressInformationFields
- func (f *PMFAddressInformationFields) HasIPv4() bool
- func (f *PMFAddressInformationFields) HasIPv6() bool
- func (f *PMFAddressInformationFields) HasMAC() bool
- func (f *PMFAddressInformationFields) Marshal() ([]byte, error)
- func (f *PMFAddressInformationFields) MarshalLen() int
- func (f *PMFAddressInformationFields) MarshalTo(b []byte) error
- func (f *PMFAddressInformationFields) SetIPv4Flag()
- func (f *PMFAddressInformationFields) SetIPv6Flag()
- func (f *PMFAddressInformationFields) SetMACFlag()
- func (f *PMFAddressInformationFields) UnmarshalBinary(b []byte) error
- type PacketDelayThresholdsFields
- func (f *PacketDelayThresholdsFields) HasDL() bool
- func (f *PacketDelayThresholdsFields) HasRP() bool
- func (f *PacketDelayThresholdsFields) HasUL() bool
- func (f *PacketDelayThresholdsFields) Marshal() ([]byte, error)
- func (f *PacketDelayThresholdsFields) MarshalLen() int
- func (f *PacketDelayThresholdsFields) MarshalTo(b []byte) error
- func (f *PacketDelayThresholdsFields) SetDLFlag()
- func (f *PacketDelayThresholdsFields) SetRPFlag()
- func (f *PacketDelayThresholdsFields) SetULFlag()
- func (f *PacketDelayThresholdsFields) UnmarshalBinary(b []byte) error
- type PacketRateFields
- type PacketRateStatusFields
- func (f *PacketRateStatusFields) HasAPR() bool
- func (f *PacketRateStatusFields) HasDL() bool
- func (f *PacketRateStatusFields) HasUL() bool
- func (f *PacketRateStatusFields) Marshal() ([]byte, error)
- func (f *PacketRateStatusFields) MarshalLen() int
- func (f *PacketRateStatusFields) MarshalTo(b []byte) error
- func (f *PacketRateStatusFields) SetAPRFlag()
- func (f *PacketRateStatusFields) SetDLFlag()
- func (f *PacketRateStatusFields) SetULFlag()
- func (f *PacketRateStatusFields) UnmarshalBinary(b []byte) error
- type QoSMonitoringMeasurementFields
- func (f *QoSMonitoringMeasurementFields) HasDL() bool
- func (f *QoSMonitoringMeasurementFields) HasPLMF() bool
- func (f *QoSMonitoringMeasurementFields) HasRP() bool
- func (f *QoSMonitoringMeasurementFields) HasUL() bool
- func (f *QoSMonitoringMeasurementFields) Marshal() ([]byte, error)
- func (f *QoSMonitoringMeasurementFields) MarshalLen() int
- func (f *QoSMonitoringMeasurementFields) MarshalTo(b []byte) error
- func (f *QoSMonitoringMeasurementFields) SetDLFlag()
- func (f *QoSMonitoringMeasurementFields) SetPLMFFlag()
- func (f *QoSMonitoringMeasurementFields) SetRPFlag()
- func (f *QoSMonitoringMeasurementFields) SetULFlag()
- func (f *QoSMonitoringMeasurementFields) UnmarshalBinary(b []byte) error
- type RedirectInformationFields
- type RemoteGTPUPeerFields
- type SDFFilterFields
- func (f *SDFFilterFields) HasBID() bool
- func (f *SDFFilterFields) HasFD() bool
- func (f *SDFFilterFields) HasFL() bool
- func (f *SDFFilterFields) HasSPI() bool
- func (f *SDFFilterFields) HasTTC() bool
- func (f *SDFFilterFields) Marshal() ([]byte, error)
- func (f *SDFFilterFields) MarshalLen() int
- func (f *SDFFilterFields) MarshalTo(b []byte) error
- func (f *SDFFilterFields) SetBIDFlag()
- func (f *SDFFilterFields) SetFDFlag()
- func (f *SDFFilterFields) SetFLFlag()
- func (f *SDFFilterFields) SetSPIFlag()
- func (f *SDFFilterFields) SetTTCFlag()
- func (f *SDFFilterFields) UnmarshalBinary(b []byte) error
- type STAGFields
- func (f *STAGFields) HasDEI() bool
- func (f *STAGFields) HasPCP() bool
- func (f *STAGFields) HasVID() bool
- func (f *STAGFields) Marshal() ([]byte, error)
- func (f *STAGFields) MarshalLen() int
- func (f *STAGFields) MarshalTo(b []byte) error
- func (f *STAGFields) SetDEIFlag()
- func (f *STAGFields) SetPCPFlag()
- func (f *STAGFields) SetVIDFlag()
- func (f *STAGFields) UnmarshalBinary(b []byte) error
- type SourceIPAddressFields
- func (f *SourceIPAddressFields) HasIPv4() bool
- func (f *SourceIPAddressFields) HasIPv6() bool
- func (f *SourceIPAddressFields) HasMPL() bool
- func (f *SourceIPAddressFields) Marshal() ([]byte, error)
- func (f *SourceIPAddressFields) MarshalLen() int
- func (f *SourceIPAddressFields) MarshalTo(b []byte) error
- func (f *SourceIPAddressFields) SetIPv4Flag()
- func (f *SourceIPAddressFields) SetIPv6Flag()
- func (f *SourceIPAddressFields) SetMPLFlag()
- func (f *SourceIPAddressFields) UnmarshalBinary(b []byte) error
- type SubsequentVolumeQuotaFields
- func (f *SubsequentVolumeQuotaFields) HasDLVOL() bool
- func (f *SubsequentVolumeQuotaFields) HasTOVOL() bool
- func (f *SubsequentVolumeQuotaFields) HasULVOL() bool
- func (f *SubsequentVolumeQuotaFields) Marshal() ([]byte, error)
- func (f *SubsequentVolumeQuotaFields) MarshalLen() int
- func (f *SubsequentVolumeQuotaFields) MarshalTo(b []byte) error
- func (f *SubsequentVolumeQuotaFields) SetDLVOLFlag()
- func (f *SubsequentVolumeQuotaFields) SetTOVOLFlag()
- func (f *SubsequentVolumeQuotaFields) SetULVOLFlag()
- func (f *SubsequentVolumeQuotaFields) UnmarshalBinary(b []byte) error
- type SubsequentVolumeThresholdFields
- func (f *SubsequentVolumeThresholdFields) HasDLVOL() bool
- func (f *SubsequentVolumeThresholdFields) HasTOVOL() bool
- func (f *SubsequentVolumeThresholdFields) HasULVOL() bool
- func (f *SubsequentVolumeThresholdFields) Marshal() ([]byte, error)
- func (f *SubsequentVolumeThresholdFields) MarshalLen() int
- func (f *SubsequentVolumeThresholdFields) MarshalTo(b []byte) error
- func (f *SubsequentVolumeThresholdFields) SetDLVOLFlag()
- func (f *SubsequentVolumeThresholdFields) SetTOVOLFlag()
- func (f *SubsequentVolumeThresholdFields) SetULVOLFlag()
- func (f *SubsequentVolumeThresholdFields) UnmarshalBinary(b []byte) error
- type TraceInformationFields
- type UEIPAddressFields
- type UELinkSpecificIPAddressFields
- func (f *UELinkSpecificIPAddressFields) HasIPv4() bool
- func (f *UELinkSpecificIPAddressFields) HasIPv6() bool
- func (f *UELinkSpecificIPAddressFields) HasNV4() bool
- func (f *UELinkSpecificIPAddressFields) HasNV6() bool
- func (f *UELinkSpecificIPAddressFields) Marshal() ([]byte, error)
- func (f *UELinkSpecificIPAddressFields) MarshalLen() int
- func (f *UELinkSpecificIPAddressFields) MarshalTo(b []byte) error
- func (f *UELinkSpecificIPAddressFields) SetIPv4Flag()
- func (f *UELinkSpecificIPAddressFields) SetIPv6Flag()
- func (f *UELinkSpecificIPAddressFields) SetNV4Flag()
- func (f *UELinkSpecificIPAddressFields) SetNV6Flag()
- func (f *UELinkSpecificIPAddressFields) UnmarshalBinary(b []byte) error
- type UserIDFields
- type UserPlaneIPResourceInformationFields
- type VolumeMeasurementFields
- func (f *VolumeMeasurementFields) HasDLNOP() bool
- func (f *VolumeMeasurementFields) HasDLVOL() bool
- func (f *VolumeMeasurementFields) HasTONOP() bool
- func (f *VolumeMeasurementFields) HasTOVOL() bool
- func (f *VolumeMeasurementFields) HasULNOP() bool
- func (f *VolumeMeasurementFields) HasULVOL() bool
- func (f *VolumeMeasurementFields) Marshal() ([]byte, error)
- func (f *VolumeMeasurementFields) MarshalLen() int
- func (f *VolumeMeasurementFields) MarshalTo(b []byte) error
- func (f *VolumeMeasurementFields) SetDLNOPFlag()
- func (f *VolumeMeasurementFields) SetDLVOLFlag()
- func (f *VolumeMeasurementFields) SetTONOPFlag()
- func (f *VolumeMeasurementFields) SetTOVOLFlag()
- func (f *VolumeMeasurementFields) SetULNOPFlag()
- func (f *VolumeMeasurementFields) SetULVOLFlag()
- func (f *VolumeMeasurementFields) UnmarshalBinary(b []byte) error
- type VolumeQuotaFields
- func (f *VolumeQuotaFields) HasDLVOL() bool
- func (f *VolumeQuotaFields) HasTOVOL() bool
- func (f *VolumeQuotaFields) HasULVOL() bool
- func (f *VolumeQuotaFields) Marshal() ([]byte, error)
- func (f *VolumeQuotaFields) MarshalLen() int
- func (f *VolumeQuotaFields) MarshalTo(b []byte) error
- func (f *VolumeQuotaFields) SetDLVOLFlag()
- func (f *VolumeQuotaFields) SetTOVOLFlag()
- func (f *VolumeQuotaFields) SetULVOLFlag()
- func (f *VolumeQuotaFields) UnmarshalBinary(b []byte) error
- type VolumeThresholdFields
- func (f *VolumeThresholdFields) HasDLVOL() bool
- func (f *VolumeThresholdFields) HasTOVOL() bool
- func (f *VolumeThresholdFields) HasULVOL() bool
- func (f *VolumeThresholdFields) Marshal() ([]byte, error)
- func (f *VolumeThresholdFields) MarshalLen() int
- func (f *VolumeThresholdFields) MarshalTo(b []byte) error
- func (f *VolumeThresholdFields) SetDLVOLFlag()
- func (f *VolumeThresholdFields) SetTOVOLFlag()
- func (f *VolumeThresholdFields) SetULVOLFlag()
- func (f *VolumeThresholdFields) UnmarshalBinary(b []byte) error
Constants ¶
const ( AccessType3GPP uint8 = 0 AccessTypeNon3GPP uint8 = 1 )
AccessType definitions.
const ( AvailabilityStatusAccessHasBecomeAvaiable uint8 = 1 )
AvailabilityStatus definitions.
const ( CauseRequestAccepted uint8 = 1 CauseRequestRejected uint8 = 64 CauseSessionContextNotFound uint8 = 65 CauseMandatoryIEMissing uint8 = 66 CauseConditionalIEMissing uint8 = 67 CauseInvalidLength uint8 = 68 CauseMandatoryIEIncorrect uint8 = 69 CauseInvalidForwardingPolicy uint8 = 70 CauseInvalidFTEIDAllocationOption uint8 = 71 CauseNoEstablishedPFCPAssociation uint8 = 72 CauseRuleCreationModificationFailure uint8 = 73 CausePFCPEntityInCongestion uint8 = 74 CauseNoResourcesAvailable uint8 = 75 CauseServiceNotSupported uint8 = 76 CauseSystemFailure uint8 = 77 CauseRedirectionRequested uint8 = 78 )
Cause definitions.
const ( DstInterfaceAccess uint8 = 0 DstInterfaceCore uint8 = 1 DstInterfaceSGiLANN6LAN uint8 = 2 DstInterfaceCPFunction uint8 = 3 DstInterfaceLIFunction uint8 = 4 DstInterface5GVNInternal uint8 = 5 )
Interface definitions.
const ( RuleIDTypePDR uint8 = 0 // 16 RuleIDTypeFAR uint8 = 1 // 32 RuleIDTypeQER uint8 = 2 // 32 RuleIDTypeURR uint8 = 3 // 32 RuleIDTypeBAR uint8 = 4 // 8 )
Rule ID Type definitions.
const ( FlowDirectionUnspecified uint8 = 0 FlowDirectionDownlink uint8 = 1 FlowDirectionUplink uint8 = 2 FlowDirectionBidirectional uint8 = 3 )
FlowDirection definitions.
const ( FramedRoutingNone uint32 = 0 FramedRoutingSendRoutingPackets uint32 = 1 FramedRoutingListenForRoutingPackets uint32 = 2 FramedRoutingSendAndListen uint32 = 3 )
Framed-Routing definitions.
Ref: https://tools.ietf.org/html/rfc2865#section-5.10
const ( GateStatusOpen uint8 = 0 GateStatusClosed uint8 = 1 )
GateStatus definitions.
const ( CreatePDR uint16 = 1 PDI uint16 = 2 CreateFAR uint16 = 3 ForwardingParameters uint16 = 4 DuplicatingParameters uint16 = 5 CreateURR uint16 = 6 CreateQER uint16 = 7 CreatedPDR uint16 = 8 UpdatePDR uint16 = 9 UpdateFAR uint16 = 10 UpdateForwardingParameters uint16 = 11 UpdateBARWithinSessionReportResponse uint16 = 12 UpdateURR uint16 = 13 UpdateQER uint16 = 14 RemovePDR uint16 = 15 RemoveFAR uint16 = 16 RemoveURR uint16 = 17 RemoveQER uint16 = 18 Cause uint16 = 19 SourceInterface uint16 = 20 FTEID uint16 = 21 NetworkInstance uint16 = 22 SDFFilter uint16 = 23 ApplicationID uint16 = 24 GateStatus uint16 = 25 MBR uint16 = 26 GBR uint16 = 27 QERCorrelationID uint16 = 28 Precedence uint16 = 29 TransportLevelMarking uint16 = 30 VolumeThreshold uint16 = 31 TimeThreshold uint16 = 32 MonitoringTime uint16 = 33 SubsequentVolumeThreshold uint16 = 34 SubsequentTimeThreshold uint16 = 35 InactivityDetectionTime uint16 = 36 ReportingTriggers uint16 = 37 RedirectInformation uint16 = 38 ReportType uint16 = 39 OffendingIE uint16 = 40 ForwardingPolicy uint16 = 41 DestinationInterface uint16 = 42 UPFunctionFeatures uint16 = 43 ApplyAction uint16 = 44 DownlinkDataServiceInformation uint16 = 45 DownlinkDataNotificationDelay uint16 = 46 DLBufferingDuration uint16 = 47 DLBufferingSuggestedPacketCount uint16 = 48 PFCPSMReqFlags uint16 = 49 PFCPSRRspFlags uint16 = 50 LoadControlInformation uint16 = 51 SequenceNumber uint16 = 52 Metric uint16 = 53 OverloadControlInformation uint16 = 54 Timer uint16 = 55 PDRID uint16 = 56 FSEID uint16 = 57 ApplicationIDsPFDs uint16 = 58 PFDContext uint16 = 59 NodeID uint16 = 60 PFDContents uint16 = 61 MeasurementMethod uint16 = 62 UsageReportTrigger uint16 = 63 MeasurementPeriod uint16 = 64 FQCSID uint16 = 65 VolumeMeasurement uint16 = 66 DurationMeasurement uint16 = 67 ApplicationDetectionInformation uint16 = 68 TimeOfFirstPacket uint16 = 69 TimeOfLastPacket uint16 = 70 QuotaHoldingTime uint16 = 71 DroppedDLTrafficThreshold uint16 = 72 VolumeQuota uint16 = 73 TimeQuota uint16 = 74 StartTime uint16 = 75 EndTime uint16 = 76 QueryURR uint16 = 77 UsageReportWithinSessionModificationResponse uint16 = 78 UsageReportWithinSessionDeletionResponse uint16 = 79 UsageReportWithinSessionReportRequest uint16 = 80 URRID uint16 = 81 LinkedURRID uint16 = 82 DownlinkDataReport uint16 = 83 OuterHeaderCreation uint16 = 84 CreateBAR uint16 = 85 UpdateBARWithinSessionModificationRequest uint16 = 86 RemoveBAR uint16 = 87 BARID uint16 = 88 CPFunctionFeatures uint16 = 89 UsageInformation uint16 = 90 ApplicationInstanceID uint16 = 91 FlowInformation uint16 = 92 UEIPAddress uint16 = 93 PacketRate uint16 = 94 OuterHeaderRemoval uint16 = 95 RecoveryTimeStamp uint16 = 96 DLFlowLevelMarking uint16 = 97 HeaderEnrichment uint16 = 98 ErrorIndicationReport uint16 = 99 MeasurementInformation uint16 = 100 NodeReportType uint16 = 101 UserPlanePathFailureReport uint16 = 102 RemoteGTPUPeer uint16 = 103 URSEQN uint16 = 104 UpdateDuplicatingParameters uint16 = 105 ActivatePredefinedRules uint16 = 106 DeactivatePredefinedRules uint16 = 107 FARID uint16 = 108 QERID uint16 = 109 OCIFlags uint16 = 110 PFCPAssociationReleaseRequest uint16 = 111 GracefulReleasePeriod uint16 = 112 PDNType uint16 = 113 FailedRuleID uint16 = 114 TimeQuotaMechanism uint16 = 115 UserPlaneIPResourceInformation uint16 = 116 UserPlaneInactivityTimer uint16 = 117 AggregatedURRs uint16 = 118 Multiplier uint16 = 119 AggregatedURRID uint16 = 120 SubsequentVolumeQuota uint16 = 121 SubsequentTimeQuota uint16 = 122 RQI uint16 = 123 QFI uint16 = 124 QueryURRReference uint16 = 125 AdditionalUsageReportsInformation uint16 = 126 CreateTrafficEndpoint uint16 = 127 CreatedTrafficEndpoint uint16 = 128 UpdateTrafficEndpoint uint16 = 129 RemoveTrafficEndpoint uint16 = 130 TrafficEndpointID uint16 = 131 EthernetPacketFilter uint16 = 132 MACAddress uint16 = 133 CTAG uint16 = 134 STAG uint16 = 135 Ethertype uint16 = 136 Proxying uint16 = 137 EthernetFilterID uint16 = 138 EthernetFilterProperties uint16 = 139 SuggestedBufferingPacketsCount uint16 = 140 UserID uint16 = 141 EthernetPDUSessionInformation uint16 = 142 EthernetTrafficInformation uint16 = 143 MACAddressesDetected uint16 = 144 MACAddressesRemoved uint16 = 145 EthernetInactivityTimer uint16 = 146 AdditionalMonitoringTime uint16 = 147 EventQuota uint16 = 148 EventThreshold uint16 = 149 SubsequentEventQuota uint16 = 150 SubsequentEventThreshold uint16 = 151 TraceInformation uint16 = 152 FramedRoute uint16 = 153 FramedRouting uint16 = 154 FramedIPv6Route uint16 = 155 EventTimeStamp uint16 = 156 AveragingWindow uint16 = 157 PagingPolicyIndicator uint16 = 158 APNDNN uint16 = 159 TGPPInterfaceType uint16 = 160 PFCPSRReqFlags uint16 = 161 PFCPAUReqFlags uint16 = 162 ActivationTime uint16 = 163 DeactivationTime uint16 = 164 CreateMAR uint16 = 165 TGPPAccessForwardingActionInformation uint16 = 166 NonTGPPAccessForwardingActionInformation uint16 = 167 RemoveMAR uint16 = 168 UpdateMAR uint16 = 169 MARID uint16 = 170 SteeringFunctionality uint16 = 171 SteeringMode uint16 = 172 Weight uint16 = 173 Priority uint16 = 174 UpdateTGPPAccessForwardingActionInformation uint16 = 175 UpdateNonTGPPAccessForwardingActionInformation uint16 = 176 UEIPAddressPoolIdentity uint16 = 177 AlternativeSMFIPAddress uint16 = 178 PacketReplicationAndDetectionCarryOnInformation uint16 = 179 SMFSetID uint16 = 180 QuotaValidityTime uint16 = 181 NumberOfReports uint16 = 182 PFCPSessionRetentionInformation uint16 = 183 PFCPASRspFlags uint16 = 184 CPPFCPEntityIPAddress uint16 = 185 PFCPSEReqFlags uint16 = 186 UserPlanePathRecoveryReport uint16 = 187 IPMulticastAddressingInfo uint16 = 188 JoinIPMulticastInformationWithinUsageReport uint16 = 189 LeaveIPMulticastInformationWithinUsageReport uint16 = 190 IPMulticastAddress uint16 = 191 SourceIPAddress uint16 = 192 PacketRateStatus uint16 = 193 CreateBridgeInfoForTSC uint16 = 194 CreatedBridgeInfoForTSC uint16 = 195 DSTTPortNumber uint16 = 196 NWTTPortNumber uint16 = 197 TSNBridgeID uint16 = 198 TSCManagementInformationWithinSessionModificationRequest uint16 = 199 TSCManagementInformationWithinSessionModificationResponse uint16 = 200 TSCManagementInformationWithinSessionReportRequest uint16 = 201 PortManagementInformationForTSCWithinSessionModificationRequest uint16 = 199 // Deprecated PortManagementInformationForTSCWithinSessionModificationResponse uint16 = 200 // Deprecated PortManagementInformationForTSCWithinSessionReportRequest uint16 = 201 // Deprecated PortManagementInformationContainer uint16 = 202 ClockDriftControlInformation uint16 = 203 RequestedClockDriftInformation uint16 = 204 ClockDriftReport uint16 = 205 TSNTimeDomainNumber uint16 = 206 TimeOffsetThreshold uint16 = 207 CumulativeRateRatioThreshold uint16 = 208 TimeOffsetMeasurement uint16 = 209 CumulativeRateRatioMeasurement uint16 = 210 RemoveSRR uint16 = 211 CreateSRR uint16 = 212 UpdateSRR uint16 = 213 SessionReport uint16 = 214 SRRID uint16 = 215 AccessAvailabilityControlInformation uint16 = 216 RequestedAccessAvailabilityInformation uint16 = 217 AccessAvailabilityReport uint16 = 218 AccessAvailabilityInformation uint16 = 219 ProvideATSSSControlInformation uint16 = 220 ATSSSControlParameters uint16 = 221 MPTCPControlInformation uint16 = 222 ATSSSLLControlInformation uint16 = 223 PMFControlInformation uint16 = 224 MPTCPParameters uint16 = 225 ATSSSLLParameters uint16 = 226 PMFParameters uint16 = 227 MPTCPAddressInformation uint16 = 228 UELinkSpecificIPAddress uint16 = 229 PMFAddressInformation uint16 = 230 ATSSSLLInformation uint16 = 231 DataNetworkAccessIdentifier uint16 = 232 UEIPAddressPoolInformation uint16 = 233 AveragePacketDelay uint16 = 234 MinimumPacketDelay uint16 = 235 MaximumPacketDelay uint16 = 236 QoSReportTrigger uint16 = 237 GTPUPathQoSControlInformation uint16 = 238 GTPUPathQoSReport uint16 = 239 QoSInformationInGTPUPathQoSReport uint16 = 240 GTPUPathInterfaceType uint16 = 241 QoSMonitoringPerQoSFlowControlInformation uint16 = 242 RequestedQoSMonitoring uint16 = 243 ReportingFrequency uint16 = 244 PacketDelayThresholds uint16 = 245 MinimumWaitTime uint16 = 246 QoSMonitoringReport uint16 = 247 QoSMonitoringMeasurement uint16 = 248 MTEDTControlInformation uint16 = 249 DLDataPacketsSize uint16 = 250 QERControlIndications uint16 = 251 PacketRateStatusReport uint16 = 252 NFInstanceID uint16 = 253 EthernetContextInformation uint16 = 254 RedundantTransmissionParameters uint16 = 255 UpdatedPDR uint16 = 256 SNSSAI uint16 = 257 IPVersion uint16 = 258 PFCPASReqFlags uint16 = 259 DataStatus uint16 = 260 ProvideRDSConfigurationInformation uint16 = 261 RDSConfigurationInformation uint16 = 262 QueryPacketRateStatusWithinSessionModificationRequest uint16 = 263 PacketRateStatusReportWithinSessionModificationResponse uint16 = 264 MPTCPApplicableIndication uint16 = 265 BridgeManagementInformationContainer uint16 = 266 UEIPAddressUsageInformation uint16 = 267 NumberOfUEIPAddresses uint16 = 268 ValidityTimer uint16 = 269 RedundantTransmissionForwardingParameters uint16 = 270 TransportDelayReporting uint16 = 271 )
IE Type definitions.
const ( NodeIDIPv4Address uint8 = 0 NodeIDIPv6Address uint8 = 1 NodeIDFQDN uint8 = 2 )
NodeID definitions.
const ( TimeUnitMinute uint8 = 0 TimeUnit6Minutes uint8 = 1 TimeUnitHour uint8 = 2 TimeUnitDay uint8 = 3 TimeUnitWeek uint8 = 4 )
Time Unit definitions
const ( PDNTypeIPv4 uint8 = 1 PDNTypeIPv6 uint8 = 2 PDNTypeIPv4v6 uint8 = 3 PDNTypeNonIP uint8 = 4 PDNTypeEthernet uint8 = 5 )
PDNType definitions.
const ( PriorityActive uint8 = 0 PriorityStandby uint8 = 1 PriorityNoStandby uint8 = 2 PriorityHigh uint8 = 3 PriorityLow uint8 = 4 )
Priority definitions.
const ( RedirectAddrIPv4 uint8 = 0 RedirectAddrIPv6 uint8 = 1 RedirectAddrURL uint8 = 2 RedirectAddrSIPURI uint8 = 3 RedirectAddrIPv4AndIPv6 uint8 = 4 )
RedirectAddressType definitions.
const ( SrcInterfaceAccess uint8 = 0 SrcInterfaceCore uint8 = 1 SrcInterfaceSGiLANN6LAN uint8 = 2 SrcInterfaceCPFunction uint8 = 3 SrcInterface5GVNInternal uint8 = 4 )
Interface definitions.
const ( SteeringFunctionalityATSSSLL uint8 = 0 SteeringFunctionalityMPTCP uint8 = 1 )
SteeringFunctionality definitions.
const ( SteeringModeActiveStandby uint8 = 0 SteeringModeSmallestDelay uint8 = 1 SteeringModeLoadBalancing uint8 = 2 SteeringModePriorityBased uint8 = 3 )
SteeringMode definitions.
const ( TGPPInterfaceTypeS1U uint8 = 0 TGPPInterfaceTypeS5S8U uint8 = 1 TGPPInterfaceTypeS4U uint8 = 2 TGPPInterfaceTypeS11U uint8 = 3 TGPPInterfaceTypeS12U uint8 = 4 TGPPInterfaceTypeGnGpU uint8 = 5 TGPPInterfaceTypeS2aU uint8 = 6 TGPPInterfaceTypeS2bU uint8 = 7 TGPPInterfaceTypeENBDL uint8 = 8 TGPPInterfaceTypeENBUL uint8 = 9 TGPPInterfaceTypeSGWUPFDL uint8 = 10 TGPPInterfaceTypeN33GPPAccess uint8 = 11 TGPPInterfaceTypeN3TrustedNon3GPPAccess uint8 = 12 TGPPInterfaceTypeN3UnTrustedNon3GPPAccess uint8 = 13 TGPPInterfaceTypeN3ForDataForwarding uint8 = 14 TGPPInterfaceTypeN9 uint8 = 15 TGPPInterfaceTypeSGi uint8 = 16 TGPPInterfaceTypeN6 uint8 = 17 TGPPInterfaceTypeN19 uint8 = 18 TGPPInterfaceTypeS8U uint8 = 19 TGPPInterfaceTypeGpU uint8 = 20 )
TGPPInterfaceType definitons.
const ( BTITCTP uint8 = 0 BTITDTP uint8 = 1 )
BaseTimeIntervalType definitions.
const (
HeaderTypeHTTP uint8 = 0
)
HeaderType definitions.
const (
MPTCPProxyTransportConverter uint8 = 1
)
MPTCP Proxy Type definitions(TS24.193).
Variables ¶
var ( ErrTooShortToParse = errors.New("too short to decode as GTP") ErrInvalidLength = errors.New("length value is invalid") ErrInvalidType = errors.New("invalid type") ErrIENotFound = errors.New("could not find the specified IE in a grouped IE") ErrMalformed = errors.New("malformed IE") ErrElementNotFound = errors.New("element not found") )
Error definitions.
Functions ¶
func AddGroupedIEType ¶ added in v0.0.22
func AddGroupedIEType(ts ...uint16)
AddGroupedIEType adds IE type(s) to the defaultGroupedIEMap. This is useful when you want to add new IE types to the defaultGroupedIEMap, e.g., to handle vendor-specific IEs as grouped type.
func SetIsGroupedFun ¶ added in v0.0.22
SetIsGroupedFun sets a function to check if an IE is grouped type or not.
Types ¶
type AlternativeSMFIPAddressFields ¶
type AlternativeSMFIPAddressFields struct { Flags uint8 TEID uint32 IPv4Address net.IP IPv6Address net.IP ChooseID []byte }
AlternativeSMFIPAddressFields represents a fields contained in AlternativeSMFIPAddress IE.
func NewAlternativeSMFIPAddressFields ¶
func NewAlternativeSMFIPAddressFields(v4, v6 net.IP) *AlternativeSMFIPAddressFields
NewAlternativeSMFIPAddressFields creates a new NewAlternativeSMFIPAddressFields.
func ParseAlternativeSMFIPAddressFields ¶
func ParseAlternativeSMFIPAddressFields(b []byte) (*AlternativeSMFIPAddressFields, error)
ParseAlternativeSMFIPAddressFields parses b into AlternativeSMFIPAddressFields.
func (*AlternativeSMFIPAddressFields) HasIPv4 ¶
func (f *AlternativeSMFIPAddressFields) HasIPv4() bool
HasIPv4 reports whether IPv4 flag is set.
func (*AlternativeSMFIPAddressFields) HasIPv6 ¶
func (f *AlternativeSMFIPAddressFields) HasIPv6() bool
HasIPv6 reports whether IPv6 flag is set.
func (*AlternativeSMFIPAddressFields) Marshal ¶
func (f *AlternativeSMFIPAddressFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of AlternativeSMFIPAddressFields.
func (*AlternativeSMFIPAddressFields) MarshalLen ¶
func (f *AlternativeSMFIPAddressFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*AlternativeSMFIPAddressFields) MarshalTo ¶
func (f *AlternativeSMFIPAddressFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*AlternativeSMFIPAddressFields) SetIPv4Flag ¶
func (f *AlternativeSMFIPAddressFields) SetIPv4Flag()
SetIPv4Flag sets IPv4 flag in AlternativeSMFIPAddress.
func (*AlternativeSMFIPAddressFields) SetIPv6Flag ¶
func (f *AlternativeSMFIPAddressFields) SetIPv6Flag()
SetIPv6Flag sets IPv6 flag in AlternativeSMFIPAddress.
func (*AlternativeSMFIPAddressFields) UnmarshalBinary ¶
func (f *AlternativeSMFIPAddressFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type CPPFCPEntityIPAddressFields ¶
type CPPFCPEntityIPAddressFields struct { Flags uint8 TEID uint32 IPv4Address net.IP IPv6Address net.IP ChooseID []byte }
CPPFCPEntityIPAddressFields represents a fields contained in CPPFCPEntityIPAddress IE.
func NewCPPFCPEntityIPAddressFields ¶
func NewCPPFCPEntityIPAddressFields(v4, v6 net.IP) *CPPFCPEntityIPAddressFields
NewCPPFCPEntityIPAddressFields creates a new NewCPPFCPEntityIPAddressFields.
func ParseCPPFCPEntityIPAddressFields ¶
func ParseCPPFCPEntityIPAddressFields(b []byte) (*CPPFCPEntityIPAddressFields, error)
ParseCPPFCPEntityIPAddressFields parses b into CPPFCPEntityIPAddressFields.
func (*CPPFCPEntityIPAddressFields) HasIPv4 ¶
func (f *CPPFCPEntityIPAddressFields) HasIPv4() bool
HasIPv4 reports whether IPv4 flag is set.
func (*CPPFCPEntityIPAddressFields) HasIPv6 ¶
func (f *CPPFCPEntityIPAddressFields) HasIPv6() bool
HasIPv6 reports whether IPv6 flag is set.
func (*CPPFCPEntityIPAddressFields) Marshal ¶
func (f *CPPFCPEntityIPAddressFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of CPPFCPEntityIPAddressFields.
func (*CPPFCPEntityIPAddressFields) MarshalLen ¶
func (f *CPPFCPEntityIPAddressFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*CPPFCPEntityIPAddressFields) MarshalTo ¶
func (f *CPPFCPEntityIPAddressFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*CPPFCPEntityIPAddressFields) SetIPv4Flag ¶
func (f *CPPFCPEntityIPAddressFields) SetIPv4Flag()
SetIPv4Flag sets IPv4 flag in CPPFCPEntityIPAddress.
func (*CPPFCPEntityIPAddressFields) SetIPv6Flag ¶
func (f *CPPFCPEntityIPAddressFields) SetIPv6Flag()
SetIPv6Flag sets IPv6 flag in CPPFCPEntityIPAddress.
func (*CPPFCPEntityIPAddressFields) UnmarshalBinary ¶
func (f *CPPFCPEntityIPAddressFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type CTAGFields ¶
type CTAGFields struct { Flags uint8 PCP uint8 // 3 bit DEIFlag uint8 // 1 bit CVID uint16 // 12 bit }
CTAGFields represents a fields contained in CTAG IE.
func NewCTAGFields ¶
func NewCTAGFields(flags, pcp, deiFlag uint8, cvid uint16) *CTAGFields
NewCTAGFields creates a new NewCTAGFields.
func ParseCTAGFields ¶
func ParseCTAGFields(b []byte) (*CTAGFields, error)
ParseCTAGFields parses b into CTAGFields.
func (*CTAGFields) HasDEI ¶
func (f *CTAGFields) HasDEI() bool
HasDEI reports whether DEI flag is set.
func (*CTAGFields) HasPCP ¶
func (f *CTAGFields) HasPCP() bool
HasPCP reports whether PCP flag is set.
func (*CTAGFields) HasVID ¶
func (f *CTAGFields) HasVID() bool
HasVID reports whether VID flag is set.
func (*CTAGFields) Marshal ¶
func (f *CTAGFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of CTAGFields.
func (*CTAGFields) MarshalLen ¶
func (f *CTAGFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*CTAGFields) MarshalTo ¶
func (f *CTAGFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*CTAGFields) UnmarshalBinary ¶
func (f *CTAGFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type DLFlowLevelMarkingFields ¶
type DLFlowLevelMarkingFields struct { Flags uint8 ToSTrafficClass uint16 ServiceClassIdentifier uint16 }
DLFlowLevelMarkingFields represents a f contained in DLFlowLevelMarking IE.
func NewDLFlowLevelMarkingFields ¶
func NewDLFlowLevelMarkingFields(flags uint8, ttc, sci uint16) *DLFlowLevelMarkingFields
NewDLFlowLevelMarkingFields creates a new DLFlowLevelMarkingFields.
func ParseDLFlowLevelMarkingFields ¶
func ParseDLFlowLevelMarkingFields(b []byte) (*DLFlowLevelMarkingFields, error)
ParseDLFlowLevelMarkingFields parses b into DLFlowLevelMarkingFields.
func (*DLFlowLevelMarkingFields) Marshal ¶
func (f *DLFlowLevelMarkingFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of DLFlowLevelMarkingFields.
func (*DLFlowLevelMarkingFields) MarshalLen ¶
func (f *DLFlowLevelMarkingFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*DLFlowLevelMarkingFields) MarshalTo ¶
func (f *DLFlowLevelMarkingFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*DLFlowLevelMarkingFields) UnmarshalBinary ¶
func (f *DLFlowLevelMarkingFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type FSEIDFields ¶
FSEIDFields represents a fields contained in FSEID IE.
func NewFSEIDFields ¶
func NewFSEIDFields(seid uint64, v4, v6 net.IP) *FSEIDFields
NewFSEIDFields creates a new NewFSEIDFields.
func ParseFSEIDFields ¶
func ParseFSEIDFields(b []byte) (*FSEIDFields, error)
ParseFSEIDFields parses b into FSEIDFields.
func (*FSEIDFields) HasIPv4 ¶
func (f *FSEIDFields) HasIPv4() bool
HasIPv4 reports whether IPv4 flag is set.
func (*FSEIDFields) HasIPv6 ¶
func (f *FSEIDFields) HasIPv6() bool
HasIPv6 reports whether IPv6 flag is set.
func (*FSEIDFields) Marshal ¶
func (f *FSEIDFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of FSEIDFields.
func (*FSEIDFields) MarshalLen ¶
func (f *FSEIDFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*FSEIDFields) MarshalTo ¶
func (f *FSEIDFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*FSEIDFields) SetIPv4Flag ¶
func (f *FSEIDFields) SetIPv4Flag()
SetIPv4Flag sets IPv4 flag in FSEID.
func (*FSEIDFields) SetIPv6Flag ¶
func (f *FSEIDFields) SetIPv6Flag()
SetIPv6Flag sets IPv6 flag in FSEID.
func (*FSEIDFields) UnmarshalBinary ¶
func (f *FSEIDFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type FTEIDFields ¶
type FTEIDFields struct { Flags uint8 TEID uint32 IPv4Address net.IP IPv6Address net.IP ChooseID uint8 }
FTEIDFields represents a fields contained in FTEID IE.
func NewFTEIDFields ¶
NewFTEIDFields creates a new NewFTEIDFields.
func ParseFTEIDFields ¶
func ParseFTEIDFields(b []byte) (*FTEIDFields, error)
ParseFTEIDFields parses b into FTEIDFields.
func (*FTEIDFields) HasCh ¶
func (f *FTEIDFields) HasCh() bool
HasCh reports whether CH flag is set.
func (*FTEIDFields) HasChID ¶
func (f *FTEIDFields) HasChID() bool
HasChID reports whether CHID flag is set.
func (*FTEIDFields) HasIPv4 ¶
func (f *FTEIDFields) HasIPv4() bool
HasIPv4 reports whether IPv4 flag is set.
func (*FTEIDFields) HasIPv6 ¶
func (f *FTEIDFields) HasIPv6() bool
HasIPv6 reports whether IPv6 flag is set.
func (*FTEIDFields) Marshal ¶
func (f *FTEIDFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of FTEIDFields.
func (*FTEIDFields) MarshalLen ¶
func (f *FTEIDFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*FTEIDFields) MarshalTo ¶
func (f *FTEIDFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*FTEIDFields) SetChIDFlag ¶
func (f *FTEIDFields) SetChIDFlag()
SetChIDFlag sets CHID flag in FTEID.
func (*FTEIDFields) SetIPv4Flag ¶
func (f *FTEIDFields) SetIPv4Flag()
SetIPv4Flag sets IPv4 flag in FTEID.
func (*FTEIDFields) SetIPv6Flag ¶
func (f *FTEIDFields) SetIPv6Flag()
SetIPv6Flag sets IPv6 flag in FTEID.
func (*FTEIDFields) UnmarshalBinary ¶
func (f *FTEIDFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type HeaderEnrichmentFields ¶
type HeaderEnrichmentFields struct { Flags uint8 HeaderType uint8 NameLength uint8 HeaderFieldName string ValueLength uint8 HeaderFieldValue string }
HeaderEnrichmentFields represents a fields contained in HeaderEnrichment IE.
func NewHeaderEnrichmentFields ¶
func NewHeaderEnrichmentFields(typ uint8, name, value string) *HeaderEnrichmentFields
NewHeaderEnrichmentFields creates a new HeaderEnrichmentFields.
func ParseHeaderEnrichmentFields ¶
func ParseHeaderEnrichmentFields(b []byte) (*HeaderEnrichmentFields, error)
ParseHeaderEnrichmentFields parses b into HeaderEnrichmentFields.
func (*HeaderEnrichmentFields) Marshal ¶
func (f *HeaderEnrichmentFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of HeaderEnrichmentFields.
func (*HeaderEnrichmentFields) MarshalLen ¶
func (f *HeaderEnrichmentFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*HeaderEnrichmentFields) MarshalTo ¶
func (f *HeaderEnrichmentFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*HeaderEnrichmentFields) UnmarshalBinary ¶
func (f *HeaderEnrichmentFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type IE ¶
IE represents an Information Element of PFCP messages.
func NewATSSSControlParameters ¶
NewATSSSControlParameters creates a new ATSSSControlParameters IE.
func NewATSSSLLControlInformation ¶
NewATSSSLLControlInformation creates a new ATSSSLLControlInformation IE.
func NewATSSSLLInformation ¶
NewATSSSLLInformation creates a new ATSSSLLInformation IE.
func NewATSSSLLParameters ¶
NewATSSSLLParameters creates a new ATSSSLLParameters IE.
func NewAccessAvailabilityControlInformation ¶
NewAccessAvailabilityControlInformation creates a new AccessAvailabilityControlInformation IE.
func NewAccessAvailabilityInformation ¶
NewAccessAvailabilityInformation creates a new AccessAvailabilityInformation IE.
func NewAccessAvailabilityReport ¶
NewAccessAvailabilityReport creates a new AccessAvailabilityReport IE.
func NewActivatePredefinedRules ¶
NewActivatePredefinedRules creates a new ActivatePredefinedRules IE.
func NewActivationTime ¶
NewActivationTime creates a new ActivationTime IE.
func NewAdditionalMonitoringTime ¶
NewAdditionalMonitoringTime creates a new AdditionalMonitoringTime IE.
func NewAdditionalUsageReportsInformation ¶
NewAdditionalUsageReportsInformation creates a new AdditionalUsageReportsInformation IE.
func NewAggregatedURRID ¶
NewAggregatedURRID creates a new AggregatedURRID IE.
func NewAggregatedURRs ¶
NewAggregatedURRs creates a new AggregatedURRs IE.
func NewAlternativeSMFIPAddress ¶
NewAlternativeSMFIPAddress creates a new AlternativeSMFIPAddress IE.
func NewApplicationDetectionInformation ¶
NewApplicationDetectionInformation creates a new ApplicationDetectionInformation IE.
func NewApplicationID ¶
NewApplicationID creates a new ApplicationID IE.
func NewApplicationIDsPFDs ¶
NewApplicationIDsPFDs creates a new ApplicationIDsPFDs IE.
func NewApplicationInstanceID ¶
NewApplicationInstanceID creates a new ApplicationInstanceID IE.
func NewApplyAction ¶
NewApplyAction creates a new ApplyAction IE.
func NewAveragePacketDelay ¶
NewAveragePacketDelay creates a new AveragePacketDelay IE.
the delay should be within the range of uint32, otherwise it overflows.
func NewAveragingWindow ¶
NewAveragingWindow creates a new AveragingWindow IE.
func NewBridgeManagementInformationContainer ¶ added in v0.0.10
NewBridgeManagementInformationContainer creates a new BridgeManagementInformationContainer IE.
func NewCPFunctionFeatures ¶
NewCPFunctionFeatures creates a new CPFunctionFeatures IE.
func NewCPPFCPEntityIPAddress ¶
NewCPPFCPEntityIPAddress creates a new CPPFCPEntityIPAddress IE.
func NewClockDriftControlInformation ¶
NewClockDriftControlInformation creates a new ClockDriftControlInformation IE.
func NewClockDriftReport ¶
NewClockDriftReport creates a new ClockDriftReport IE.
func NewCreateBridgeInfoForTSC ¶
NewCreateBridgeInfoForTSC creates a new CreateBridgeInfoForTSC IE.
func NewCreateTrafficEndpoint ¶
NewCreateTrafficEndpoint creates a new CreateTrafficEndpoint IE.
func NewCreatedBridgeInfoForTSC ¶
NewCreatedBridgeInfoForTSC creates a new CreatedBridgeInfoForTSC IE.
func NewCreatedTrafficEndpoint ¶
NewCreatedTrafficEndpoint creates a new CreatedTrafficEndpoint IE.
func NewCumulativeRateRatioMeasurement ¶
NewCumulativeRateRatioMeasurement creates a new CumulativeRateRatioMeasurement IE.
func NewCumulativeRateRatioThreshold ¶
NewCumulativeRateRatioThreshold creates a new CumulativeRateRatioThreshold IE.
func NewDLBufferingDuration ¶
NewDLBufferingDuration creates a new DLBufferingDuration IE.
func NewDLBufferingSuggestedPacketCount ¶
NewDLBufferingSuggestedPacketCount creates a new DLBufferingSuggestedPacketCount IE.
func NewDLDataPacketsSize ¶
NewDLDataPacketsSize creates a new DLDataPacketsSize IE.
func NewDLFlowLevelMarking ¶
NewDLFlowLevelMarking creates a new DLFlowLevelMarking IE.
func NewDSTTPortNumber ¶
NewDSTTPortNumber creates a new DSTTPortNumber IE.
func NewDataNetworkAccessIdentifier ¶
NewDataNetworkAccessIdentifier creates a new DataNetworkAccessIdentifier IE.
func NewDataStatus ¶ added in v0.0.10
NewDataStatus creates a new DataStatus IE.
func NewDeactivatePredefinedRules ¶
NewDeactivatePredefinedRules creates a new DeactivatePredefinedRules IE.
func NewDeactivationTime ¶
NewDeactivationTime creates a new DeactivationTime IE.
func NewDestinationInterface ¶
NewDestinationInterface creates a new DestinationInterface IE.
func NewDownlinkDataNotificationDelay ¶
NewDownlinkDataNotificationDelay creates a new DownlinkDataNotificationDelay IE.
func NewDownlinkDataReport ¶
NewDownlinkDataReport creates a new DownlinkDataReport IE.
func NewDownlinkDataServiceInformation ¶
NewDownlinkDataServiceInformation creates a new DownlinkDataServiceInformation IE.
func NewDroppedDLTrafficThreshold ¶
NewDroppedDLTrafficThreshold creates a new DroppedDLTrafficThreshold IE.
TODO: structurize
func NewDuplicatingParameters ¶
NewDuplicatingParameters creates a new DuplicatingParameters IE.
func NewDurationMeasurement ¶
NewDurationMeasurement creates a new DurationMeasurement IE.
The period should be within the range of uint32, otherwise it overflows.
func NewErrorIndicationReport ¶
NewErrorIndicationReport creates a new ErrorIndicationReport IE.
func NewEthernetContextInformation ¶
NewEthernetContextInformation creates a new EthernetContextInformation IE.
func NewEthernetFilterID ¶
NewEthernetFilterID creates a new EthernetFilterID IE.
func NewEthernetFilterProperties ¶
NewEthernetFilterProperties creates a new EthernetFilterProperties IE.
func NewEthernetInactivityTimer ¶
NewEthernetInactivityTimer creates a new EthernetInactivityTimer IE.
the period should be within the range of uint32, otherwise it overflows.
func NewEthernetPDUSessionInformation ¶
NewEthernetPDUSessionInformation creates a new EthernetPDUSessionInformation IE.
func NewEthernetPacketFilter ¶
NewEthernetPacketFilter creates a new EthernetPacketFilter IE.
func NewEthernetTrafficInformation ¶
NewEthernetTrafficInformation creates a new EthernetTrafficInformation IE.
func NewEventQuota ¶
NewEventQuota creates a new EventQuota IE.
func NewEventThreshold ¶
NewEventThreshold creates a new EventThreshold IE.
func NewEventTimeStamp ¶
NewEventTimeStamp creates a new EventTimeStamp IE.
func NewFailedRuleID ¶
NewFailedRuleID creates a new FailedRuleID IE.
func NewFlowInformation ¶
NewFlowInformation creates a new FlowInformation IE.
func NewForwardingParameters ¶
NewForwardingParameters creates a new ForwardingParameters IE.
func NewForwardingPolicy ¶
NewForwardingPolicy creates a new ForwardingPolicy IE.
func NewFramedIPv6Route ¶
NewFramedIPv6Route creates a new FramedIPv6Route IE.
func NewFramedRoute ¶
NewFramedRoute creates a new FramedRoute IE.
func NewFramedRouting ¶
NewFramedRouting creates a new FramedRouting IE.
func NewGTPUPathInterfaceType ¶
NewGTPUPathInterfaceType creates a new GTPUPathInterfaceType IE.
func NewGTPUPathQoSControlInformation ¶
NewGTPUPathQoSControlInformation creates a new GTPUPathQoSControlInformation IE.
func NewGTPUPathQoSReport ¶
NewGTPUPathQoSReport creates a new GTPUPathQoSReport IE.
func NewGateStatus ¶
NewGateStatus creates a new GateStatus IE.
func NewGracefulReleasePeriod ¶
NewGracefulReleasePeriod creates a new GracefulReleasePeriod IE.
func NewGroupedIE ¶
NewGroupedIE creates a new grouped IE.
func NewHeaderEnrichment ¶
NewHeaderEnrichment creates a new HeaderEnrichment IE.
func NewIPMulticastAddress ¶
NewIPMulticastAddress creates a new IPMulticastAddress IE.
func NewIPMulticastAddressingInfo ¶
NewIPMulticastAddressingInfo creates a new IPMulticastAddressingInfo IE.
func NewIPVersion ¶ added in v0.0.10
NewIPVersion creates a new IPVersion IE.
func NewInactivityDetectionTime ¶
NewInactivityDetectionTime creates a new InactivityDetectionTime IE.
func NewJoinIPMulticastInformationWithinUsageReport ¶
NewJoinIPMulticastInformationWithinUsageReport creates a new JoinIPMulticastInformationWithinUsageReport IE.
func NewLeaveIPMulticastInformationWithinUsageReport ¶
NewLeaveIPMulticastInformationWithinUsageReport creates a new LeaveIPMulticastInformationWithinUsageReport IE.
func NewLinkedURRID ¶
NewLinkedURRID creates a new LinkedURRID IE.
func NewLoadControlInformation ¶
NewLoadControlInformation creates a new LoadControlInformation IE.
func NewMACAddress ¶
func NewMACAddress(src, dst, upperSrc, upperDst net.HardwareAddr) *IE
NewMACAddress creates a new MACAddress IE.
func NewMACAddressesDetected ¶
func NewMACAddressesDetected(ctag, stag *IE, macs ...net.HardwareAddr) *IE
NewMACAddressesDetected creates a new MACAddressesDetected IE.
func NewMACAddressesRemoved ¶
func NewMACAddressesRemoved(ctag, stag *IE, macs ...net.HardwareAddr) *IE
NewMACAddressesRemoved creates a new MACAddressesRemoved IE.
func NewMPTCPAddressInformation ¶
NewMPTCPAddressInformation creates a new MPTCPAddressInformation IE.
func NewMPTCPApplicableIndication ¶ added in v0.0.10
NewMPTCPApplicableIndication creates a new MPTCPApplicableIndication IE.
func NewMPTCPControlInformation ¶
NewMPTCPControlInformation creates a new MPTCPControlInformation IE.
func NewMPTCPParameters ¶
NewMPTCPParameters creates a new MPTCPParameters IE.
func NewMTEDTControlInformation ¶
NewMTEDTControlInformation creates a new MTEDTControlInformation IE.
func NewMaximumPacketDelay ¶
NewMaximumPacketDelay creates a new MaximumPacketDelay IE.
the delay should be within the range of uint32, otherwise it overflows.
func NewMeasurementInformation ¶
NewMeasurementInformation creates a new MeasurementInformation IE.
func NewMeasurementMethod ¶
NewMeasurementMethod creates a new MeasurementMethod IE.
func NewMeasurementPeriod ¶
NewMeasurementPeriod creates a new MeasurementPeriod IE.
the period should be within the range of uint32, otherwise it overflows.
func NewMinimumPacketDelay ¶
NewMinimumPacketDelay creates a new MinimumPacketDelay IE.
the delay should be within the range of uint32, otherwise it overflows.
func NewMinimumWaitTime ¶
NewMinimumWaitTime creates a new MinimumWaitTime IE.
the period should be within the range of uint32, otherwise it overflows.
func NewMonitoringTime ¶
NewMonitoringTime creates a new MonitoringTime IE.
func NewMultiplier ¶
NewMultiplier creates a new Multiplier IE.
func NewNFInstanceID ¶
NewNFInstanceID creates a new NFInstanceID IE.
func NewNWTTPortNumber ¶
NewNWTTPortNumber creates a new NWTTPortNumber IE.
func NewNetworkInstance ¶
NewNetworkInstance creates a new NetworkInstance IE.
func NewNetworkInstanceFQDN ¶ added in v0.0.11
NewNetworkInstanceFQDN creates a new NetworkInstance IE from the given FQDN string.
func NewNodeID ¶
NewNodeID creates a new NodeID IE.
Only one of the parameters should have a non-empty value(!=""). If multiple parameters are given, the first one is used(ipv4 > ipv6 > fqdn)
func NewNodeIDHeuristic ¶ added in v0.0.16
NewNodeIDHeuristic creates a new NodeID IE.
func NewNodeReportType ¶
NewNodeReportType creates a new NodeReportType IE.
func NewNonTGPPAccessForwardingActionInformation ¶
NewNonTGPPAccessForwardingActionInformation creates a new NonTGPPAccessForwardingActionInformation IE.
func NewNumberOfReports ¶
NewNumberOfReports creates a new NumberOfReports IE.
func NewNumberOfUEIPAddresses ¶ added in v0.0.10
NewNumberOfUEIPAddresses creates a new NumberOfUEIPAddresses IE.
func NewOffendingIE ¶
NewOffendingIE creates a new OffendingIE IE.
func NewOuterHeaderCreation ¶
func NewOuterHeaderCreation(desc uint16, teid uint32, v4, v6 string, port uint16, ctag, stag uint32) *IE
NewOuterHeaderCreation creates a new OuterHeaderCreation IE.
func NewOuterHeaderRemoval ¶
NewOuterHeaderRemoval creates a new OuterHeaderRemoval IE.
func NewOverloadControlInformation ¶
NewOverloadControlInformation creates a new OverloadControlInformation IE.
func NewPFCPASReqFlags ¶ added in v0.0.10
NewPFCPASReqFlags creates a new PFCPASReqFlags IE.
func NewPFCPASRspFlags ¶
NewPFCPASRspFlags creates a new PFCPASRspFlags IE.
func NewPFCPAUReqFlags ¶
NewPFCPAUReqFlags creates a new PFCPAUReqFlags IE.
func NewPFCPAssociationReleaseRequest ¶
NewPFCPAssociationReleaseRequest creates a new PFCPAssociationReleaseRequest IE.
func NewPFCPSEReqFlags ¶
NewPFCPSEReqFlags creates a new PFCPSEReqFlags IE.
func NewPFCPSMReqFlags ¶
NewPFCPSMReqFlags creates a new PFCPSMReqFlags IE.
func NewPFCPSRReqFlags ¶
NewPFCPSRReqFlags creates a new PFCPSRReqFlags IE.
func NewPFCPSRRspFlags ¶
NewPFCPSRRspFlags creates a new PFCPSRRspFlags IE.
func NewPFCPSessionRetentionInformation ¶
NewPFCPSessionRetentionInformation creates a new PFCPSessionRetentionInformation IE.
func NewPFDContents ¶
NewPFDContents creates a new PFDContents IE.
func NewPFDContext ¶
NewPFDContext creates a new PFDContext IE.
func NewPMFAddressInformation ¶
NewPMFAddressInformation creates a new PMFAddressInformation IE.
func NewPMFControlInformation ¶
NewPMFControlInformation creates a new PMFControlInformation IE.
func NewPMFParameters ¶
NewPMFParameters creates a new PMFParameters IE.
func NewPacketDelayThresholds ¶
NewPacketDelayThresholds creates a new PacketDelayThresholds IE.
func NewPacketRate ¶
NewPacketRate creates a new PacketRate IE.
func NewPacketRateStatus ¶
NewPacketRateStatus creates a new PacketRateStatus IE.
func NewPacketRateStatusReport ¶
NewPacketRateStatusReport creates a new PacketRateStatusReport IE.
func NewPacketRateStatusReportWithinSessionModificationResponse ¶ added in v0.0.10
NewPacketRateStatusReportWithinSessionModificationResponse creates a new PacketRateStatusReportWithinSessionModificationResponse IE.
func NewPacketReplicationAndDetectionCarryOnInformation ¶
NewPacketReplicationAndDetectionCarryOnInformation creates a new PacketReplicationAndDetectionCarryOnInformation IE.
func NewPagingPolicyIndicator ¶
NewPagingPolicyIndicator creates a new PagingPolicyIndicator IE.
func NewPortManagementInformationContainer ¶
NewPortManagementInformationContainer creates a new PortManagementInformationContainer IE.
func NewPortManagementInformationForTSC ¶
NewPortManagementInformationForTSC creates a new PortManagementInformationForTSC IE.
func NewPortManagementInformationForTSCWithinSessionModificationRequest ¶
NewPortManagementInformationForTSCWithinSessionModificationRequest creates a new PortManagementInformationForTSCWithinSessionModificationRequest IE.
func NewPortManagementInformationForTSCWithinSessionModificationResponse ¶
NewPortManagementInformationForTSCWithinSessionModificationResponse creates a new PortManagementInformationForTSCWithinSessionModificationResponse IE.
func NewPortManagementInformationForTSCWithinSessionReportRequest ¶
NewPortManagementInformationForTSCWithinSessionReportRequest creates a new PortManagementInformationForTSCWithinSessionReportRequest IE.
func NewProvideATSSSControlInformation ¶
NewProvideATSSSControlInformation creates a new ProvideATSSSControlInformation IE.
func NewProvideRDSConfigurationInformation ¶ added in v0.0.10
NewProvideRDSConfigurationInformation creates a new ProvideRDSConfigurationInformation IE.
func NewQERControlIndications ¶
NewQERControlIndications creates a new QERControlIndications IE.
func NewQERCorrelationID ¶
NewQERCorrelationID creates a new QERCorrelationID IE.
func NewQoSInformationInGTPUPathQoSReport ¶
NewQoSInformationInGTPUPathQoSReport creates a new QoSInformationInGTPUPathQoSReport IE.
func NewQoSMonitoringMeasurement ¶
NewQoSMonitoringMeasurement creates a new QoSMonitoringMeasurement IE.
func NewQoSMonitoringPerQoSFlowControlInformation ¶
NewQoSMonitoringPerQoSFlowControlInformation creates a new QoSMonitoringPerQoSFlowControlInformation IE.
func NewQoSMonitoringReport ¶
NewQoSMonitoringReport creates a new QoSMonitoringReport IE.
func NewQoSReportTrigger ¶
NewQoSReportTrigger creates a new QoSReportTrigger IE.
func NewQueryPacketRateStatusWithinSessionModificationRequest ¶ added in v0.0.10
NewQueryPacketRateStatusWithinSessionModificationRequest creates a new QueryPacketRateStatusWithinSessionModificationRequest IE.
func NewQueryURRReference ¶
NewQueryURRReference creates a new QueryURRReference IE.
func NewQuotaHoldingTime ¶
NewQuotaHoldingTime creates a new QuotaHoldingTime IE.
The period should be within the range of uint32, otherwise it overflows.
func NewQuotaValidityTime ¶
NewQuotaValidityTime creates a new QuotaValidityTime IE.
func NewRDSConfigurationInformation ¶ added in v0.0.10
NewRDSConfigurationInformation creates a new RDSConfigurationInformation IE.
func NewRecoveryTimeStamp ¶
NewRecoveryTimeStamp creates a new RecoveryTimeStamp IE.
func NewRedirectInformation ¶
NewRedirectInformation creates a new RedirectInformation IE.
func NewRedundantTransmissionForwardingParameters ¶ added in v0.0.10
NewRedundantTransmissionForwardingParameters creates a new RedundantTransmissionForwardingParameters IE.
func NewRedundantTransmissionParameters ¶
NewRedundantTransmissionParameters creates a new RedundantTransmissionParameters IE.
func NewRedundantTransmissionParametersInFAR ¶
NewRedundantTransmissionParametersInFAR creates a new RedundantTransmissionParameters IE.
func NewRedundantTransmissionParametersInPDI ¶
NewRedundantTransmissionParametersInPDI creates a new RedundantTransmissionParameters IE.
func NewRemoteGTPUPeer ¶
NewRemoteGTPUPeer creates a new RemoteGTPUPeer IE.
func NewRemoveTrafficEndpoint ¶
NewRemoveTrafficEndpoint creates a new RemoveTrafficEndpoint IE.
func NewReportType ¶
NewReportType creates a new ReportType IE.
func NewReportingFrequency ¶
NewReportingFrequency creates a new ReportingFrequency IE.
func NewReportingTriggers ¶
NewReportingTriggers creates a new ReportingTriggers IE.
func NewRequestedAccessAvailabilityInformation ¶
NewRequestedAccessAvailabilityInformation creates a new RequestedAccessAvailabilityInformation IE.
func NewRequestedClockDriftInformation ¶
NewRequestedClockDriftInformation creates a new RequestedClockDriftInformation IE.
func NewRequestedQoSMonitoring ¶
NewRequestedQoSMonitoring creates a new RequestedQoSMonitoring IE.
func NewSDFFilter ¶
NewSDFFilter creates a new SDFFilter IE.
func NewSequenceNumber ¶
NewSequenceNumber creates a new SequenceNumber IE.
func NewSessionReport ¶
NewSessionReport creates a new SessionReport IE.
func NewSourceIPAddress ¶
NewSourceIPAddress creates a new SourceIPAddress IE.
func NewSourceInterface ¶
NewSourceInterface creates a new SourceInterface IE.
func NewSteeringFunctionality ¶
NewSteeringFunctionality creates a new SteeringFunctionality IE.
func NewSteeringMode ¶
NewSteeringMode creates a new SteeringMode IE.
func NewStringIE ¶ added in v0.0.21
NewStringIE creates a new IE with string value.
func NewSubsequentEventQuota ¶
NewSubsequentEventQuota creates a new SubsequentEventQuota IE.
func NewSubsequentEventThreshold ¶
NewSubsequentEventThreshold creates a new SubsequentEventThreshold IE.
func NewSubsequentTimeQuota ¶
NewSubsequentTimeQuota creates a new SubsequentTimeQuota IE.
the period should be within the range of uint32, otherwise it overflows.
func NewSubsequentTimeThreshold ¶
NewSubsequentTimeThreshold creates a new SubsequentTimeThreshold IE.
func NewSubsequentVolumeQuota ¶
NewSubsequentVolumeQuota creates a new SubsequentVolumeQuota IE.
func NewSubsequentVolumeThreshold ¶
NewSubsequentVolumeThreshold creates a new SubsequentVolumeThreshold IE.
func NewSuggestedBufferingPacketsCount ¶
NewSuggestedBufferingPacketsCount creates a new SuggestedBufferingPacketsCount IE.
func NewTGPPAccessForwardingActionInformation ¶
NewTGPPAccessForwardingActionInformation creates a new TGPPAccessForwardingActionInformation IE.
func NewTGPPInterfaceType ¶
NewTGPPInterfaceType creates a new TGPPInterfaceType IE.
func NewTSCManagementInformation ¶ added in v0.0.10
NewTSCManagementInformation creates a new TSCManagementInformation IE.
func NewTSCManagementInformationWithinSessionModificationRequest ¶ added in v0.0.10
NewTSCManagementInformationWithinSessionModificationRequest creates a new TSCManagementInformationWithinSessionModificationRequest IE.
func NewTSCManagementInformationWithinSessionModificationResponse ¶ added in v0.0.10
NewTSCManagementInformationWithinSessionModificationResponse creates a new TSCManagementInformationWithinSessionModificationResponse IE.
func NewTSCManagementInformationWithinSessionReportRequest ¶ added in v0.0.10
NewTSCManagementInformationWithinSessionReportRequest creates a new TSCManagementInformationWithinSessionReportRequest IE.
func NewTSNBridgeID ¶
func NewTSNBridgeID(mac net.HardwareAddr) *IE
NewTSNBridgeID creates a new TSNBridgeID IE.
func NewTSNTimeDomainNumber ¶
NewTSNTimeDomainNumber creates a new TSNTimeDomainNumber IE.
func NewTimeOfFirstPacket ¶
NewTimeOfFirstPacket creates a new TimeOfFirstPacket IE.
func NewTimeOfLastPacket ¶
NewTimeOfLastPacket creates a new TimeOfLastPacket IE.
func NewTimeOffsetMeasurement ¶
NewTimeOffsetMeasurement creates a new TimeOffsetMeasurement IE.
func NewTimeOffsetThreshold ¶
NewTimeOffsetThreshold creates a new TimeOffsetThreshold IE.
func NewTimeQuota ¶
NewTimeQuota creates a new TimeQuota IE.
the period should be within the range of uint32, otherwise it overflows.
func NewTimeQuotaMechanism ¶
NewTimeQuotaMechanism creates a new TimeQuotaMechanism IE.
func NewTimeThreshold ¶
NewTimeThreshold creates a new TimeThreshold IE.
func NewTraceInformation ¶
func NewTraceInformation(mcc, mnc, id string, events []byte, depth uint8, interfaces []byte, ip net.IP) *IE
NewTraceInformation creates a new TraceInformation IE.
func NewTrafficEndpointID ¶
NewTrafficEndpointID creates a new TrafficEndpointID IE.
func NewTransportDelayReporting ¶ added in v0.0.10
NewTransportDelayReporting creates a new TransportDelayReporting IE.
func NewTransportLevelMarking ¶
NewTransportLevelMarking creates a new TransportLevelMarking IE.
func NewUEIPAddress ¶
NewUEIPAddress creates a new UEIPAddress IE.
func NewUEIPAddressPoolIdentity ¶
NewUEIPAddressPoolIdentity creates a new UEIPAddressPoolIdentity IE.
func NewUEIPAddressPoolInformation ¶
NewUEIPAddressPoolInformation creates a new UEIPAddressPoolInformation IE.
func NewUEIPAddressUsageInformation ¶ added in v0.0.10
NewUEIPAddressUsageInformation creates a new UEIPAddressUsageInformation IE.
func NewUELinkSpecificIPAddress ¶
NewUELinkSpecificIPAddress creates a new UELinkSpecificIPAddress IE.
func NewUPFunctionFeatures ¶
NewUPFunctionFeatures creates a new UPFunctionFeatures IE. Each feature should be given by octets (5th to 8th octet). It expects 4 octets as input, excessive ones are ignored.
func NewUint16IE ¶ added in v0.0.21
NewUint16ValIE creates a new IE with uint16 value.
func NewUint32IE ¶ added in v0.0.21
NewUint32ValIE creates a new IE with uint32 value.
func NewUint64IE ¶ added in v0.0.21
NewUint64ValIE creates a new IE with uint64 value.
func NewUint8IE ¶ added in v0.0.21
NewUint8ValIE creates a new IE with uint8 value.
func NewUpdateBAR ¶
NewUpdateBAR creates a new UpdateBAR IE.
func NewUpdateBARWithinSessionModificationRequest ¶
NewUpdateBARWithinSessionModificationRequest creates a new UpdateBARWithinSessionModificationRequest IE.
func NewUpdateBARWithinSessionReportResponse ¶
NewUpdateBARWithinSessionReportResponse creates a new UpdateBARWithinSessionReportResponse IE.
func NewUpdateDuplicatingParameters ¶
NewUpdateDuplicatingParameters creates a new UpdateDuplicatingParameters IE.
func NewUpdateForwardingParameters ¶
NewUpdateForwardingParameters creates a new UpdateForwardingParameters IE.
func NewUpdateNonTGPPAccessForwardingActionInformation ¶
NewUpdateNonTGPPAccessForwardingActionInformation creates a new UpdateNonTGPPAccessForwardingActionInformation IE.
func NewUpdateTGPPAccessForwardingActionInformation ¶
NewUpdateTGPPAccessForwardingActionInformation creates a new UpdateTGPPAccessForwardingActionInformation IE.
func NewUpdateTrafficEndpoint ¶
NewUpdateTrafficEndpoint creates a new UpdateTrafficEndpoint IE.
func NewUsageInformation ¶
NewUsageInformation creates a new UsageInformation IE.
func NewUsageReport ¶
NewUsageReport creates a new UsageReport IE.
func NewUsageReportTrigger ¶
NewUsageReportTrigger creates a new UsageReportTrigger IE.
func NewUsageReportWithinSessionDeletionResponse ¶
NewUsageReportWithinSessionDeletionResponse creates a new UsageReportWithinSessionDeletionResponse IE.
func NewUsageReportWithinSessionModificationResponse ¶
NewUsageReportWithinSessionModificationResponse creates a new UsageReportWithinSessionModificationResponse IE.
func NewUsageReportWithinSessionReportRequest ¶
NewUsageReportWithinSessionReportRequest creates a new UsageReportWithinSessionReportRequest IE.
func NewUserPlaneIPResourceInformation ¶
NewUserPlaneIPResourceInformation creates a new UserPlaneIPResourceInformation IE.
func NewUserPlaneInactivityTimer ¶
NewUserPlaneInactivityTimer creates a new UserPlaneInactivityTimer IE.
the period should be within the range of uint32, otherwise it overflows.
func NewUserPlanePathFailureReport ¶
NewUserPlanePathFailureReport creates a new UserPlanePathFailureReport IE.
func NewUserPlanePathRecoveryReport ¶
NewUserPlanePathRecoveryReport creates a new UserPlanePathRecoveryReport IE.
func NewValidityTimer ¶ added in v0.0.10
NewValidityTimer creates a new ValidityTimer IE.
the period should be within the range of uint16, otherwise it overflows.
func NewVendorSpecificGroupedIE ¶
NewVendorSpecificGroupedIE creates a new grouped IE.
func NewVendorSpecificIE ¶
NewVendorSpecificIE creates a new vendor-specific IE.
func NewVolumeMeasurement ¶
NewVolumeMeasurement creates a new VolumeMeasurement IE.
func NewVolumeQuota ¶
NewVolumeQuota creates a new VolumeQuota IE.
func NewVolumeThreshold ¶
NewVolumeThreshold creates a new VolumeThreshold IE.
func Parse ¶
Parse parses b into IE.
Note that this function uses the given bytes directly, so not safe to use the buffer after calling this function. When you use the buffer somewhere else, copy it before calling this function.
func ParseMultiIEs ¶
ParseMultiIEs decodes multiple IEs at a time. This is easy and useful but slower than decoding one by one. When you don't know the number of IEs, this is the only way to decode them. See benchmarks in diameter_test.go for the detail.
Note that this function uses the given bytes directly, so not safe to use the buffer after calling this function. When you use the buffer somewhere else, copy it before calling this function.
func (*IE) ATSSSControlParameters ¶
ATSSSControlParameters returns the IEs above ATSSSControlParameters if the type of IE matches.
func (*IE) ATSSSLLControlInformation ¶
ATSSSLLControlInformation returns ATSSSLLControlInformation in uint8 if the type of IE matches.
func (*IE) ATSSSLLInformation ¶
ATSSSLLInformation returns ATSSSLLInformation in uint8 if the type of IE matches.
func (*IE) ATSSSLLParameters ¶
ATSSSLLParameters returns the IEs above ATSSSLLParameters if the type of IE matches.
func (*IE) AccessAvailabilityControlInformation ¶
AccessAvailabilityControlInformation returns the IEs above AccessAvailabilityControlInformation if the type of IE matches.
func (*IE) AccessAvailabilityInformation ¶
AccessAvailabilityInformation returns AccessAvailabilityInformation in uint8 if the type of IE matches.
func (*IE) AccessAvailabilityReport ¶
AccessAvailabilityReport returns the IEs above AccessAvailabilityReport if the type of IE matches.
func (*IE) AccessType ¶
AccessType returns AccessType in uint8 if the type of IE matches.
func (*IE) ActivatePredefinedRules ¶
ActivatePredefinedRules returns ActivatePredefinedRules in string if the type of IE matches.
func (*IE) ActivationTime ¶
ActivationTime returns ActivationTime in time.Time if the type of IE matches.
func (*IE) Add ¶
Add adds variable number of IEs to a IE if the IE is grouped type and update length. Otherwise, this does nothing (no errors).
func (*IE) AdditionalMonitoringTime ¶
AdditionalMonitoringTime returns the IEs above AdditionalMonitoringTime if the type of IE matches.
func (*IE) AdditionalUsageReportsInformation ¶
AdditionalUsageReportsInformation returns AdditionalUsageReportsInformation in uint16 if the type of IE matches.
func (*IE) AggregatedURRID ¶
AggregatedURRID returns AggregatedURRID in uint32 if the type of IE matches.
func (*IE) AggregatedURRs ¶
AggregatedURRs returns the IEs above AggregatedURRs if the type of IE matches.
func (*IE) AlternativeSMFIPAddress ¶
func (i *IE) AlternativeSMFIPAddress() (*AlternativeSMFIPAddressFields, error)
AlternativeSMFIPAddress returns AlternativeSMFIPAddress in structured format if the type of IE matches.
func (*IE) ApplicationDetectionInformation ¶
ApplicationDetectionInformation returns the IEs above ApplicationDetectionInformation if the type of IE matches.
func (*IE) ApplicationID ¶
ApplicationID returns ApplicationID in string if the type of IE matches.
func (*IE) ApplicationIDsPFDs ¶
ApplicationIDsPFDs returns the IEs above ApplicationIDsPFDs if the type of IE matches.
func (*IE) ApplicationInstanceID ¶
ApplicationInstanceID returns ApplicationInstanceID in string if the type of IE matches.
func (*IE) ApplyAction ¶
ApplyAction returns ApplyAction in []byte if the type of IE matches.
func (*IE) AvailabilityStatus ¶
AvailabilityStatus returns AvailabilityStatus in uint8 if the type of IE matches.
func (*IE) AveragePacketDelay ¶
AveragePacketDelay returns AveragePacketDelay in time.Duration if the type of IE matches.
func (*IE) AveragingWindow ¶
AveragingWindow returns AveragingWindow in uint32 if the type of IE matches.
func (*IE) BridgeManagementInformationContainer ¶ added in v0.0.10
BridgeManagementInformationContainer returns BridgeManagementInformationContainer in string if the type of IE matches.
func (*IE) CPFunctionFeatures ¶
CPFunctionFeatures returns CPFunctionFeatures in []byte if the type of IE matches.
func (*IE) CPPFCPEntityIPAddress ¶
func (i *IE) CPPFCPEntityIPAddress() (*CPPFCPEntityIPAddressFields, error)
CPPFCPEntityIPAddress returns CPPFCPEntityIPAddress in structured format if the type of IE matches.
func (*IE) CTAG ¶
func (i *IE) CTAG() (*CTAGFields, error)
CTAG returns CTAG in structured format if the type of IE matches.
func (*IE) ClockDriftControlInformation ¶
ClockDriftControlInformation returns the IEs above ClockDriftControlInformation if the type of IE matches.
func (*IE) ClockDriftReport ¶
ClockDriftReport returns the IEs above ClockDriftReport if the type of IE matches.
func (*IE) CreateBridgeInfoForTSC ¶
CreateBridgeInfoForTSC returns CreateBridgeInfoForTSC in uint8 if the type of IE matches.
func (*IE) CreateTrafficEndpoint ¶
CreateTrafficEndpoint returns the IEs above CreateTrafficEndpoint if the type of IE matches.
func (*IE) CreatedBridgeInfoForTSC ¶
CreatedBridgeInfoForTSC returns the IEs above CreatedBridgeInfoForTSC if the type of IE matches.
func (*IE) CreatedPDR ¶
CreatedPDR returns the IEs above CreatedPDR if the type of IE matches.
func (*IE) CreatedTrafficEndpoint ¶
CreatedTrafficEndpoint returns the IEs above CreatedTrafficEndpoint if the type of IE matches.
func (*IE) CumulativeRateRatioMeasurement ¶
CumulativeRateRatioMeasurement returns CumulativeRateRatioMeasurement in uint32 if the type of IE matches.
func (*IE) CumulativeRateRatioThreshold ¶
CumulativeRateRatioThreshold returns CumulativeRateRatioThreshold in uint32 if the type of IE matches.
func (*IE) DLBufferingDuration ¶
DLBufferingDuration returns DLBufferingDuration in time.Duration if the type of IE matches.
func (*IE) DLBufferingSuggestedPacketCount ¶
DLBufferingSuggestedPacketCount returns DLBufferingSuggestedPacketCount in uint16 if the type of IE matches.
func (*IE) DLDataPacketsSize ¶
DLDataPacketsSize returns DLDataPacketsSize in uint16 if the type of IE matches.
func (*IE) DLFlowLevelMarking ¶
func (i *IE) DLFlowLevelMarking() (*DLFlowLevelMarkingFields, error)
DLFlowLevelMarking returns DLFlowLevelMarking in *DLFlowLevelMarkingFields if the type of IE matches.
func (*IE) DSTTPortNumber ¶
DSTTPortNumber returns DSTTPortNumber in uint32 if the type of IE matches.
func (*IE) DataNetworkAccessIdentifier ¶
DataNetworkAccessIdentifier returns DataNetworkAccessIdentifier in string if the type of IE matches.
func (*IE) DataStatus ¶ added in v0.0.10
DataStatus returns DataStatus in uint8 if the type of IE matches.
func (*IE) DeactivatePredefinedRules ¶
DeactivatePredefinedRules returns DeactivatePredefinedRules in string if the type of IE matches.
func (*IE) DeactivationTime ¶
DeactivationTime returns DeactivationTime in time.Time if the type of IE matches.
func (*IE) DestinationInterface ¶
DestinationInterface returns DestinationInterface in uint8 if the type of IE matches.
func (*IE) DownlinkDataNotificationDelay ¶
DownlinkDataNotificationDelay returns DownlinkDataNotificationDelay in time.Duration if the type of IE matches.
func (*IE) DownlinkDataReport ¶
DownlinkDataReport returns the IEs above DownlinkDataReport if the type of IE matches.
func (*IE) DownlinkDataServiceInformation ¶
DownlinkDataServiceInformation returns DownlinkDataServiceInformation in []byte if the type of IE matches.
func (*IE) DroppedDLTrafficThreshold ¶
DroppedDLTrafficThreshold returns DroppedDLTrafficThreshold in uint8 if the type of IE matches.
TODO: implement!
func (*IE) DuplicatingParameters ¶
DuplicatingParameters returns the IEs above DuplicatingParameters if the type of IE matches.
func (*IE) DurationMeasurement ¶
DurationMeasurement returns DurationMeasurement in time.Duration if the type of IE matches.
func (*IE) ErrorIndicationReport ¶
ErrorIndicationReport returns the IEs above ErrorIndicationReport if the type of IE matches.
func (*IE) EthernetContextInformation ¶
EthernetContextInformation returns the IEs above EthernetContextInformation if the type of IE matches.
func (*IE) EthernetFilterID ¶
EthernetFilterID returns EthernetFilterID in uint32 if the type of IE matches.
func (*IE) EthernetFilterProperties ¶
EthernetFilterProperties returns EthernetFilterProperties in uint8 if the type of IE matches.
func (*IE) EthernetInactivityTimer ¶
EthernetInactivityTimer returns EthernetInactivityTimer in time.Duration if the type of IE matches.
func (*IE) EthernetPDUSessionInformation ¶
EthernetPDUSessionInformation returns EthernetPDUSessionInformation in uint8 if the type of IE matches.
func (*IE) EthernetPacketFilter ¶
EthernetPacketFilter returns the IEs above EthernetPacketFilter if the type of IE matches.
func (*IE) EthernetTrafficInformation ¶
EthernetTrafficInformation returns the IEs above EthernetTrafficInformation if the type of IE matches.
func (*IE) EventQuota ¶
EventQuota returns EventQuota in uint32 if the type of IE matches.
func (*IE) EventThreshold ¶
EventThreshold returns EventThreshold in uint32 if the type of IE matches.
func (*IE) EventTimeStamp ¶
EventTimeStamp returns EventTimeStamp in time.Time if the type of IE matches.
func (*IE) FSEID ¶
func (i *IE) FSEID() (*FSEIDFields, error)
FSEID returns FSEID in structured format if the type of IE matches.
func (*IE) FTEID ¶
func (i *IE) FTEID() (*FTEIDFields, error)
FTEID returns FTEID in structured format if the type of IE matches.
func (*IE) FailedRuleID ¶
FailedRuleID returns FailedRuleID in uint32 if the type of IE matches.
func (*IE) FindByType ¶
FindByType returns IE looked up by type.
The program may be slower when calling this method multiple times because this ranges over a ChildIEs each time it is called.
func (*IE) FlowDescription ¶
FlowDescription returns FlowDescription in string if the type of IE matches.
func (*IE) FlowDirection ¶
FlowDirection returns FlowDirection in uint8 if the type of IE matches.
func (*IE) FlowInformation ¶
FlowInformation returns FlowInformation in []byte if the type of IE matches.
func (*IE) ForwardingParameters ¶
ForwardingParameters returns the IEs above ForwardingParameters if the type of IE matches.
func (*IE) ForwardingPolicy ¶
ForwardingPolicy returns ForwardingPolicy in []byte if the type of IE matches.
func (*IE) ForwardingPolicyIdentifier ¶
ForwardingPolicyIdentifier returns ForwardingPolicyIdentifier in string if the type of IE matches.
func (*IE) FramedIPv6Route ¶
FramedIPv6Route returns FramedIPv6Route in string if the type of IE matches.
func (*IE) FramedRoute ¶
FramedRoute returns FramedRoute in string if the type of IE matches.
func (*IE) FramedRouting ¶
FramedRouting returns FramedRouting in uint32 if the type of IE matches.
func (*IE) GTPUExtensionHeaderDeletion ¶ added in v0.0.15
GTPUExtensionHeaderDeletion returns GTPUExtensionHeaderDeletion in uint8 if the type of IE matches.
func (*IE) GTPUPathInterfaceType ¶
GTPUPathInterfaceType returns GTPUPathInterfaceType in uint8 if the type of IE matches.
func (*IE) GTPUPathQoSControlInformation ¶
GTPUPathQoSControlInformation returns the IEs above GTPUPathQoSControlInformation if the type of IE matches.
func (*IE) GTPUPathQoSReport ¶
GTPUPathQoSReport returns the IEs above GTPUPathQoSReport if the type of IE matches.
func (*IE) GateStatus ¶
GateStatus returns GateStatus in uint8 if the type of IE matches.
func (*IE) GateStatusDL ¶
GateStatusDL returns GateStatusDL in uint8 if the type of IE matches.
func (*IE) GateStatusUL ¶
GateStatusUL returns GateStatusUL in uint8 if the type of IE matches.
func (*IE) GateStatusULDL ¶ added in v0.0.20
GateStatusULDL returns GateStatusUL and GateStatusDL in uint8 if the type of IE matches.
func (*IE) GracefulReleasePeriod ¶
GracefulReleasePeriod returns GracefulReleasePeriod in time.Duration if the type of IE matches.
func (*IE) HasBDPN ¶ added in v0.0.16
HasBDPN reports wether an IE has BDPN bit. This flag has been introduced in release 16.4
func (*IE) HasCHV4 ¶ added in v0.0.16
HasCHV4 reports whether an IE has CHV4 bit. This bit has been introduced in release 16.2 with the removal of the bit CH at the same position.
func (*IE) HasCHV6 ¶ added in v0.0.16
HasCHV6 reports whether an IE has CHV6 bit. This bit has been introduced in release 16.2
func (*IE) HasDCARONI ¶
HasDCARONI reports whether an IE has DCARONI bit.
func (*IE) HasDDPN ¶ added in v0.0.16
HasDDPN reports wether an IE has DDPN bit. This flag has been introduced in release 16.4
func (*IE) HasDFRT ¶ added in v0.0.16
HasDFRT reports wether an IE has DFRT bit. This flag has been introduced in release 16.3
func (*IE) HasEDRT ¶ added in v0.0.16
HasEDRT reports wether an IE has EDRT bit. This flag has been introduced in release 16.3
func (*IE) HasFSSM ¶ added in v0.0.16
HasFSSM reports wether an IE has FSSM bit. This flag has been introduced in release 17.2
func (*IE) HasIP6PL ¶ added in v0.0.16
HasIP6PL reports whether an IE has IP6PL bit. This bit has been introduced in release 16.2
func (*IE) HasIPMA ¶ added in v0.0.16
HasIPMA reports wether an IE has IPMA bit. This flag has been introduced in release 16.2
func (*IE) HasIPMD ¶ added in v0.0.16
HasIPMD reports wether an IE has IPMD bit. This flag has been introduced in release 16.2
func (*IE) HasMBSU ¶ added in v0.0.16
HasMBSU reports wether an IE has MBSU bit. This flag has been introduced in release 17.2
func (*IE) HasPRINT19I ¶
HasPRINT19I reports whether an IE has PRINT19I bit.
func (*IE) HasPRIUEAI ¶
HasPRIUEAI reports whether an IE has PRIUEAI bit.
func (*IE) HasPortNumber ¶ added in v0.0.16
HasPortNumber reports wether an IE has Port Number bit.
func (*IE) HeaderEnrichment ¶
func (i *IE) HeaderEnrichment() (*HeaderEnrichmentFields, error)
HeaderEnrichment returns HeaderEnrichment in *HeaderEnrichmentFields if the type of IE matches.
func (*IE) IPMulticastAddress ¶
func (i *IE) IPMulticastAddress() (*IPMulticastAddressFields, error)
IPMulticastAddress returns IPMulticastAddress in structured format if the type of IE matches.
func (*IE) IPMulticastAddressingInfo ¶
IPMulticastAddressingInfo returns the IEs above IPMulticastAddressingInfo if the type of IE matches.
func (*IE) IPVersion ¶ added in v0.0.10
IPVersion returns IPVersion in uint8 if the type of IE matches.
func (*IE) InactivityDetectionTime ¶
InactivityDetectionTime returns InactivityDetectionTime in uint32 if the type of IE matches.
func (*IE) IsAllocatedByCPFunction ¶
IsAllocatedByCPFunction reports whether URRID is allocated by CP Function.
func (*IE) IsAllocatedByUPFunction ¶
IsAllocatedByUPFunction reports whether URRID is allocated by UP Function.
func (*IE) IsGrouped ¶
IsGrouped reports whether an IE is grouped type or not.
By default, this package determines if an IE is grouped type or not by checking if the IE type is in the defaultGroupedIEMap. You can change this entire behavior by calling SetIsGroupedFun(), or you can add new IE types to the defaultGroupedIEMap by calling AddGroupedIEType().
func (*IE) IsLLSSMCTEID ¶ added in v0.0.16
IsLLSSMCTEID reports wether an IE has Low Layer SSM and C-TEID bit.
func (*IE) IsVendorSpecific ¶
IsVendorSpecific reports whether an IE is vendor-specific or defined by 3gpp.
func (*IE) JoinIPMulticastInformationWithinUsageReport ¶
JoinIPMulticastInformationWithinUsageReport returns the IEs above JoinIPMulticastInformationWithinUsageReport if the type of IE matches.
func (*IE) LeaveIPMulticastInformationWithinUsageReport ¶
LeaveIPMulticastInformationWithinUsageReport returns the IEs above LeaveIPMulticastInformationWithinUsageReport if the type of IE matches.
func (*IE) LinkedURRID ¶
LinkedURRID returns LinkedURRID in uint32 if the type of IE matches.
func (*IE) LoadControlInformation ¶
LoadControlInformation returns the IEs above LoadControlInformation if the type of IE matches.
func (*IE) LocalFTEID ¶
func (i *IE) LocalFTEID() (*FTEIDFields, error)
LocalFTEID returns FTEID that is found first in a grouped IE in structured format if the type of IE matches.
This can only be used on the grouped IEs that may have multiple Local F-TEID IEs.
func (*IE) LocalFTEIDN ¶
func (i *IE) LocalFTEIDN(n int) (*FTEIDFields, error)
LocalFTEIDN returns FTEID that is found Nth in a grouped IE in structured format if the type of IE matches.
This can only be used on the grouped IEs that may have multiple Local F-TEID IEs.
func (*IE) MACAddress ¶
func (i *IE) MACAddress() (*MACAddressFields, error)
MACAddress returns MACAddress in structured format if the type of IE matches.
func (*IE) MACAddressesDetected ¶
func (i *IE) MACAddressesDetected() (*MACAddressesDetectedFields, error)
MACAddressesDetected returns MACAddressesDetected in structured format if the type of IE matches.
func (*IE) MACAddressesRemoved ¶
func (i *IE) MACAddressesRemoved() (*MACAddressesRemovedFields, error)
MACAddressesRemoved returns MACAddressesRemoved in structured format if the type of IE matches.
func (*IE) MPTCPAddressInformation ¶
func (i *IE) MPTCPAddressInformation() (*MPTCPAddressInformationFields, error)
MPTCPAddressInformation returns MPTCPAddressInformation in structured format if the type of IE matches.
func (*IE) MPTCPApplicableIndication ¶ added in v0.0.10
MPTCPApplicableIndication returns MPTCPApplicableIndication in uint8 if the type of IE matches.
func (*IE) MPTCPControlInformation ¶
MPTCPControlInformation returns MPTCPControlInformation in uint8 if the type of IE matches.
func (*IE) MPTCPParameters ¶
MPTCPParameters returns the IEs above MPTCPParameters if the type of IE matches.
func (*IE) MTEDTControlInformation ¶
MTEDTControlInformation returns MTEDTControlInformation in uint8 if the type of IE matches.
func (*IE) MaximumPacketDelay ¶
MaximumPacketDelay returns MaximumPacketDelay in time.Duration if the type of IE matches.
func (*IE) MeasurementInformation ¶
MeasurementInformation returns MeasurementInformation in uint8 if the type of IE matches.
func (*IE) MeasurementMethod ¶
MeasurementMethod returns MeasurementMethod in uint8 if the type of IE matches.
func (*IE) MeasurementPeriod ¶
MeasurementPeriod returns MeasurementPeriod in time.Duration if the type of IE matches.
func (*IE) MinimumPacketDelay ¶
MinimumPacketDelay returns MinimumPacketDelay in time.Duration if the type of IE matches.
func (*IE) MinimumWaitTime ¶
MinimumWaitTime returns MinimumWaitTime in time.Duration if the type of IE matches.
func (*IE) MonitoringTime ¶
MonitoringTime returns MonitoringTime in time.Time if the type of IE matches.
func (*IE) Multiplier ¶
Multiplier returns Multiplier in []byte if the type of IE matches.
func (*IE) MustAPNDNN ¶
MustAPNDNN returns APNDNN in string, ignoring errors. This should only be used if it is assured to have the value.
func (*IE) NFInstanceID ¶
NFInstanceID returns NFInstanceID in []byte if the type of IE matches.
func (*IE) NWTTPortNumber ¶
NWTTPortNumber returns NWTTPortNumber in uint32 if the type of IE matches.
func (*IE) NetworkInstance ¶
NetworkInstance returns NetworkInstance in string if the type of IE matches.
func (*IE) NetworkInstanceFQDN ¶ added in v0.0.11
NetworkInstanceFQDN returns NetworkInstance in string if the type of IE matches. This is for the case that NetworkInstance is encoded as a FQDN.
func (*IE) NetworkInstanceHeuristic ¶ added in v0.0.11
NetworkInstanceHeuristic assumes that the payload is encoded in Name Syntax and returns the decoded string if it looks meaningful. Otherwise returns a string just converted from []byte.
func (*IE) NodeAddress ¶
NodeAddress returns NodeAddress in []byte if the type of IE matches.
func (*IE) NodeIDType ¶
NodeIDType returns NodeIDType in uint8 if the type of IE matches.
func (*IE) NodeReportType ¶
NodeReportType returns NodeReportType in uint8 if the type of IE matches.
func (*IE) NonTGPPAccessForwardingActionInformation ¶
NonTGPPAccessForwardingActionInformation returns the IEs above NonTGPPAccessForwardingActionInformation if the type of IE matches.
func (*IE) NumberOfReports ¶
NumberOfReports returns NumberOfReports in uint16 if the type of IE matches.
func (*IE) NumberOfUEIPAddresses ¶ added in v0.0.10
func (i *IE) NumberOfUEIPAddresses() (*NumberOfUEIPAddressesFields, error)
NumberOfUEIPAddresses returns NumberOfUEIPAddresses in structured format if the type of IE matches.
func (*IE) OffendingIE ¶
OffendingIE returns OffendingIE in uint16 if the type of IE matches.
func (*IE) OuterHeaderCreation ¶
func (i *IE) OuterHeaderCreation() (*OuterHeaderCreationFields, error)
OuterHeaderCreation returns OuterHeaderCreation in *OuterHeaderCreationFields if the type of IE matches.
func (*IE) OuterHeaderRemoval ¶
OuterHeaderRemoval returns OuterHeaderRemoval in []byte if the type of IE matches.
func (*IE) OuterHeaderRemovalDescription ¶
OuterHeaderRemovalDescription returns OuterHeaderRemovalDescription in uint8 if the type of IE matches.
func (*IE) OverloadControlInformation ¶
OverloadControlInformation returns the IEs above OverloadControlInformation if the type of IE matches.
func (*IE) PFCPASReqFlags ¶ added in v0.0.10
PFCPASReqFlags returns PFCPASReqFlags in uint8 if the type of IE matches.
func (*IE) PFCPASRspFlags ¶
PFCPASRspFlags returns PFCPASRspFlags in uint8 if the type of IE matches.
func (*IE) PFCPAUReqFlags ¶
PFCPAUReqFlags returns PFCPAUReqFlags in uint8 if the type of IE matches.
func (*IE) PFCPAssociationReleaseRequest ¶
PFCPAssociationReleaseRequest returns PFCPAssociationReleaseRequest in uint8 if the type of IE matches.
func (*IE) PFCPSEReqFlags ¶
PFCPSEReqFlags returns PFCPSEReqFlags in uint8 if the type of IE matches.
func (*IE) PFCPSMReqFlags ¶
PFCPSMReqFlags returns PFCPSMReqFlags in uint8 if the type of IE matches.
func (*IE) PFCPSRReqFlags ¶
PFCPSRReqFlags returns PFCPSRReqFlags in uint8 if the type of IE matches.
func (*IE) PFCPSRRspFlags ¶
PFCPSRRspFlags returns PFCPSRRspFlags in uint8 if the type of IE matches.
func (*IE) PFCPSessionRetentionInformation ¶
PFCPSessionRetentionInformation returns the IEs above PFCPSessionRetentionInformation if the type of IE matches.
func (*IE) PFDContents ¶
func (i *IE) PFDContents() (*PFDContentsFields, error)
PFDContents returns PFDContents in structured format if the type of IE matches.
This IE has a complex payload that costs much when parsing.
func (*IE) PFDContext ¶
PFDContext returns the IEs above PFDContext if the type of IE matches.
func (*IE) PMFAddressInformation ¶
func (i *IE) PMFAddressInformation() (*PMFAddressInformationFields, error)
PMFAddressInformation returns PMFAddressInformation in structured format if the type of IE matches.
func (*IE) PMFControlInformation ¶
PMFControlInformation returns PMFControlInformation in uint8 if the type of IE matches.
func (*IE) PMFParameters ¶
PMFParameters returns the IEs above PMFParameters if the type of IE matches.
func (*IE) PacketDelayThresholds ¶
func (i *IE) PacketDelayThresholds() (*PacketDelayThresholdsFields, error)
PacketDelayThresholds returns PacketDelayThresholds in structured format if the type of IE matches.
func (*IE) PacketRate ¶
func (i *IE) PacketRate() (*PacketRateFields, error)
PacketRate returns PacketRate in *PacketRateFields if the type of IE matches.
func (*IE) PacketRateStatus ¶
func (i *IE) PacketRateStatus() (*PacketRateStatusFields, error)
PacketRateStatus returns PacketRateStatus in structured format if the type of IE matches.
func (*IE) PacketRateStatusReport ¶
PacketRateStatusReport returns the IEs above PacketRateStatusReport if the type of IE matches.
func (*IE) PacketReplicationAndDetectionCarryOnInformation ¶
PacketReplicationAndDetectionCarryOnInformation returns PacketReplicationAndDetectionCarryOnInformation in uint8 if the type of IE matches.
func (*IE) PagingPolicyIndicator ¶
PagingPolicyIndicator returns PagingPolicyIndicator in uint8 if the type of IE matches.
func (*IE) PortManagementInformationContainer ¶
PortManagementInformationContainer returns PortManagementInformationContainer in string if the type of IE matches.
func (*IE) PortManagementInformationForTSC ¶
PortManagementInformationForTSC returns the IEs above PortManagementInformationForTSC if the type of IE matches.
func (*IE) Precedence ¶
Precedence returns Precedence in uint32 if the type of IE matches.
func (*IE) ProvideATSSSControlInformation ¶
ProvideATSSSControlInformation returns the IEs above ProvideATSSSControlInformation if the type of IE matches.
func (*IE) ProvideRDSConfigurationInformation ¶ added in v0.0.10
ProvideRDSConfigurationInformation returns the IEs above ProvideRDSConfigurationInformation if the type of IE matches.
func (*IE) QERControlIndications ¶
QERControlIndications returns QERControlIndications in uint8 if the type of IE matches.
func (*IE) QERCorrelationID ¶
QERCorrelationID returns QERCorrelationID in uint32 if the type of IE matches.
func (*IE) QoSInformationInGTPUPathQoSReport ¶
QoSInformationInGTPUPathQoSReport returns the IEs above QoSInformationInGTPUPathQoSReport if the type of IE matches.
func (*IE) QoSMonitoringMeasurement ¶
func (i *IE) QoSMonitoringMeasurement() (*QoSMonitoringMeasurementFields, error)
QoSMonitoringMeasurement returns QoSMonitoringMeasurement in structured format if the type of IE matches.
func (*IE) QoSMonitoringPerQoSFlowControlInformation ¶
QoSMonitoringPerQoSFlowControlInformation returns the IEs above QoSMonitoringPerQoSFlowControlInformation if the type of IE matches.
func (*IE) QoSMonitoringReport ¶
QoSMonitoringReport returns the IEs above QoSMonitoringReport if the type of IE matches.
func (*IE) QoSReportTrigger ¶
QoSReportTrigger returns QoSReportTrigger in uint8 if the type of IE matches.
func (*IE) QueryPacketRateStatus ¶ added in v0.0.10
QueryPacketRateStatus returns the IEs above QueryPacketRateStatus if the type of IE matches.
func (*IE) QueryURRReference ¶
QueryURRReference returns QueryURRReference in uint32 if the type of IE matches.
func (*IE) QuotaHoldingTime ¶
QuotaHoldingTime returns QuotaHoldingTime in time.Duration if the type of IE matches.
func (*IE) QuotaValidityTime ¶
QuotaValidityTime returns QuotaValidityTime in time.Time if the type of IE matches.
func (*IE) RDSConfigurationInformation ¶ added in v0.0.10
RDSConfigurationInformation returns RDSConfigurationInformation in uint8 if the type of IE matches.
func (*IE) RecoveryTimeStamp ¶
RecoveryTimeStamp returns RecoveryTimeStamp in time.Time if the type of IE matches.
func (*IE) RedirectInformation ¶
func (i *IE) RedirectInformation() (*RedirectInformationFields, error)
RedirectInformation returns RedirectInformation in structured format if the type of IE matches.
func (*IE) RedundantTransmissionForwardingParameters ¶ added in v0.0.10
RedundantTransmissionForwardingParameters returns the IEs above RedundantTransmissionForwardingParameters if the type of IE matches.
func (*IE) RedundantTransmissionParameters ¶
RedundantTransmissionParameters returns the IEs above RedundantTransmissionParameters if the type of IE matches.
func (*IE) RemoteGTPUPeer ¶
func (i *IE) RemoteGTPUPeer() (*RemoteGTPUPeerFields, error)
RemoteGTPUPeer returns RemoteGTPUPeer in *RemoteGTPUPeerFields if the type of IE matches.
func (*IE) RemoveTrafficEndpoint ¶
RemoveTrafficEndpoint returns the IEs above RemoveTrafficEndpoint if the type of IE matches.
func (*IE) ReportType ¶
ReportType returns ReportType in uint8 if the type of IE matches.
func (*IE) ReportingFrequency ¶
ReportingFrequency returns ReportingFrequency in uint8 if the type of IE matches.
func (*IE) ReportingTriggers ¶
ReportingTriggers returns ReportingTriggers in []byte if the type of IE matches.
func (*IE) RequestedAccessAvailabilityInformation ¶
RequestedAccessAvailabilityInformation returns RequestedAccessAvailabilityInformation in uint8 if the type of IE matches.
func (*IE) RequestedClockDriftInformation ¶
RequestedClockDriftInformation returns RequestedClockDriftInformation in uint8 if the type of IE matches.
func (*IE) RequestedQoSMonitoring ¶
RequestedQoSMonitoring returns RequestedQoSMonitoring in uint8 if the type of IE matches.
func (*IE) RuleIDType ¶
RuleIDType returns RuleIDType in uint8 if the type of IE matches.
func (*IE) SDFFilter ¶
func (i *IE) SDFFilter() (*SDFFilterFields, error)
SDFFilter returns SDFFilter in structured format if the type of IE matches.
This IE has a complex payload that costs much when parsing.
func (*IE) STAG ¶
func (i *IE) STAG() (*STAGFields, error)
STAG returns STAG in structured format if the type of IE matches.
func (*IE) SequenceNumber ¶
SequenceNumber returns SequenceNumber in uint32 if the type of IE matches.
func (*IE) SessionReport ¶
SessionReport returns the IEs above SessionReport if the type of IE matches.
func (*IE) SourceIPAddress ¶
func (i *IE) SourceIPAddress() (*SourceIPAddressFields, error)
SourceIPAddress returns SourceIPAddress in structured format if the type of IE matches.
func (*IE) SourceInterface ¶
SourceInterface returns SourceInterface in uint8 if the type of IE matches.
func (*IE) SteeringFunctionality ¶
SteeringFunctionality returns SteeringFunctionality in uint8 if the type of IE matches.
func (*IE) SteeringMode ¶
SteeringMode returns SteeringMode in uint8 if the type of IE matches.
func (*IE) SubsequentEventQuota ¶
SubsequentEventQuota returns SubsequentEventQuota in uint32 if the type of IE matches.
func (*IE) SubsequentEventThreshold ¶
SubsequentEventThreshold returns SubsequentEventThreshold in uint32 if the type of IE matches.
func (*IE) SubsequentTimeQuota ¶
SubsequentTimeQuota returns SubsequentTimeQuota in time.Duration if the type of IE matches.
func (*IE) SubsequentTimeThreshold ¶
SubsequentTimeThreshold returns SubsequentTimeThreshold in time.Duration if the type of IE matches.
func (*IE) SubsequentVolumeQuota ¶
func (i *IE) SubsequentVolumeQuota() (*SubsequentVolumeQuotaFields, error)
SubsequentVolumeQuota returns SubsequentVolumeQuota in structured format if the type of IE matches.
func (*IE) SubsequentVolumeThreshold ¶
func (i *IE) SubsequentVolumeThreshold() (*SubsequentVolumeThresholdFields, error)
SubsequentVolumeThreshold returns SubsequentVolumeThreshold in structured format if the type of IE matches.
func (*IE) SuggestedBufferingPacketsCount ¶
SuggestedBufferingPacketsCount returns SuggestedBufferingPacketsCount in uint8 if the type of IE matches.
func (*IE) TGPPAccessForwardingActionInformation ¶
TGPPAccessForwardingActionInformation returns the IEs above TGPPAccessForwardingActionInformation if the type of IE matches.
func (*IE) TGPPInterfaceType ¶
TGPPInterfaceType returns TGPPInterfaceType in uint8 if the type of IE matches.
func (*IE) TSCManagementInformation ¶ added in v0.0.10
TSCManagementInformation returns the IEs above TSCManagementInformation if the type of IE matches.
func (*IE) TSNBridgeID ¶
func (i *IE) TSNBridgeID() (net.HardwareAddr, error)
TSNBridgeID returns TSNBridgeID in net.HardwareAddr if the type of IE matches.
func (*IE) TSNTimeDomainNumber ¶
TSNTimeDomainNumber returns TSNTimeDomainNumber in uint8 if the type of IE matches.
func (*IE) TimeOfFirstPacket ¶
TimeOfFirstPacket returns TimeOfFirstPacket in time.Time if the type of IE matches.
func (*IE) TimeOfLastPacket ¶
TimeOfLastPacket returns TimeOfLastPacket in time.Time if the type of IE matches.
func (*IE) TimeOffsetMeasurement ¶
TimeOffsetMeasurement returns TimeOffsetMeasurement in time.Duration if the type of IE matches.
func (*IE) TimeOffsetThreshold ¶
TimeOffsetThreshold returns TimeOffsetThreshold in time.Duration if the type of IE matches.
func (*IE) TimeQuotaMechanism ¶
TimeQuotaMechanism returns TimeQuotaMechanism in []byte if the type of IE matches.
func (*IE) TimeThreshold ¶
TimeThreshold returns TimeThreshold in time.Duration if the type of IE matches.
func (*IE) TraceInformation ¶
func (i *IE) TraceInformation() (*TraceInformationFields, error)
TraceInformation returns TraceInformation in structured format if the type of IE matches.
func (*IE) TrafficEndpointID ¶
TrafficEndpointID returns TrafficEndpointID in uint8 if the type of IE matches.
func (*IE) TransportDelayReporting ¶ added in v0.0.10
TransportDelayReporting returns the IEs above TransportDelayReporting if the type of IE matches.
func (*IE) TransportLevelMarking ¶
TransportLevelMarking returns TransportLevelMarking in uint16 if the type of IE matches.
func (*IE) UEIPAddress ¶
func (i *IE) UEIPAddress() (*UEIPAddressFields, error)
UEIPAddress returns UEIPAddress in *UEIPAddressFields if the type of IE matches.
func (*IE) UEIPAddressPoolIdentity ¶
UEIPAddressPoolIdentity returns UEIPAddressPoolIdentity in []byte if the type of IE matches.
func (*IE) UEIPAddressPoolIdentityString ¶
UEIPAddressPoolIdentityString returns UEIPAddressPoolIdentity in string if the type of IE matches.
func (*IE) UEIPAddressPoolInformation ¶
UEIPAddressPoolInformation returns the IEs above UEIPAddressPoolInformation if the type of IE matches.
func (*IE) UEIPAddressUsageInformation ¶ added in v0.0.10
UEIPAddressUsageInformation returns the IEs above UEIPAddressUsageInformation if the type of IE matches.
func (*IE) UELinkSpecificIPAddress ¶
func (i *IE) UELinkSpecificIPAddress() (*UELinkSpecificIPAddressFields, error)
UELinkSpecificIPAddress returns UELinkSpecificIPAddress in structured format if the type of IE matches.
func (*IE) UPFunctionFeatures ¶
UPFunctionFeatures returns UPFunctionFeatures in []byte if the type of IE matches.
func (*IE) UnmarshalBinary ¶
UnmarshalBinary parses b into IE.
func (*IE) UpdateDuplicatingParameters ¶
UpdateDuplicatingParameters returns the IEs above UpdateDuplicatingParameters if the type of IE matches.
func (*IE) UpdateForwardingParameters ¶
UpdateForwardingParameters returns the IEs above UpdateForwardingParameters if the type of IE matches.
func (*IE) UpdateNonTGPPAccessForwardingActionInformation ¶
UpdateNonTGPPAccessForwardingActionInformation returns the IEs above UpdateNonTGPPAccessForwardingActionInformation if the type of IE matches.
func (*IE) UpdateTGPPAccessForwardingActionInformation ¶
UpdateTGPPAccessForwardingActionInformation returns the IEs above UpdateTGPPAccessForwardingActionInformation if the type of IE matches.
func (*IE) UpdateTrafficEndpoint ¶
UpdateTrafficEndpoint returns the IEs above UpdateTrafficEndpoint if the type of IE matches.
func (*IE) UpdatedPDR ¶
UpdatedPDR returns the IEs above UpdatedPDR if the type of IE matches.
func (*IE) UsageInformation ¶
UsageInformation returns UsageInformation in uint8 if the type of IE matches.
func (*IE) UsageReport ¶
UsageReport returns the IEs above UsageReport if the type of IE matches.
func (*IE) UsageReportTrigger ¶
UsageReportTrigger returns UsageReportTrigger in []byte if the type of IE matches.
func (*IE) UserID ¶
func (i *IE) UserID() (*UserIDFields, error)
UserID returns UserID in structured format if the type of IE matches.
func (*IE) UserPlaneIPResourceInformation ¶
func (i *IE) UserPlaneIPResourceInformation() (*UserPlaneIPResourceInformationFields, error)
UserPlaneIPResourceInformation returns UserPlaneIPResourceInformation in *UserPlaneIPResourceInformationFields if the type of IE matches.
func (*IE) UserPlaneInactivityTimer ¶
UserPlaneInactivityTimer returns UserPlaneInactivityTimer in time.Duration if the type of IE matches.
func (*IE) UserPlanePathFailureReport ¶
UserPlanePathFailureReport returns the IEs above UserPlanePathFailureReport if the type of IE matches.
func (*IE) UserPlanePathRecoveryReport ¶
UserPlanePathRecoveryReport returns the IEs above UserPlanePathRecoveryReport if the type of IE matches.
func (*IE) ValidateApplyAction ¶ added in v0.0.19
ValidateApplyAction can be used to facilitate the detection of some inconsistencies in Apply Action flags. Its use is optional because validation could also be done on upper layers, or completely skipped for testing purposes.
func (*IE) ValidityTimer ¶ added in v0.0.10
ValidityTimer returns ValidityTimer in time.Duration if the type of IE matches.
func (*IE) ValueAsFQDN ¶ added in v0.0.22
ValueAsFQDN returns the value of IE as string, decoded as FQDN.
func (*IE) ValueAsGrouped ¶ added in v0.0.22
ValueAsGrouped returns the value of IE as grouped IE.
This method returns the ChildIEs field if it is already parsed. Otherwise, it parses the Payload field and returns the result.
It is recommended to access the ChildIEs field directly if you know the payload is already parsed and not modified. If you need to parse the payload anyway, use the `<IE-Name>()` method instead, which disregards the ChildIEs field.
For vendor-specific IE, this method tries to parse as grouped IE. If it fails, it returns error.
func (*IE) ValueAsString ¶ added in v0.0.22
ValueAsString returns the value of IE as string.
func (*IE) ValueAsUint16 ¶ added in v0.0.22
ValueAsUint16 returns the value of IE as uint16.
func (*IE) ValueAsUint32 ¶ added in v0.0.22
ValueAsUint32 returns the value of IE as uint32.
func (*IE) ValueAsUint64 ¶ added in v0.0.22
ValueAsUint64 returns the value of IE as uint64.
func (*IE) ValueAsUint8 ¶ added in v0.0.22
ValueAsUint8 returns the value of IE as uint8.
func (*IE) ValueDigits ¶
ValueDigits returns ValueDigits in uint64 if the type of IE matches.
func (*IE) VolumeMeasurement ¶
func (i *IE) VolumeMeasurement() (*VolumeMeasurementFields, error)
VolumeMeasurement returns VolumeMeasurement in structured format if the type of IE matches.
func (*IE) VolumeQuota ¶
func (i *IE) VolumeQuota() (*VolumeQuotaFields, error)
VolumeQuota returns VolumeQuota in structured format if the type of IE matches.
func (*IE) VolumeThreshold ¶
func (i *IE) VolumeThreshold() (*VolumeThresholdFields, error)
VolumeThreshold returns VolumeThreshold in structured format if the type of IE matches.
type IPMulticastAddressFields ¶
type IPMulticastAddressFields struct { Flags uint8 StartIPv4Address net.IP StartIPv6Address net.IP EndIPv4Address net.IP EndIPv6Address net.IP }
IPMulticastAddressFields represents a fields contained in IPMulticastAddress IE.
func NewIPMulticastAddressFields ¶
func NewIPMulticastAddressFields(sv4, sv6, ev4, ev6 net.IP) *IPMulticastAddressFields
NewIPMulticastAddressFields creates a new NewIPMulticastAddressFields.
func ParseIPMulticastAddressFields ¶
func ParseIPMulticastAddressFields(b []byte) (*IPMulticastAddressFields, error)
ParseIPMulticastAddressFields parses b into IPMulticastAddressFields.
func (*IPMulticastAddressFields) HasAny ¶
func (f *IPMulticastAddressFields) HasAny() bool
HasAny reports whether Any flag is set.
func (*IPMulticastAddressFields) HasIPv4 ¶
func (f *IPMulticastAddressFields) HasIPv4() bool
HasIPv4 reports whether IPv4 flag is set.
func (*IPMulticastAddressFields) HasIPv6 ¶
func (f *IPMulticastAddressFields) HasIPv6() bool
HasIPv6 reports whether IPv6 flag is set.
func (*IPMulticastAddressFields) HasRange ¶
func (f *IPMulticastAddressFields) HasRange() bool
HasRange reports whether Range flag is set.
func (*IPMulticastAddressFields) Marshal ¶
func (f *IPMulticastAddressFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of IPMulticastAddressFields.
func (*IPMulticastAddressFields) MarshalLen ¶
func (f *IPMulticastAddressFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*IPMulticastAddressFields) MarshalTo ¶
func (f *IPMulticastAddressFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*IPMulticastAddressFields) SetAnyFlag ¶
func (f *IPMulticastAddressFields) SetAnyFlag()
SetAnyFlag sets Any flag in IPMulticastAddress.
func (*IPMulticastAddressFields) SetIPv4Flag ¶
func (f *IPMulticastAddressFields) SetIPv4Flag()
SetIPv4Flag sets IPv4 flag in IPMulticastAddress.
func (*IPMulticastAddressFields) SetIPv6Flag ¶
func (f *IPMulticastAddressFields) SetIPv6Flag()
SetIPv6Flag sets IPv6 flag in IPMulticastAddress.
func (*IPMulticastAddressFields) SetRangeFlag ¶
func (f *IPMulticastAddressFields) SetRangeFlag()
SetRangeFlag sets Range flag in IPMulticastAddress.
func (*IPMulticastAddressFields) UnmarshalBinary ¶
func (f *IPMulticastAddressFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type InvalidNodeIDError ¶
type InvalidNodeIDError struct {
ID uint8
}
InvalidNodeIDError indicates the NodeID value is invalid.
func (*InvalidNodeIDError) Error ¶
func (e *InvalidNodeIDError) Error() string
Error returns message with the invalid NodeID given.
type InvalidTypeError ¶
type InvalidTypeError struct {
Type uint16
}
InvalidTypeError indicates the type of IE is invalid.
func (*InvalidTypeError) Error ¶
func (e *InvalidTypeError) Error() string
Error returns message with the invalid type given.
type MACAddressFields ¶
type MACAddressFields struct { Flags uint8 SourceMACAddress net.HardwareAddr DestinationMACAddress net.HardwareAddr UpperSourceMACAddress net.HardwareAddr UpperDestinationMACAddress net.HardwareAddr }
MACAddressFields represents a fields contained in MACAddress IE.
func NewMACAddressFields ¶
func NewMACAddressFields(src, dst, upperSrc, upperDst net.HardwareAddr) *MACAddressFields
NewMACAddressFields creates a new NewMACAddressFields.
func ParseMACAddressFields ¶
func ParseMACAddressFields(b []byte) (*MACAddressFields, error)
ParseMACAddressFields parses b into MACAddressFields.
func (*MACAddressFields) HasDEST ¶
func (f *MACAddressFields) HasDEST() bool
HasDEST reports whether DEST flag is set.
func (*MACAddressFields) HasSOUR ¶
func (f *MACAddressFields) HasSOUR() bool
HasSOUR reports whether SOUR flag is set.
func (*MACAddressFields) HasUDES ¶
func (f *MACAddressFields) HasUDES() bool
HasUDES reports whether UDES flag is set.
func (*MACAddressFields) HasUSOU ¶
func (f *MACAddressFields) HasUSOU() bool
HasUSOU reports whether USOU flag is set.
func (*MACAddressFields) Marshal ¶
func (f *MACAddressFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of MACAddressFields.
func (*MACAddressFields) MarshalLen ¶
func (f *MACAddressFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*MACAddressFields) MarshalTo ¶
func (f *MACAddressFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*MACAddressFields) SetDESTFlag ¶
func (f *MACAddressFields) SetDESTFlag()
SetDESTFlag sets DEST flag in MACAddress.
func (*MACAddressFields) SetSOURFlag ¶
func (f *MACAddressFields) SetSOURFlag()
SetSOURFlag sets SOUR flag in MACAddress.
func (*MACAddressFields) SetUDESFlag ¶
func (f *MACAddressFields) SetUDESFlag()
SetUDESFlag sets UDES flag in MACAddress.
func (*MACAddressFields) SetUSOUFlag ¶
func (f *MACAddressFields) SetUSOUFlag()
SetUSOUFlag sets USOU flag in MACAddress.
func (*MACAddressFields) UnmarshalBinary ¶
func (f *MACAddressFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type MACAddressesDetectedFields ¶
type MACAddressesDetectedFields struct { NumberOfMACAddresses uint8 MACAddresses []net.HardwareAddr CTAGLength uint8 CTAG []byte STAGLength uint8 STAG []byte }
MACAddressesDetectedFields represents a fields contained in MACAddressesDetected IE.
func NewMACAddressesDetectedFields ¶
func NewMACAddressesDetectedFields(ctag, stag *IE, macs ...net.HardwareAddr) *MACAddressesDetectedFields
NewMACAddressesDetectedFields creates a new NewMACAddressesDetectedFields.
func ParseMACAddressesDetectedFields ¶
func ParseMACAddressesDetectedFields(b []byte) (*MACAddressesDetectedFields, error)
ParseMACAddressesDetectedFields parses b into MACAddressesDetectedFields.
func (*MACAddressesDetectedFields) Marshal ¶
func (f *MACAddressesDetectedFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of MACAddressesDetectedFields.
func (*MACAddressesDetectedFields) MarshalLen ¶
func (f *MACAddressesDetectedFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*MACAddressesDetectedFields) MarshalTo ¶
func (f *MACAddressesDetectedFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*MACAddressesDetectedFields) UnmarshalBinary ¶
func (f *MACAddressesDetectedFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type MACAddressesRemovedFields ¶
type MACAddressesRemovedFields struct { NumberOfMACAddresses uint8 MACAddresses []net.HardwareAddr CTAGLength uint8 CTAG []byte STAGLength uint8 STAG []byte }
MACAddressesRemovedFields represents a fields contained in MACAddressesRemoved IE.
func NewMACAddressesRemovedFields ¶
func NewMACAddressesRemovedFields(ctag, stag *IE, macs ...net.HardwareAddr) *MACAddressesRemovedFields
NewMACAddressesRemovedFields creates a new NewMACAddressesRemovedFields.
func ParseMACAddressesRemovedFields ¶
func ParseMACAddressesRemovedFields(b []byte) (*MACAddressesRemovedFields, error)
ParseMACAddressesRemovedFields parses b into MACAddressesRemovedFields.
func (*MACAddressesRemovedFields) Marshal ¶
func (f *MACAddressesRemovedFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of MACAddressesRemovedFields.
func (*MACAddressesRemovedFields) MarshalLen ¶
func (f *MACAddressesRemovedFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*MACAddressesRemovedFields) MarshalTo ¶
func (f *MACAddressesRemovedFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*MACAddressesRemovedFields) UnmarshalBinary ¶
func (f *MACAddressesRemovedFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type MPTCPAddressInformationFields ¶
type MPTCPAddressInformationFields struct { Flags uint8 MPTCPProxyType uint8 MPTCPProxyPort uint16 MPTCPIPv4Address net.IP MPTCPIPv6Address net.IP }
MPTCPAddressInformationFields represents a fields contained in MPTCPAddressInformation IE.
func NewMPTCPAddressInformationFields ¶
func NewMPTCPAddressInformationFields(ptype uint8, port uint16, v4, v6 net.IP) *MPTCPAddressInformationFields
NewMPTCPAddressInformationFields creates a new NewMPTCPAddressInformationFields.
func ParseMPTCPAddressInformationFields ¶
func ParseMPTCPAddressInformationFields(b []byte) (*MPTCPAddressInformationFields, error)
ParseMPTCPAddressInformationFields parses b into MPTCPAddressInformationFields.
func (*MPTCPAddressInformationFields) HasIPv4 ¶
func (f *MPTCPAddressInformationFields) HasIPv4() bool
HasIPv4 reports whether IPv4 flag is set.
func (*MPTCPAddressInformationFields) HasIPv6 ¶
func (f *MPTCPAddressInformationFields) HasIPv6() bool
HasIPv6 reports whether IPv6 flag is set.
func (*MPTCPAddressInformationFields) Marshal ¶
func (f *MPTCPAddressInformationFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of MPTCPAddressInformationFields.
func (*MPTCPAddressInformationFields) MarshalLen ¶
func (f *MPTCPAddressInformationFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*MPTCPAddressInformationFields) MarshalTo ¶
func (f *MPTCPAddressInformationFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*MPTCPAddressInformationFields) SetIPv4Flag ¶
func (f *MPTCPAddressInformationFields) SetIPv4Flag()
SetIPv4Flag sets IPv4 flag in MPTCPAddressInformation.
func (*MPTCPAddressInformationFields) SetIPv6Flag ¶
func (f *MPTCPAddressInformationFields) SetIPv6Flag()
SetIPv6Flag sets IPv6 flag in MPTCPAddressInformation.
func (*MPTCPAddressInformationFields) UnmarshalBinary ¶
func (f *MPTCPAddressInformationFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type NumberOfUEIPAddressesFields ¶ added in v0.0.10
type NumberOfUEIPAddressesFields struct { Flags uint8 NumberOfUEIPv4Addresses uint32 NumberOfUEIPv6Addresses uint32 }
NumberOfUEIPAddressesFields represents a fields contained in NumberOfUEIPAddresses IE.
func NewNumberOfUEIPAddressesFields ¶ added in v0.0.10
func NewNumberOfUEIPAddressesFields(flags uint8, v4, v6 uint32) *NumberOfUEIPAddressesFields
NewNumberOfUEIPAddressesFields creates a new NewNumberOfUEIPAddressesFields.
func ParseNumberOfUEIPAddressesFields ¶ added in v0.0.10
func ParseNumberOfUEIPAddressesFields(b []byte) (*NumberOfUEIPAddressesFields, error)
ParseNumberOfUEIPAddressesFields parses b into NumberOfUEIPAddressesFields.
func (*NumberOfUEIPAddressesFields) HasNumIPv4 ¶ added in v0.0.10
func (f *NumberOfUEIPAddressesFields) HasNumIPv4() bool
HasNumIPv4 reports whether IPv4 flag is set.
func (*NumberOfUEIPAddressesFields) HasNumIPv6 ¶ added in v0.0.10
func (f *NumberOfUEIPAddressesFields) HasNumIPv6() bool
HasNumIPv6 reports whether IPv6 flag is set.
func (*NumberOfUEIPAddressesFields) Marshal ¶ added in v0.0.10
func (f *NumberOfUEIPAddressesFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of NumberOfUEIPAddressesFields.
func (*NumberOfUEIPAddressesFields) MarshalLen ¶ added in v0.0.10
func (f *NumberOfUEIPAddressesFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*NumberOfUEIPAddressesFields) MarshalTo ¶ added in v0.0.10
func (f *NumberOfUEIPAddressesFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*NumberOfUEIPAddressesFields) SetIPv4Flag ¶ added in v0.0.10
func (f *NumberOfUEIPAddressesFields) SetIPv4Flag()
SetIPv4Flag sets IPv4 flag in NumberOfUEIPAddresses.
func (*NumberOfUEIPAddressesFields) SetIPv6Flag ¶ added in v0.0.10
func (f *NumberOfUEIPAddressesFields) SetIPv6Flag()
SetIPv6Flag sets IPv6 flag in NumberOfUEIPAddresses.
func (*NumberOfUEIPAddressesFields) UnmarshalBinary ¶ added in v0.0.10
func (f *NumberOfUEIPAddressesFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type OuterHeaderCreationFields ¶
type OuterHeaderCreationFields struct { OuterHeaderCreationDescription uint16 TEID uint32 IPv4Address net.IP IPv6Address net.IP PortNumber uint16 CTag uint32 STag uint32 }
OuterHeaderCreationFields represents a fields contained in OuterHeaderCreation IE.
func NewOuterHeaderCreationFields ¶
func NewOuterHeaderCreationFields(desc uint16, teid uint32, v4, v6 string, port uint16, ctag, stag uint32) *OuterHeaderCreationFields
NewOuterHeaderCreationFields creates a new OuterHeaderCreationFields.
func ParseOuterHeaderCreationFields ¶
func ParseOuterHeaderCreationFields(b []byte) (*OuterHeaderCreationFields, error)
ParseOuterHeaderCreationFields parses b into OuterHeaderCreationFields.
func (*OuterHeaderCreationFields) HasCTag ¶ added in v0.0.16
func (f *OuterHeaderCreationFields) HasCTag() bool
HasCTag reports wether C-TAG field is set.
func (*OuterHeaderCreationFields) HasIPv4 ¶ added in v0.0.16
func (f *OuterHeaderCreationFields) HasIPv4() bool
HasIPv4 reports wether IPv4 Address field is set.
func (*OuterHeaderCreationFields) HasIPv6 ¶ added in v0.0.16
func (f *OuterHeaderCreationFields) HasIPv6() bool
HasIPv6 reports wether IPv6 Address field is set.
func (*OuterHeaderCreationFields) HasPortNumber ¶ added in v0.0.16
func (f *OuterHeaderCreationFields) HasPortNumber() bool
HasPortNumber reports wether Port Number field is set.
func (*OuterHeaderCreationFields) HasSTag ¶ added in v0.0.16
func (f *OuterHeaderCreationFields) HasSTag() bool
HasSTag reports wether S-TAG field is set.
func (*OuterHeaderCreationFields) HasTEID ¶ added in v0.0.16
func (f *OuterHeaderCreationFields) HasTEID() bool
HasTEID reports wether TEID field is set.
func (*OuterHeaderCreationFields) IsLLSSMCTEID ¶ added in v0.0.16
func (f *OuterHeaderCreationFields) IsLLSSMCTEID() bool
IsLLSSMCTEID reports wether Outer Header Creation Description has Low Layer SSM and C-TEID This bit has been introduced in release 17.2
func (*OuterHeaderCreationFields) IsN19 ¶ added in v0.0.16
func (f *OuterHeaderCreationFields) IsN19() bool
IsN19 reports wether Outer Header Creation Description has N19 Indication.
func (*OuterHeaderCreationFields) IsN6 ¶ added in v0.0.16
func (f *OuterHeaderCreationFields) IsN6() bool
IsN6 reports wether Outer Header Creation Description has N9 Indication
func (*OuterHeaderCreationFields) Marshal ¶
func (f *OuterHeaderCreationFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of OuterHeaderCreationFields.
func (*OuterHeaderCreationFields) MarshalLen ¶
func (f *OuterHeaderCreationFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*OuterHeaderCreationFields) MarshalTo ¶
func (f *OuterHeaderCreationFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*OuterHeaderCreationFields) UnmarshalBinary ¶
func (f *OuterHeaderCreationFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type PFDContentsFields ¶
type PFDContentsFields struct { Flags uint8 FDLength uint16 FlowDescription string URLLength uint16 URL string DNLength uint16 DomainName string CPLength uint16 CustomPFDContent string DNPLength uint16 DomainNameProtocol string AFDLength uint16 AdditionalFlowDescription []string AURLLength uint16 AdditionalURL []string ADNPLength uint16 AdditionalDomainNameAndProtocol []string }
PFDContentsFields represents a fields contained in PFDContents IE.
func NewPFDContentsFields ¶
func NewPFDContentsFields(fd, url, dn, cp, dnp string, afd, aurl, adnp []string) *PFDContentsFields
NewPFDContentsFields creates a new NewPFDContentsFields.
func ParsePFDContentsFields ¶
func ParsePFDContentsFields(b []byte) (*PFDContentsFields, error)
ParsePFDContentsFields parses b into PFDContentsFields.
func (*PFDContentsFields) HasADNP ¶
func (f *PFDContentsFields) HasADNP() bool
HasADNP reports whether ADNP flag is set.
func (*PFDContentsFields) HasAFD ¶
func (f *PFDContentsFields) HasAFD() bool
HasAFD reports whether AFD flag is set.
func (*PFDContentsFields) HasAURL ¶
func (f *PFDContentsFields) HasAURL() bool
HasAURL reports whether AURL flag is set.
func (*PFDContentsFields) HasCP ¶
func (f *PFDContentsFields) HasCP() bool
HasCP reports whether CP flag is set.
func (*PFDContentsFields) HasDN ¶
func (f *PFDContentsFields) HasDN() bool
HasDN reports whether DN flag is set.
func (*PFDContentsFields) HasDNP ¶
func (f *PFDContentsFields) HasDNP() bool
HasDNP reports whether DNP flag is set.
func (*PFDContentsFields) HasFD ¶
func (f *PFDContentsFields) HasFD() bool
HasFD reports whether FD flag is set.
func (*PFDContentsFields) HasURL ¶
func (f *PFDContentsFields) HasURL() bool
HasURL reports whether URL flag is set.
func (*PFDContentsFields) Marshal ¶
func (f *PFDContentsFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of PFDContentsFields.
func (*PFDContentsFields) MarshalLen ¶
func (f *PFDContentsFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*PFDContentsFields) MarshalTo ¶
func (f *PFDContentsFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*PFDContentsFields) SetADNPFlag ¶
func (f *PFDContentsFields) SetADNPFlag()
SetADNPFlag sets ADNP flag in PFDContents.
func (*PFDContentsFields) SetAFDFlag ¶
func (f *PFDContentsFields) SetAFDFlag()
SetAFDFlag sets AFD flag in PFDContents.
func (*PFDContentsFields) SetAURLFlag ¶
func (f *PFDContentsFields) SetAURLFlag()
SetAURLFlag sets AURL flag in PFDContents.
func (*PFDContentsFields) SetCPFlag ¶
func (f *PFDContentsFields) SetCPFlag()
SetCPFlag sets CP flag in PFDContents.
func (*PFDContentsFields) SetDNFlag ¶
func (f *PFDContentsFields) SetDNFlag()
SetDNFlag sets DN flag in PFDContents.
func (*PFDContentsFields) SetDNPFlag ¶
func (f *PFDContentsFields) SetDNPFlag()
SetDNPFlag sets DNP flag in PFDContents.
func (*PFDContentsFields) SetFDFlag ¶
func (f *PFDContentsFields) SetFDFlag()
SetFDFlag sets FD flag in PFDContents.
func (*PFDContentsFields) SetURLFlag ¶
func (f *PFDContentsFields) SetURLFlag()
SetURLFlag sets URL flag in PFDContents.
func (*PFDContentsFields) UnmarshalBinary ¶
func (f *PFDContentsFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type PMFAddressInformationFields ¶
type PMFAddressInformationFields struct { Flags uint8 PMFIPv4Address net.IP PMFIPv6Address net.IP PMFPortFor3GPPAccess uint16 PMFPortForNon3GPPAccess uint16 PMFMACAddressFor3GPPAccess net.HardwareAddr PMFMACAddressForNon3GPPAccess net.HardwareAddr }
PMFAddressInformationFields represents a fields contained in PMFAddressInformation IE.
func NewPMFAddressInformationFields ¶
func NewPMFAddressInformationFields(v4, v6 net.IP, port1, port2 uint16, mac1, mac2 net.HardwareAddr) *PMFAddressInformationFields
NewPMFAddressInformationFields creates a new NewPMFAddressInformationFields.
func ParsePMFAddressInformationFields ¶
func ParsePMFAddressInformationFields(b []byte) (*PMFAddressInformationFields, error)
ParsePMFAddressInformationFields parses b into PMFAddressInformationFields.
func (*PMFAddressInformationFields) HasIPv4 ¶
func (f *PMFAddressInformationFields) HasIPv4() bool
HasIPv4 reports whether IPv4 flag is set.
func (*PMFAddressInformationFields) HasIPv6 ¶
func (f *PMFAddressInformationFields) HasIPv6() bool
HasIPv6 reports whether IPv6 flag is set.
func (*PMFAddressInformationFields) HasMAC ¶
func (f *PMFAddressInformationFields) HasMAC() bool
HasMAC reports whether MAC flag is set.
func (*PMFAddressInformationFields) Marshal ¶
func (f *PMFAddressInformationFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of PMFAddressInformationFields.
func (*PMFAddressInformationFields) MarshalLen ¶
func (f *PMFAddressInformationFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*PMFAddressInformationFields) MarshalTo ¶
func (f *PMFAddressInformationFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*PMFAddressInformationFields) SetIPv4Flag ¶
func (f *PMFAddressInformationFields) SetIPv4Flag()
SetIPv4Flag sets IPv4 flag in PMFAddressInformation.
func (*PMFAddressInformationFields) SetIPv6Flag ¶
func (f *PMFAddressInformationFields) SetIPv6Flag()
SetIPv6Flag sets IPv6 flag in PMFAddressInformation.
func (*PMFAddressInformationFields) SetMACFlag ¶
func (f *PMFAddressInformationFields) SetMACFlag()
SetMACFlag sets MAC flag in PMFAddressInformation.
func (*PMFAddressInformationFields) UnmarshalBinary ¶
func (f *PMFAddressInformationFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type PacketDelayThresholdsFields ¶
type PacketDelayThresholdsFields struct { Flags uint8 DownlinkPacketDelayThresholds uint32 UplinkPacketDelayThresholds uint32 RoundTripPacketDelayThresholds uint32 }
PacketDelayThresholdsFields represents a fields contained in PacketDelayThresholds IE.
func NewPacketDelayThresholdsFields ¶
func NewPacketDelayThresholdsFields(flags uint8, dl, ul, rp uint32) *PacketDelayThresholdsFields
NewPacketDelayThresholdsFields creates a new NewPacketDelayThresholdsFields.
func ParsePacketDelayThresholdsFields ¶
func ParsePacketDelayThresholdsFields(b []byte) (*PacketDelayThresholdsFields, error)
ParsePacketDelayThresholdsFields parses b into PacketDelayThresholdsFields.
func (*PacketDelayThresholdsFields) HasDL ¶
func (f *PacketDelayThresholdsFields) HasDL() bool
HasDL reports whether DL flag is set.
func (*PacketDelayThresholdsFields) HasRP ¶
func (f *PacketDelayThresholdsFields) HasRP() bool
HasRP reports whether RP flag is set.
func (*PacketDelayThresholdsFields) HasUL ¶
func (f *PacketDelayThresholdsFields) HasUL() bool
HasUL reports whether UL flag is set.
func (*PacketDelayThresholdsFields) Marshal ¶
func (f *PacketDelayThresholdsFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of PacketDelayThresholdsFields.
func (*PacketDelayThresholdsFields) MarshalLen ¶
func (f *PacketDelayThresholdsFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*PacketDelayThresholdsFields) MarshalTo ¶
func (f *PacketDelayThresholdsFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*PacketDelayThresholdsFields) SetDLFlag ¶
func (f *PacketDelayThresholdsFields) SetDLFlag()
SetDLFlag sets DL flag in PacketDelayThresholds.
func (*PacketDelayThresholdsFields) SetRPFlag ¶
func (f *PacketDelayThresholdsFields) SetRPFlag()
SetRPFlag sets RP flag in PacketDelayThresholds.
func (*PacketDelayThresholdsFields) SetULFlag ¶
func (f *PacketDelayThresholdsFields) SetULFlag()
SetULFlag sets UL flag in PacketDelayThresholds.
func (*PacketDelayThresholdsFields) UnmarshalBinary ¶
func (f *PacketDelayThresholdsFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type PacketRateFields ¶
type PacketRateFields struct { Flags uint8 UplinkTimeUnit uint8 DownlinkTimeUnit uint8 UplinkPacketRate uint16 DownlinkPacketRate uint16 }
PacketRateFields represents a fields contained in PacketRate IE.
func NewPacketRateFields ¶
func NewPacketRateFields(flags uint8, ulunit uint8, ulpackets uint16, dlunit uint8, dlpackets uint16) *PacketRateFields
NewPacketRateFields creates a new PacketRateFields.
func ParsePacketRateFields ¶
func ParsePacketRateFields(b []byte) (*PacketRateFields, error)
ParsePacketRateFields parses b into PacketRateFields.
func (*PacketRateFields) Marshal ¶
func (f *PacketRateFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of PacketRateFields.
func (*PacketRateFields) MarshalLen ¶
func (f *PacketRateFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*PacketRateFields) MarshalTo ¶
func (f *PacketRateFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*PacketRateFields) UnmarshalBinary ¶
func (f *PacketRateFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type PacketRateStatusFields ¶
type PacketRateStatusFields struct { Flags uint8 NumberOfRemainingUplinkPacketsAllowed uint16 NumberOfRemainingAdditionalUplinkPacketsAllowed uint16 NumberOfRemainingDownlinkPacketsAllowed uint16 NumberOfRemainingAdditionalDownlinkPacketsAllowed uint16 RateControlStatusValidityTime time.Time }
PacketRateStatusFields represents a f contained in PacketRateStatus IE.
func NewPacketRateStatusFields ¶
func NewPacketRateStatusFields(flags uint8, ul, aul, dl, adl uint16, vtime time.Time) *PacketRateStatusFields
NewPacketRateStatusFields creates a new NewPacketRateStatusFields.
func ParsePacketRateStatusFields ¶
func ParsePacketRateStatusFields(b []byte) (*PacketRateStatusFields, error)
ParsePacketRateStatusFields parses b into PacketRateStatusFields.
func (*PacketRateStatusFields) HasAPR ¶
func (f *PacketRateStatusFields) HasAPR() bool
HasAPR reports whether APR flag is set.
func (*PacketRateStatusFields) HasDL ¶
func (f *PacketRateStatusFields) HasDL() bool
HasDL reports whether DL flag is set.
func (*PacketRateStatusFields) HasUL ¶
func (f *PacketRateStatusFields) HasUL() bool
HasUL reports whether UL flag is set.
func (*PacketRateStatusFields) Marshal ¶
func (f *PacketRateStatusFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of PacketRateStatusFields.
func (*PacketRateStatusFields) MarshalLen ¶
func (f *PacketRateStatusFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*PacketRateStatusFields) MarshalTo ¶
func (f *PacketRateStatusFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*PacketRateStatusFields) SetAPRFlag ¶
func (f *PacketRateStatusFields) SetAPRFlag()
SetAPRFlag sets APR flag in PacketRateStatus.
func (*PacketRateStatusFields) SetDLFlag ¶
func (f *PacketRateStatusFields) SetDLFlag()
SetDLFlag sets DL flag in PacketRateStatus.
func (*PacketRateStatusFields) SetULFlag ¶
func (f *PacketRateStatusFields) SetULFlag()
SetULFlag sets UL flag in PacketRateStatus.
func (*PacketRateStatusFields) UnmarshalBinary ¶
func (f *PacketRateStatusFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type QoSMonitoringMeasurementFields ¶
type QoSMonitoringMeasurementFields struct { Flags uint8 DownlinkPacketDelay uint32 UplinkPacketDelay uint32 RoundTripPacketDelay uint32 }
QoSMonitoringMeasurementFields represents a fields contained in QoSMonitoringMeasurement IE.
func NewQoSMonitoringMeasurementFields ¶
func NewQoSMonitoringMeasurementFields(flags uint8, dl, ul, rp uint32) *QoSMonitoringMeasurementFields
NewQoSMonitoringMeasurementFields creates a new NewQoSMonitoringMeasurementFields.
func ParseQoSMonitoringMeasurementFields ¶
func ParseQoSMonitoringMeasurementFields(b []byte) (*QoSMonitoringMeasurementFields, error)
ParseQoSMonitoringMeasurementFields parses b into QoSMonitoringMeasurementFields.
func (*QoSMonitoringMeasurementFields) HasDL ¶
func (f *QoSMonitoringMeasurementFields) HasDL() bool
HasDL reports whether DL flag is set.
func (*QoSMonitoringMeasurementFields) HasPLMF ¶
func (f *QoSMonitoringMeasurementFields) HasPLMF() bool
HasPLMF reports whether PLMF flag is set.
func (*QoSMonitoringMeasurementFields) HasRP ¶
func (f *QoSMonitoringMeasurementFields) HasRP() bool
HasRP reports whether RP flag is set.
func (*QoSMonitoringMeasurementFields) HasUL ¶
func (f *QoSMonitoringMeasurementFields) HasUL() bool
HasUL reports whether UL flag is set.
func (*QoSMonitoringMeasurementFields) Marshal ¶
func (f *QoSMonitoringMeasurementFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of QoSMonitoringMeasurementFields.
func (*QoSMonitoringMeasurementFields) MarshalLen ¶
func (f *QoSMonitoringMeasurementFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*QoSMonitoringMeasurementFields) MarshalTo ¶
func (f *QoSMonitoringMeasurementFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*QoSMonitoringMeasurementFields) SetDLFlag ¶
func (f *QoSMonitoringMeasurementFields) SetDLFlag()
SetDLFlag sets DL flag in QoSMonitoringMeasurement.
func (*QoSMonitoringMeasurementFields) SetPLMFFlag ¶
func (f *QoSMonitoringMeasurementFields) SetPLMFFlag()
SetPLMFFlag sets PLMF flag in QoSMonitoringMeasurement.
func (*QoSMonitoringMeasurementFields) SetRPFlag ¶
func (f *QoSMonitoringMeasurementFields) SetRPFlag()
SetRPFlag sets RP flag in QoSMonitoringMeasurement.
func (*QoSMonitoringMeasurementFields) SetULFlag ¶
func (f *QoSMonitoringMeasurementFields) SetULFlag()
SetULFlag sets UL flag in QoSMonitoringMeasurement.
func (*QoSMonitoringMeasurementFields) UnmarshalBinary ¶
func (f *QoSMonitoringMeasurementFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type RedirectInformationFields ¶
type RedirectInformationFields struct { RedirectAddressType uint8 // half octet ServerAddrLength uint16 RedirectServerAddress string OtherServerAddrLength uint16 OtherRedirectServerAddress string }
RedirectInformationFields represents a fields contained in RedirectInformation IE.
func NewRedirectInformationFields ¶
func NewRedirectInformationFields(addrType uint8, addrs ...string) *RedirectInformationFields
NewRedirectInformationFields creates a new NewRedirectInformationFields.
You can put multiple addrs here, but the second one is used only when addrType is RedirectAddrIPv4AndIPv6. Third - nth addrs will never be used.
func ParseRedirectInformationFields ¶
func ParseRedirectInformationFields(b []byte) (*RedirectInformationFields, error)
ParseRedirectInformationFields parses b into RedirectInformationFields.
func (*RedirectInformationFields) Marshal ¶
func (f *RedirectInformationFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of RedirectInformationFields.
func (*RedirectInformationFields) MarshalLen ¶
func (f *RedirectInformationFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*RedirectInformationFields) MarshalTo ¶
func (f *RedirectInformationFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*RedirectInformationFields) UnmarshalBinary ¶
func (f *RedirectInformationFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type RemoteGTPUPeerFields ¶
type RemoteGTPUPeerFields struct { Flags uint8 IPv4Address net.IP IPv6Address net.IP DILength uint16 DestinationInterface uint8 NILength uint16 NetworkInstance string }
RemoteGTPUPeerFields represents a fields contained in RemoteGTPUPeer IE.
func NewRemoteGTPUPeerFields ¶
func NewRemoteGTPUPeerFields(flags uint8, v4, v6 string, di uint8, ni string) *RemoteGTPUPeerFields
NewRemoteGTPUPeerFields creates a new RemoteGTPUPeerFields.
func ParseRemoteGTPUPeerFields ¶
func ParseRemoteGTPUPeerFields(b []byte) (*RemoteGTPUPeerFields, error)
ParseRemoteGTPUPeerFields parses b into RemoteGTPUPeerFields.
func (*RemoteGTPUPeerFields) Marshal ¶
func (f *RemoteGTPUPeerFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of RemoteGTPUPeerFields.
func (*RemoteGTPUPeerFields) MarshalLen ¶
func (f *RemoteGTPUPeerFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*RemoteGTPUPeerFields) MarshalTo ¶
func (f *RemoteGTPUPeerFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*RemoteGTPUPeerFields) UnmarshalBinary ¶
func (f *RemoteGTPUPeerFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type SDFFilterFields ¶
type SDFFilterFields struct { Flags uint8 FDLength uint16 FlowDescription string ToSTrafficClass string // 2 octets SecurityParameterIndex string // 4 octets FlowLabel string // 3 octets SDFFilterID uint32 }
SDFFilterFields represents a fields contained in SDFFilter IE.
func NewSDFFilterFields ¶
func NewSDFFilterFields(fd, ttc, spi, fl string, fid uint32) *SDFFilterFields
NewSDFFilterFields creates a new NewSDFFilterFields.
func ParseSDFFilterFields ¶
func ParseSDFFilterFields(b []byte) (*SDFFilterFields, error)
ParseSDFFilterFields parses b into SDFFilterFields.
func (*SDFFilterFields) HasBID ¶
func (f *SDFFilterFields) HasBID() bool
HasBID reports whether BID flag is set.
func (*SDFFilterFields) HasFD ¶
func (f *SDFFilterFields) HasFD() bool
HasFD reports whether FD flag is set.
func (*SDFFilterFields) HasFL ¶
func (f *SDFFilterFields) HasFL() bool
HasFL reports whether FL flag is set.
func (*SDFFilterFields) HasSPI ¶
func (f *SDFFilterFields) HasSPI() bool
HasSPI reports whether SPI flag is set.
func (*SDFFilterFields) HasTTC ¶
func (f *SDFFilterFields) HasTTC() bool
HasTTC reports whether TTC flag is set.
func (*SDFFilterFields) Marshal ¶
func (f *SDFFilterFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of SDFFilterFields.
func (*SDFFilterFields) MarshalLen ¶
func (f *SDFFilterFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*SDFFilterFields) MarshalTo ¶
func (f *SDFFilterFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*SDFFilterFields) SetBIDFlag ¶
func (f *SDFFilterFields) SetBIDFlag()
SetBIDFlag sets BID flag in SDFFilter.
func (*SDFFilterFields) SetFDFlag ¶
func (f *SDFFilterFields) SetFDFlag()
SetFDFlag sets FD flag in SDFFilter.
func (*SDFFilterFields) SetFLFlag ¶
func (f *SDFFilterFields) SetFLFlag()
SetFLFlag sets FL flag in SDFFilter.
func (*SDFFilterFields) SetSPIFlag ¶
func (f *SDFFilterFields) SetSPIFlag()
SetSPIFlag sets SPI flag in SDFFilter.
func (*SDFFilterFields) SetTTCFlag ¶
func (f *SDFFilterFields) SetTTCFlag()
SetTTCFlag sets TTC flag in SDFFilter.
func (*SDFFilterFields) UnmarshalBinary ¶
func (f *SDFFilterFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type STAGFields ¶
type STAGFields struct { Flags uint8 PCP uint8 // 3 bit DEIFlag uint8 // 1 bit CVID uint16 // 12 bit }
STAGFields represents a fields contained in STAG IE.
func NewSTAGFields ¶
func NewSTAGFields(flags, pcp, deiFlag uint8, cvid uint16) *STAGFields
NewSTAGFields creates a new NewSTAGFields.
func ParseSTAGFields ¶
func ParseSTAGFields(b []byte) (*STAGFields, error)
ParseSTAGFields parses b into STAGFields.
func (*STAGFields) HasDEI ¶
func (f *STAGFields) HasDEI() bool
HasDEI reports whether DEI flag is set.
func (*STAGFields) HasPCP ¶
func (f *STAGFields) HasPCP() bool
HasPCP reports whether PCP flag is set.
func (*STAGFields) HasVID ¶
func (f *STAGFields) HasVID() bool
HasVID reports whether VID flag is set.
func (*STAGFields) Marshal ¶
func (f *STAGFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of STAGFields.
func (*STAGFields) MarshalLen ¶
func (f *STAGFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*STAGFields) MarshalTo ¶
func (f *STAGFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*STAGFields) UnmarshalBinary ¶
func (f *STAGFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type SourceIPAddressFields ¶
type SourceIPAddressFields struct { Flags uint8 IPv4Address net.IP IPv6Address net.IP MaskPrefixLength uint8 }
SourceIPAddressFields represents a fields contained in SourceIPAddress IE.
func NewSourceIPAddressFields ¶
func NewSourceIPAddressFields(v4, v6 net.IP, mpl uint8) *SourceIPAddressFields
NewSourceIPAddressFields creates a new NewSourceIPAddressFields.
func ParseSourceIPAddressFields ¶
func ParseSourceIPAddressFields(b []byte) (*SourceIPAddressFields, error)
ParseSourceIPAddressFields parses b into SourceIPAddressFields.
func (*SourceIPAddressFields) HasIPv4 ¶
func (f *SourceIPAddressFields) HasIPv4() bool
HasIPv4 reports whether IPv4 flag is set.
func (*SourceIPAddressFields) HasIPv6 ¶
func (f *SourceIPAddressFields) HasIPv6() bool
HasIPv6 reports whether IPv6 flag is set.
func (*SourceIPAddressFields) HasMPL ¶
func (f *SourceIPAddressFields) HasMPL() bool
HasMPL reports whether MPL flag is set.
func (*SourceIPAddressFields) Marshal ¶
func (f *SourceIPAddressFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of SourceIPAddressFields.
func (*SourceIPAddressFields) MarshalLen ¶
func (f *SourceIPAddressFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*SourceIPAddressFields) MarshalTo ¶
func (f *SourceIPAddressFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*SourceIPAddressFields) SetIPv4Flag ¶
func (f *SourceIPAddressFields) SetIPv4Flag()
SetIPv4Flag sets IPv4 flag in SourceIPAddress.
func (*SourceIPAddressFields) SetIPv6Flag ¶
func (f *SourceIPAddressFields) SetIPv6Flag()
SetIPv6Flag sets IPv6 flag in SourceIPAddress.
func (*SourceIPAddressFields) SetMPLFlag ¶
func (f *SourceIPAddressFields) SetMPLFlag()
SetMPLFlag sets MPL flag in SourceIPAddress.
func (*SourceIPAddressFields) UnmarshalBinary ¶
func (f *SourceIPAddressFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type SubsequentVolumeQuotaFields ¶
type SubsequentVolumeQuotaFields struct { Flags uint8 TotalVolume uint64 UplinkVolume uint64 DownlinkVolume uint64 }
SubsequentVolumeQuotaFields represents a fields contained in SubsequentVolumeQuota IE.
func NewSubsequentVolumeQuotaFields ¶
func NewSubsequentVolumeQuotaFields(flags uint8, tvol, uvol, dvol uint64) *SubsequentVolumeQuotaFields
NewSubsequentVolumeQuotaFields creates a new NewSubsequentVolumeQuotaFields.
func ParseSubsequentVolumeQuotaFields ¶
func ParseSubsequentVolumeQuotaFields(b []byte) (*SubsequentVolumeQuotaFields, error)
ParseSubsequentVolumeQuotaFields parses b into SubsequentVolumeQuotaFields.
func (*SubsequentVolumeQuotaFields) HasDLVOL ¶
func (f *SubsequentVolumeQuotaFields) HasDLVOL() bool
HasDLVOL reports whether DLVOL flag is set.
func (*SubsequentVolumeQuotaFields) HasTOVOL ¶
func (f *SubsequentVolumeQuotaFields) HasTOVOL() bool
HasTOVOL reports whether TOVOL flag is set.
func (*SubsequentVolumeQuotaFields) HasULVOL ¶
func (f *SubsequentVolumeQuotaFields) HasULVOL() bool
HasULVOL reports whether ULVOL flag is set.
func (*SubsequentVolumeQuotaFields) Marshal ¶
func (f *SubsequentVolumeQuotaFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of SubsequentVolumeQuotaFields.
func (*SubsequentVolumeQuotaFields) MarshalLen ¶
func (f *SubsequentVolumeQuotaFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*SubsequentVolumeQuotaFields) MarshalTo ¶
func (f *SubsequentVolumeQuotaFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*SubsequentVolumeQuotaFields) SetDLVOLFlag ¶
func (f *SubsequentVolumeQuotaFields) SetDLVOLFlag()
SetDLVOLFlag sets DLVOL flag in SubsequentVolumeQuota.
func (*SubsequentVolumeQuotaFields) SetTOVOLFlag ¶
func (f *SubsequentVolumeQuotaFields) SetTOVOLFlag()
SetTOVOLFlag sets TOVOL flag in SubsequentVolumeQuota.
func (*SubsequentVolumeQuotaFields) SetULVOLFlag ¶
func (f *SubsequentVolumeQuotaFields) SetULVOLFlag()
SetULVOLFlag sets ULVOL flag in SubsequentVolumeQuota.
func (*SubsequentVolumeQuotaFields) UnmarshalBinary ¶
func (f *SubsequentVolumeQuotaFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type SubsequentVolumeThresholdFields ¶
type SubsequentVolumeThresholdFields struct { Flags uint8 TotalVolume uint64 UplinkVolume uint64 DownlinkVolume uint64 }
SubsequentVolumeThresholdFields represents a fields contained in SubsequentVolumeThreshold IE.
func NewSubsequentVolumeThresholdFields ¶
func NewSubsequentVolumeThresholdFields(flags uint8, tvol, uvol, dvol uint64) *SubsequentVolumeThresholdFields
NewSubsequentVolumeThresholdFields creates a new NewSubsequentVolumeThresholdFields.
func ParseSubsequentVolumeThresholdFields ¶
func ParseSubsequentVolumeThresholdFields(b []byte) (*SubsequentVolumeThresholdFields, error)
ParseSubsequentVolumeThresholdFields parses b into SubsequentVolumeThresholdFields.
func (*SubsequentVolumeThresholdFields) HasDLVOL ¶
func (f *SubsequentVolumeThresholdFields) HasDLVOL() bool
HasDLVOL reports whether DLVOL flag is set.
func (*SubsequentVolumeThresholdFields) HasTOVOL ¶
func (f *SubsequentVolumeThresholdFields) HasTOVOL() bool
HasTOVOL reports whether TOVOL flag is set.
func (*SubsequentVolumeThresholdFields) HasULVOL ¶
func (f *SubsequentVolumeThresholdFields) HasULVOL() bool
HasULVOL reports whether ULVOL flag is set.
func (*SubsequentVolumeThresholdFields) Marshal ¶
func (f *SubsequentVolumeThresholdFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of SubsequentVolumeThresholdFields.
func (*SubsequentVolumeThresholdFields) MarshalLen ¶
func (f *SubsequentVolumeThresholdFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*SubsequentVolumeThresholdFields) MarshalTo ¶
func (f *SubsequentVolumeThresholdFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*SubsequentVolumeThresholdFields) SetDLVOLFlag ¶
func (f *SubsequentVolumeThresholdFields) SetDLVOLFlag()
SetDLVOLFlag sets DLVOL flag in SubsequentVolumeThreshold.
func (*SubsequentVolumeThresholdFields) SetTOVOLFlag ¶
func (f *SubsequentVolumeThresholdFields) SetTOVOLFlag()
SetTOVOLFlag sets TOVOL flag in SubsequentVolumeThreshold.
func (*SubsequentVolumeThresholdFields) SetULVOLFlag ¶
func (f *SubsequentVolumeThresholdFields) SetULVOLFlag()
SetULVOLFlag sets ULVOL flag in SubsequentVolumeThreshold.
func (*SubsequentVolumeThresholdFields) UnmarshalBinary ¶
func (f *SubsequentVolumeThresholdFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type TraceInformationFields ¶
type TraceInformationFields struct {
MCC, MNC, TraceID string
TriggeringEventsLength uint8
TriggeringEvents []byte
SessionTraceDepth uint8
ListOfInterfacesLength uint8
ListOfInterfaces []byte
IPAddressOfTraceCollectionEntityLength uint8
IPAddressOfTraceCollectionEntity net.IP
}
TraceInformationFields represents a fields contained in TraceInformation IE.
func NewTraceInformationFields ¶
func NewTraceInformationFields(mcc, mnc, id string, events []byte, depth uint8, interfaces []byte, ip net.IP) *TraceInformationFields
NewTraceInformationFields creates a new NewTraceInformationFields.
func ParseTraceInformationFields ¶
func ParseTraceInformationFields(b []byte) (*TraceInformationFields, error)
ParseTraceInformationFields parses b into TraceInformationFields.
func (*TraceInformationFields) Marshal ¶
func (f *TraceInformationFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of TraceInformationFields.
func (*TraceInformationFields) MarshalLen ¶
func (f *TraceInformationFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*TraceInformationFields) MarshalTo ¶
func (f *TraceInformationFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*TraceInformationFields) UnmarshalBinary ¶
func (f *TraceInformationFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type UEIPAddressFields ¶
type UEIPAddressFields struct { Flags uint8 IPv4Address net.IP IPv6Address net.IP IPv6PrefixDelegationBits uint8 IPv6PrefixLength uint8 }
UEIPAddressFields represents a fields contained in UEIPAddress IE.
func NewUEIPAddressFields ¶
func NewUEIPAddressFields(flags uint8, v4, v6 string, v6d, v6pl uint8) *UEIPAddressFields
NewUEIPAddressFields creates a new UEIPAddressFields.
func ParseUEIPAddressFields ¶
func ParseUEIPAddressFields(b []byte) (*UEIPAddressFields, error)
ParseUEIPAddressFields parses b into UEIPAddressFields.
func (*UEIPAddressFields) Marshal ¶
func (f *UEIPAddressFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of UEIPAddressFields.
func (*UEIPAddressFields) MarshalLen ¶
func (f *UEIPAddressFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*UEIPAddressFields) MarshalTo ¶
func (f *UEIPAddressFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*UEIPAddressFields) UnmarshalBinary ¶
func (f *UEIPAddressFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type UELinkSpecificIPAddressFields ¶
type UELinkSpecificIPAddressFields struct { Flags uint8 UELinkSpecificIPv4AddressFor3GPPAccess net.IP UELinkSpecificIPv6AddressFor3GPPAccess net.IP UELinkSpecificIPv4AddressForNon3GPPAccess net.IP UELinkSpecificIPv6AddressForNon3GPPAccess net.IP }
UELinkSpecificIPAddressFields represents a fields contained in UELinkSpecificIPAddress IE.
func NewUELinkSpecificIPAddressFields ¶
func NewUELinkSpecificIPAddressFields(v4, v6, nv4, nv6 net.IP) *UELinkSpecificIPAddressFields
NewUELinkSpecificIPAddressFields creates a new NewUELinkSpecificIPAddressFields.
func ParseUELinkSpecificIPAddressFields ¶
func ParseUELinkSpecificIPAddressFields(b []byte) (*UELinkSpecificIPAddressFields, error)
ParseUELinkSpecificIPAddressFields parses b into UELinkSpecificIPAddressFields.
func (*UELinkSpecificIPAddressFields) HasIPv4 ¶
func (f *UELinkSpecificIPAddressFields) HasIPv4() bool
HasIPv4 reports whether IPv4 flag is set.
func (*UELinkSpecificIPAddressFields) HasIPv6 ¶
func (f *UELinkSpecificIPAddressFields) HasIPv6() bool
HasIPv6 reports whether IPv6 flag is set.
func (*UELinkSpecificIPAddressFields) HasNV4 ¶
func (f *UELinkSpecificIPAddressFields) HasNV4() bool
HasNV4 reports whether NV4 flag is set.
func (*UELinkSpecificIPAddressFields) HasNV6 ¶
func (f *UELinkSpecificIPAddressFields) HasNV6() bool
HasNV6 reports whether NV6 flag is set.
func (*UELinkSpecificIPAddressFields) Marshal ¶
func (f *UELinkSpecificIPAddressFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of UELinkSpecificIPAddressFields.
func (*UELinkSpecificIPAddressFields) MarshalLen ¶
func (f *UELinkSpecificIPAddressFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*UELinkSpecificIPAddressFields) MarshalTo ¶
func (f *UELinkSpecificIPAddressFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*UELinkSpecificIPAddressFields) SetIPv4Flag ¶
func (f *UELinkSpecificIPAddressFields) SetIPv4Flag()
SetIPv4Flag sets IPv4 flag in UELinkSpecificIPAddress.
func (*UELinkSpecificIPAddressFields) SetIPv6Flag ¶
func (f *UELinkSpecificIPAddressFields) SetIPv6Flag()
SetIPv6Flag sets IPv6 flag in UELinkSpecificIPAddress.
func (*UELinkSpecificIPAddressFields) SetNV4Flag ¶
func (f *UELinkSpecificIPAddressFields) SetNV4Flag()
SetNV4Flag sets NV4 flag in UELinkSpecificIPAddress.
func (*UELinkSpecificIPAddressFields) SetNV6Flag ¶
func (f *UELinkSpecificIPAddressFields) SetNV6Flag()
SetNV6Flag sets NV6 flag in UELinkSpecificIPAddress.
func (*UELinkSpecificIPAddressFields) UnmarshalBinary ¶
func (f *UELinkSpecificIPAddressFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type UserIDFields ¶
type UserIDFields struct { Flags uint8 IMSILength uint8 IMSI string IMEILength uint8 IMEI string MSISDNLength uint8 MSISDN string NAILength uint8 NAI string }
UserIDFields represents a fields contained in UserID IE.
func NewUserIDFields ¶
func NewUserIDFields(flags uint8, imsi, imei, msisdn, nai string) *UserIDFields
NewUserIDFields creates a new NewUserIDFields.
func ParseUserIDFields ¶
func ParseUserIDFields(b []byte) (*UserIDFields, error)
ParseUserIDFields parses b into UserIDFields.
func (*UserIDFields) Marshal ¶
func (f *UserIDFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of UserIDFields.
func (*UserIDFields) MarshalLen ¶
func (f *UserIDFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*UserIDFields) MarshalTo ¶
func (f *UserIDFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*UserIDFields) UnmarshalBinary ¶
func (f *UserIDFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type UserPlaneIPResourceInformationFields ¶
type UserPlaneIPResourceInformationFields struct { Flags uint8 TEIDRange uint8 IPv4Address net.IP IPv6Address net.IP NetworkInstance string SourceInterface uint8 }
UserPlaneIPResourceInformationFields represents a fields contained in UserPlaneIPResourceInformation IE.
func NewUserPlaneIPResourceInformationFields ¶
func NewUserPlaneIPResourceInformationFields(flags uint8, tRange uint8, v4, v6, ni string, si uint8) *UserPlaneIPResourceInformationFields
NewUserPlaneIPResourceInformationFields creates a new UserPlaneIPResourceInformationFields.
func ParseUserPlaneIPResourceInformationFields ¶
func ParseUserPlaneIPResourceInformationFields(b []byte) (*UserPlaneIPResourceInformationFields, error)
ParseUserPlaneIPResourceInformationFields parses b into UserPlaneIPResourceInformationFields.
func (*UserPlaneIPResourceInformationFields) Marshal ¶
func (f *UserPlaneIPResourceInformationFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of UserPlaneIPResourceInformationFields.
func (*UserPlaneIPResourceInformationFields) MarshalLen ¶
func (f *UserPlaneIPResourceInformationFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*UserPlaneIPResourceInformationFields) MarshalTo ¶
func (f *UserPlaneIPResourceInformationFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*UserPlaneIPResourceInformationFields) UnmarshalBinary ¶
func (f *UserPlaneIPResourceInformationFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into UserPlaneIPResourceInformationFields.
type VolumeMeasurementFields ¶
type VolumeMeasurementFields struct { Flags uint8 TotalVolume uint64 UplinkVolume uint64 DownlinkVolume uint64 TotalNumberOfPackets uint64 UplinkNumberOfPackets uint64 DownlinkNumberOfPackets uint64 }
VolumeMeasurementFields represents a fields contained in VolumeMeasurement IE.
func NewVolumeMeasurementFields ¶
func NewVolumeMeasurementFields(flags uint8, tvol, uvol, dvol, tpkt, upkt, dpkt uint64) *VolumeMeasurementFields
NewVolumeMeasurementFields creates a new NewVolumeMeasurementFields.
func ParseVolumeMeasurementFields ¶
func ParseVolumeMeasurementFields(b []byte) (*VolumeMeasurementFields, error)
ParseVolumeMeasurementFields parses b into VolumeMeasurementFields.
func (*VolumeMeasurementFields) HasDLNOP ¶
func (f *VolumeMeasurementFields) HasDLNOP() bool
HasDLNOP reports whether DLNOP flag is set.
func (*VolumeMeasurementFields) HasDLVOL ¶
func (f *VolumeMeasurementFields) HasDLVOL() bool
HasDLVOL reports whether DLVOL flag is set.
func (*VolumeMeasurementFields) HasTONOP ¶
func (f *VolumeMeasurementFields) HasTONOP() bool
HasTONOP reports whether TONOP flag is set.
func (*VolumeMeasurementFields) HasTOVOL ¶
func (f *VolumeMeasurementFields) HasTOVOL() bool
HasTOVOL reports whether TOVOL flag is set.
func (*VolumeMeasurementFields) HasULNOP ¶
func (f *VolumeMeasurementFields) HasULNOP() bool
HasULNOP reports whether ULNOP flag is set.
func (*VolumeMeasurementFields) HasULVOL ¶
func (f *VolumeMeasurementFields) HasULVOL() bool
HasULVOL reports whether ULVOL flag is set.
func (*VolumeMeasurementFields) Marshal ¶
func (f *VolumeMeasurementFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of VolumeMeasurementFields.
func (*VolumeMeasurementFields) MarshalLen ¶
func (f *VolumeMeasurementFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*VolumeMeasurementFields) MarshalTo ¶
func (f *VolumeMeasurementFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*VolumeMeasurementFields) SetDLNOPFlag ¶
func (f *VolumeMeasurementFields) SetDLNOPFlag()
SetDLNOPFlag sets DLNOP flag in VolumeMeasurement.
func (*VolumeMeasurementFields) SetDLVOLFlag ¶
func (f *VolumeMeasurementFields) SetDLVOLFlag()
SetDLVOLFlag sets DLVOL flag in VolumeMeasurement.
func (*VolumeMeasurementFields) SetTONOPFlag ¶
func (f *VolumeMeasurementFields) SetTONOPFlag()
SetTONOPFlag sets TONOP flag in VolumeMeasurement.
func (*VolumeMeasurementFields) SetTOVOLFlag ¶
func (f *VolumeMeasurementFields) SetTOVOLFlag()
SetTOVOLFlag sets TOVOL flag in VolumeMeasurement.
func (*VolumeMeasurementFields) SetULNOPFlag ¶
func (f *VolumeMeasurementFields) SetULNOPFlag()
SetULNOPFlag sets ULNOP flag in VolumeMeasurement.
func (*VolumeMeasurementFields) SetULVOLFlag ¶
func (f *VolumeMeasurementFields) SetULVOLFlag()
SetULVOLFlag sets ULVOL flag in VolumeMeasurement.
func (*VolumeMeasurementFields) UnmarshalBinary ¶
func (f *VolumeMeasurementFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type VolumeQuotaFields ¶
type VolumeQuotaFields struct { Flags uint8 TotalVolume uint64 UplinkVolume uint64 DownlinkVolume uint64 }
VolumeQuotaFields represents a fields contained in VolumeQuota IE.
func NewVolumeQuotaFields ¶
func NewVolumeQuotaFields(flags uint8, tvol, uvol, dvol uint64) *VolumeQuotaFields
NewVolumeQuotaFields creates a new NewVolumeQuotaFields.
func ParseVolumeQuotaFields ¶
func ParseVolumeQuotaFields(b []byte) (*VolumeQuotaFields, error)
ParseVolumeQuotaFields parses b into VolumeQuotaFields.
func (*VolumeQuotaFields) HasDLVOL ¶
func (f *VolumeQuotaFields) HasDLVOL() bool
HasDLVOL reports whether DLVOL flag is set.
func (*VolumeQuotaFields) HasTOVOL ¶
func (f *VolumeQuotaFields) HasTOVOL() bool
HasTOVOL reports whether TOVOL flag is set.
func (*VolumeQuotaFields) HasULVOL ¶
func (f *VolumeQuotaFields) HasULVOL() bool
HasULVOL reports whether ULVOL flag is set.
func (*VolumeQuotaFields) Marshal ¶
func (f *VolumeQuotaFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of VolumeQuotaFields.
func (*VolumeQuotaFields) MarshalLen ¶
func (f *VolumeQuotaFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*VolumeQuotaFields) MarshalTo ¶
func (f *VolumeQuotaFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*VolumeQuotaFields) SetDLVOLFlag ¶
func (f *VolumeQuotaFields) SetDLVOLFlag()
SetDLVOLFlag sets DLVOL flag in VolumeQuota.
func (*VolumeQuotaFields) SetTOVOLFlag ¶
func (f *VolumeQuotaFields) SetTOVOLFlag()
SetTOVOLFlag sets TOVOL flag in VolumeQuota.
func (*VolumeQuotaFields) SetULVOLFlag ¶
func (f *VolumeQuotaFields) SetULVOLFlag()
SetULVOLFlag sets ULVOL flag in VolumeQuota.
func (*VolumeQuotaFields) UnmarshalBinary ¶
func (f *VolumeQuotaFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
type VolumeThresholdFields ¶
type VolumeThresholdFields struct { Flags uint8 TotalVolume uint64 UplinkVolume uint64 DownlinkVolume uint64 }
VolumeThresholdFields represents a fields contained in VolumeThreshold IE.
func NewVolumeThresholdFields ¶
func NewVolumeThresholdFields(flags uint8, tvol, uvol, dvol uint64) *VolumeThresholdFields
NewVolumeThresholdFields creates a new NewVolumeThresholdFields.
func ParseVolumeThresholdFields ¶
func ParseVolumeThresholdFields(b []byte) (*VolumeThresholdFields, error)
ParseVolumeThresholdFields parses b into VolumeThresholdFields.
func (*VolumeThresholdFields) HasDLVOL ¶
func (f *VolumeThresholdFields) HasDLVOL() bool
HasDLVOL reports whether DLVOL flag is set.
func (*VolumeThresholdFields) HasTOVOL ¶
func (f *VolumeThresholdFields) HasTOVOL() bool
HasTOVOL reports whether TOVOL flag is set.
func (*VolumeThresholdFields) HasULVOL ¶
func (f *VolumeThresholdFields) HasULVOL() bool
HasULVOL reports whether ULVOL flag is set.
func (*VolumeThresholdFields) Marshal ¶
func (f *VolumeThresholdFields) Marshal() ([]byte, error)
Marshal returns the serialized bytes of VolumeThresholdFields.
func (*VolumeThresholdFields) MarshalLen ¶
func (f *VolumeThresholdFields) MarshalLen() int
MarshalLen returns field length in integer.
func (*VolumeThresholdFields) MarshalTo ¶
func (f *VolumeThresholdFields) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*VolumeThresholdFields) SetDLVOLFlag ¶
func (f *VolumeThresholdFields) SetDLVOLFlag()
SetDLVOLFlag sets DLVOL flag in VolumeThreshold.
func (*VolumeThresholdFields) SetTOVOLFlag ¶
func (f *VolumeThresholdFields) SetTOVOLFlag()
SetTOVOLFlag sets TOVOL flag in VolumeThreshold.
func (*VolumeThresholdFields) SetULVOLFlag ¶
func (f *VolumeThresholdFields) SetULVOLFlag()
SetULVOLFlag sets ULVOL flag in VolumeThreshold.
func (*VolumeThresholdFields) UnmarshalBinary ¶
func (f *VolumeThresholdFields) UnmarshalBinary(b []byte) error
UnmarshalBinary parses b into IE.
Source Files ¶
- access-availability-control-information.go
- access-availability-information.go
- access-availability-report.go
- activate-predefined-rules.go
- activation-time.go
- additional-monitoring-time.go
- additional-usage-reports-information.go
- aggregated-urr-id.go
- aggregated-urrs.go
- alternative-smf-ip-address.go
- apn-dnn.go
- application-detection-information.go
- application-id.go
- application-ids-pfds.go
- application-instance-id.go
- apply-action.go
- atsss-control-parameters.go
- atsss-ll-control-information.go
- atsss-ll-information.go
- atsss-ll-parameters.go
- average-packet-delay.go
- averaging-window.go
- bar-id.go
- bridge-management-information-container.go
- c-tag.go
- cause.go
- clock-drift-control-information.go
- clock-drift-report.go
- cp-function-features.go
- cp-pfcp-entity-ip-address.go
- create-bar.go
- create-bridge-info-for-tsc.go
- create-far.go
- create-mar.go
- create-pdr.go
- create-qer.go
- create-srr.go
- create-traffic-endpoint.go
- create-urr.go
- created-bridge-info-for-tsc.go
- created-pdr.go
- created-traffic-endpoint.go
- cumulative-rate-ratio-measurement.go
- cumulative-rate-ratio-threshold.go
- data-network-access-identifier.go
- data-status.go
- deactivate-predefined-rules.go
- deactivation-time.go
- destination-interface.go
- dl-buffering-duration.go
- dl-buffering-suggested-packet-count.go
- dl-data-packets-size.go
- dl-flow-level-marking.go
- doc.go
- downlink-data-notification-delay.go
- downlink-data-report.go
- downlink-data-service-information.go
- dropped-dl-traffic-threshold.go
- ds-tt-port-number.go
- duplicating-parameters.go
- duration-measurement.go
- end-time.go
- error-indication-report.go
- errors.go
- ethernet-context-information.go
- ethernet-filter-id.go
- ethernet-filter-properties.go
- ethernet-inactivity-timer.go
- ethernet-packet-filter.go
- ethernet-pdu-session-information.go
- ethernet-traffic-information.go
- ethertype.go
- event-quota.go
- event-threshold.go
- event-time-stamp.go
- f-seid.go
- f-teid.go
- failed-rule-id.go
- far-id.go
- flow-information.go
- forwarding-parameters.go
- forwarding-policy.go
- fq-csid.go
- framed-ipv6-route.go
- framed-route.go
- framed-routing.go
- gate-status.go
- gbr.go
- graceful-release-period.go
- gtp-u-path-interface-type.go
- gtp-u-path-qos-control-information.go
- gtp-u-path-qos-report.go
- header-enrichment.go
- ie.go
- ie_grouped.go
- inactivity-detection-time.go
- ip-multicast-address.go
- ip-multicast-addressing-info.go
- ip-version.go
- join-ip-multicast-information.go
- leave-ip-multicast-information.go
- linked-urr-id.go
- load-control-information.go
- mac-address-detected.go
- mac-address-removed.go
- mac-address.go
- mar-id.go
- maximum-packet-delay.go
- mbr.go
- measurement-information.go
- measurement-method.go
- measurement-period.go
- metric.go
- minimum-packet-delay.go
- minimum-wait-time.go
- misc.go
- monitoring-time.go
- mptcp-address-information.go
- mptcp-applicable-indication.go
- mptcp-control-information.go
- mptcp-parameters.go
- mt-edt-control-information.go
- multiplier.go
- network-instance.go
- nf-instance-id.go
- node-id.go
- node-report-type.go
- non-3gpp-access-forwarding-action-information.go
- number-of-reports.go
- number-of-ue-ip-addresses.go
- nw-tt-port-number.go
- oci-flags.go
- offending-ie.go
- outer-header-creation.go
- outer-header-removal.go
- overload-control-information.go
- packet-delay-thresholds.go
- packet-rate-status-report.go
- packet-rate-status.go
- packet-rate.go
- packet-replication-and-detection-carry-on-information.go
- paging-policy-indicator.go
- pdi.go
- pdn-type.go
- pdr-id.go
- pfcp-association-release-request.go
- pfcp-session-retention-information.go
- pfcpasreq-flags.go
- pfcpasrsp-flags.go
- pfcpaureq-flags.go
- pfcpsereq-flags.go
- pfcpsmreq-flags.go
- pfcpsrreq-flags.go
- pfcpsrrsp-flags.go
- pfd-contents.go
- pfd-context.go
- pmf-address-information.go
- pmf-control-information.go
- pmf-parameters.go
- port-management-information-container.go
- precedence.go
- priority.go
- provide-atsss-control-information.go
- provide-rds-configuration-information.go
- proxying.go
- qer-control-indications.go
- qer-correlation-id.go
- qer-id.go
- qfi.go
- qos-information-in-gtp-u-path-qos-report.go
- qos-monitoring-measurement.go
- qos-monitoring-per-qos-flow-control-information.go
- qos-monitoring-report.go
- qos-report-trigger.go
- query-packet-rate-status.go
- query-urr-reference.go
- query-urr.go
- quota-holding-time.go
- quota-validity-time.go
- rds-configuration-information.go
- recovery-time-stamp.go
- redirect-information.go
- redundant-transmission-forwarding-parameters.go
- redundant-transmission-parameters.go
- remote-gtp-u-peer.go
- remove-bar.go
- remove-far.go
- remove-mar.go
- remove-pdr.go
- remove-qer.go
- remove-srr.go
- remove-traffic-endpoint.go
- remove-urr.go
- report-type.go
- reporting-frequency.go
- reporting-triggers.go
- requested-access-availability-information.go
- requested-clock-drift-information.go
- requested-qos-monitoring.go
- rqi.go
- s-nssai.go
- s-tag.go
- sdf-filter.go
- sequence-number.go
- session-report.go
- smf-set-id.go
- source-interface.go
- source-ip-address.go
- srr-id.go
- start-time.go
- steering-functionality.go
- steering-mode.go
- subsequent-event-quota.go
- subsequent-event-threshold.go
- subsequent-time-quota.go
- subsequent-time-threshold.go
- subsequent-volume-quota.go
- subsequent-volume-threshold.go
- suggested-buffering-packets-count.go
- tgpp-access-forwarding-action-information.go
- tgpp-interface-type.go
- time-of-first-packet.go
- time-of-last-packet.go
- time-offset-measurement.go
- time-offset-threshold.go
- time-quota-mechanism.go
- time-quota.go
- time-threshold.go
- timer.go
- trace-information.go
- traffic-endpoint-id.go
- transport-delay-reporting.go
- transport-level-marking.go
- tsc-management-information.go
- tsn-bridge-id.go
- tsn-time-domain-number.go
- ue-ip-address-pool-identity.go
- ue-ip-address-pool-information.go
- ue-ip-address-usage-information.go
- ue-ip-address.go
- ue-link-specific-ip-address.go
- up-function-features.go
- update-3gpp-access-forwarding-action-information.go
- update-bar.go
- update-duplicating-parameters.go
- update-far.go
- update-forwarding-parameters.go
- update-mar.go
- update-non-3gpp-access-forwarding-action-information.go
- update-pdr.go
- update-qer.go
- update-srr.go
- update-traffic-endpoint.go
- update-urr.go
- updated-pdr.go
- ur-seqn.go
- urr-id.go
- usage-information.go
- usage-report-trigger.go
- usage-report.go
- user-id.go
- user-plane-inactivity-timer.go
- user-plane-ip-resource-information.go
- user-plane-path-failure-report.go
- user-plane-path-recovery-report.go
- validity-timer.go
- volume-measurement.go
- volume-quota.go
- volume-threshold.go
- weight.go