Documentation ¶
Index ¶
- Variables
- func AllocUEIP() net.IP
- func BuildGSMPDUSessionEstablishmentAccept(smContext *SMContext) ([]byte, error)
- func BuildGSMPDUSessionModificationCommand(smContext *SMContext) ([]byte, error)
- func BuildGSMPDUSessionReleaseCommand(smContext *SMContext) ([]byte, error)
- func BuildHandoverCommandTransfer(ctx *SMContext) (buf []byte, err error)
- func BuildPDUSessionResourceReleaseCommandTransfer(ctx *SMContext) (buf []byte, err error)
- func BuildPDUSessionResourceSetupRequestTransfer(ctx *SMContext) (buf []byte, err error)
- func BuildPathSwitchRequestAcknowledgeTransfer(ctx *SMContext) (buf []byte, err error)
- func BuildPathSwitchRequestUnsuccessfulTransfer(causePresent int, causeValue aper.Enumerated) (buf []byte, err error)
- func GetSMContextCount() uint64
- func HandleHandoverRequestAcknowledgeTransfer(b []byte, ctx *SMContext) (err error)
- func HandleHandoverRequiredTransfer(b []byte, ctx *SMContext) (err error)
- func HandlePDUSessionResourceSetupResponseTransfer(b []byte, ctx *SMContext) (err error)
- func HandlePathSwitchRequestSetupFailedTransfer(b []byte, ctx *SMContext) (err error)
- func HandlePathSwitchRequestTransfer(b []byte, ctx *SMContext) (err error)
- func InitSmfContext(config *factory.Config)
- func RemoveSMContext(ref string)
- func RemoveUPFNodeByNodeId(nodeId pfcpType.NodeID)
- func ResolveRef(identifier string, pduSessID int32) (ref string, err error)
- func SetupNFProfile()
- func SetupSMFContext(config *factory.Config) error
- type BAR
- type FAR
- type ForwardingParameters
- type PDI
- type PDR
- type QER
- type RuleState
- type SMContext
- type SMFContext
- type SMState
- type UPF
- type UPTunnel
- type URR
Constants ¶
This section is empty.
Variables ¶
View Source
var NFServices *[]models.NfService
View Source
var NfServiceVersion *[]models.NfServiceVersion
View Source
var SmfInfo *models.SmfInfo
Functions ¶
func BuildPathSwitchRequestAcknowledgeTransfer ¶
TS 38.413 9.3.4.9
func BuildPathSwitchRequestUnsuccessfulTransfer ¶
func BuildPathSwitchRequestUnsuccessfulTransfer(causePresent int, causeValue aper.Enumerated) (buf []byte, err error)
func GetSMContextCount ¶
func GetSMContextCount() uint64
func InitSmfContext ¶
func RemoveSMContext ¶
func RemoveSMContext(ref string)
func RemoveUPFNodeByNodeId ¶
func SetupNFProfile ¶
func SetupNFProfile()
func SetupSMFContext ¶
Types ¶
type BAR ¶
type BAR struct { BARID uint8 DownlinkDataNotificationDelay pfcpType.DownlinkDataNotificationDelay SuggestedBufferingPacketsCount pfcpType.SuggestedBufferingPacketsCount State RuleState }
Buffering Action Rule 7.5.2.6-1
type FAR ¶
type FAR struct { FARID uint32 ApplyAction pfcpType.ApplyAction ForwardingParameters *ForwardingParameters BAR *BAR State RuleState }
Forwarding Action Rule. 7.5.2.3-1
type ForwardingParameters ¶
type ForwardingParameters struct { DestinationInterface pfcpType.DestinationInterface NetworkInstance util_3gpp.Dnn OuterHeaderCreation *pfcpType.OuterHeaderCreation }
Forwarding Parameters. 7.5.2.3-2
type PDI ¶
type PDI struct { SourceInterface pfcpType.SourceInterface LocalFTeid pfcpType.FTEID NetworkInstance util_3gpp.Dnn UEIPAddress *pfcpType.UEIPAddress }
Packet Detection. 7.5.2.2-2
type PDR ¶
type PDR struct { PDRID uint16 Precedence uint32 PDI PDI OuterHeaderRemoval *pfcpType.OuterHeaderRemoval FAR *FAR URR *URR QER *QER State RuleState }
Packet Detection Rule. Table 7.5.2.2-1
type SMContext ¶
type SMContext struct { Ref string LocalSEID uint64 RemoteSEID uint64 UnauthenticatedSupi bool // SUPI or PEI Supi string Pei string Identifier string Gpsi string PDUSessionID int32 Dnn string Snssai *models.Snssai HplmnSnssai *models.Snssai ServingNetwork *models.PlmnId ServingNfId string UpCnxState models.UpCnxState AnType models.AccessType RatType models.RatType PresenceInLadn models.PresenceState UeLocation *models.UserLocation UeTimeZone string AddUeLocation *models.UserLocation OldPduSessionId int32 HoState models.HoState PDUAddress net.IP // Client SMPolicyClient *Npcf_SMPolicyControl.APIClient CommunicationClient *Namf_Communication.APIClient AMFProfile models.NfProfile SMState SMState Tunnel *UPTunnel }
func GetSMContext ¶
func GetSMContextBySEID ¶
func NewSMContext ¶
func (*SMContext) BuildCreatedData ¶
func (smContext *SMContext) BuildCreatedData() (createdData *models.SmContextCreatedData)
func (*SMContext) HandlePDUSessionReleaseRequest ¶
func (smContext *SMContext) HandlePDUSessionReleaseRequest(req *nasMessage.PDUSessionReleaseRequest)
func (*SMContext) SetCreateData ¶
func (smContext *SMContext) SetCreateData(createData *models.SmContextCreateData)
type SMFContext ¶
type SMFContext struct { Name string NfInstanceID string URIScheme models.UriScheme HTTPAddress string HTTPPort int CPNodeID pfcpType.NodeID UDMProfiles []models.NfProfile PCFProfiles []models.NfProfile UPNodeIDs []pfcpType.NodeID Key string PEM string KeyLog string UESubNet *net.IPNet UEAddressTemp net.IP NrfUri string NFManagementClient *Nnrf_NFManagement.APIClient NFDiscoveryClient *Nnrf_NFDiscovery.APIClient }
func SMF_Self ¶
func SMF_Self() *SMFContext
type UPF ¶
type UPF struct { NodeID pfcpType.NodeID UPIPInfo pfcpType.UserPlaneIPResourceInformation TEIDCount uint32 // contains filtered or unexported fields }
func RetrieveUPFNodeByNodeId ¶
func SelectUPFByDnn ¶
func (*UPF) GenerateTEID ¶
Click to show internal directories.
Click to hide internal directories.