Documentation
¶
Index ¶
- Constants
- Variables
- func Authentication(state *fsm.State, event fsm.EventType, args fsm.ArgsType)
- func AuthenticationProcedure(ue *context.AmfUe, accessType models.AccessType) (bool, error)
- func ContextSetup(state *fsm.State, event fsm.EventType, args fsm.ArgsType)
- func CreatePDUSession(ulNasTransport *nasMessage.ULNASTransport, ue *context.AmfUe, ...) (setNewSmContext bool, err error)
- func DeRegistered(state *fsm.State, event fsm.EventType, args fsm.ArgsType)
- func DeregisteredInitiated(state *fsm.State, event fsm.EventType, args fsm.ArgsType)
- func HandleAuthenticationError(ue *context.AmfUe, anType models.AccessType) error
- func HandleAuthenticationFailure(ue *context.AmfUe, anType models.AccessType, ...) error
- func HandleAuthenticationResponse(ue *context.AmfUe, accessType models.AccessType, ...) error
- func HandleConfigurationUpdateComplete(ue *context.AmfUe, ...) error
- func HandleDeregistrationAccept(ue *context.AmfUe, anType models.AccessType, ...) error
- func HandleDeregistrationRequest(ue *context.AmfUe, anType models.AccessType, ...) error
- func HandleIdentityResponse(ue *context.AmfUe, identityResponse *nasMessage.IdentityResponse) error
- func HandleInitialRegistration(ue *context.AmfUe, anType models.AccessType) error
- func HandleMobilityAndPeriodicRegistrationUpdating(ue *context.AmfUe, anType models.AccessType) error
- func HandleNotificationResponse(ue *context.AmfUe, notificationResponse *nasMessage.NotificationResponse) error
- func HandleRegistrationComplete(ue *context.AmfUe, accessType models.AccessType, ...) error
- func HandleRegistrationRequest(ue *context.AmfUe, anType models.AccessType, procedureCode int64, ...) error
- func HandleSecurityModeComplete(ue *context.AmfUe, anType models.AccessType, procedureCode int64, ...) error
- func HandleSecurityModeReject(ue *context.AmfUe, anType models.AccessType, ...) error
- func HandleServiceRequest(ue *context.AmfUe, anType models.AccessType, ...) error
- func HandleStatus5GMM(ue *context.AmfUe, anType models.AccessType, status5GMM *nasMessage.Status5GMM) error
- func HandleULNASTransport(ue *context.AmfUe, anType models.AccessType, ...) error
- func IdentityVerification(ue *context.AmfUe) bool
- func Registered(state *fsm.State, event fsm.EventType, args fsm.ArgsType)
- func SecurityMode(state *fsm.State, event fsm.EventType, args fsm.ArgsType)
Constants ¶
View Source
const ( GmmMessageEvent fsm.EventType = "Gmm Message" StartAuthEvent fsm.EventType = "Start Authentication" AuthSuccessEvent fsm.EventType = "Authentication Success" AuthErrorEvent fsm.EventType = "Authentication Error" AuthRestartEvent fsm.EventType = "Authentication Restart" AuthFailEvent fsm.EventType = "Authentication Fail" SecurityModeSuccessEvent fsm.EventType = "SecurityMode Success" SecurityModeFailEvent fsm.EventType = "SecurityMode Fail" ContextSetupSuccessEvent fsm.EventType = "ContextSetup Success" ContextSetupFailEvent fsm.EventType = "ContextSetup Fail" InitDeregistrationEvent fsm.EventType = "Initialize Deregistration" DeregistrationAcceptEvent fsm.EventType = "Deregistration Accept" )
View Source
const ( ArgAmfUe string = "AMF Ue" ArgNASMessage string = "NAS Message" ArgProcedureCode string = "Procedure Code" ArgAccessType string = "Access Type" ArgEAPSuccess string = "EAP Success" ArgEAPMessage string = "EAP Message" Arg3GPPDeregistered string = "3GPP Deregistered" ArgNon3GPPDeregistered string = "Non3GPP Deregistered" )
Variables ¶
View Source
var GmmFSM *fsm.FSM
Functions ¶
func AuthenticationProcedure ¶
func CreatePDUSession ¶ added in v1.2.1
func CreatePDUSession(ulNasTransport *nasMessage.ULNASTransport, ue *context.AmfUe, anType models.AccessType, pduSessionID int32, smMessage []uint8, ) (setNewSmContext bool, err error)
func DeregisteredInitiated ¶
func HandleAuthenticationError ¶
func HandleAuthenticationError(ue *context.AmfUe, anType models.AccessType) error
func HandleAuthenticationFailure ¶
func HandleAuthenticationFailure(ue *context.AmfUe, anType models.AccessType, authenticationFailure *nasMessage.AuthenticationFailure, ) error
func HandleAuthenticationResponse ¶
func HandleAuthenticationResponse(ue *context.AmfUe, accessType models.AccessType, authenticationResponse *nasMessage.AuthenticationResponse, ) error
TS 24.501 5.4.1
func HandleConfigurationUpdateComplete ¶
func HandleConfigurationUpdateComplete(ue *context.AmfUe, configurationUpdateComplete *nasMessage.ConfigurationUpdateComplete, ) error
func HandleDeregistrationAccept ¶
func HandleDeregistrationAccept(ue *context.AmfUe, anType models.AccessType, deregistrationAccept *nasMessage.DeregistrationAcceptUETerminatedDeregistration, ) error
TS 23.502 4.2.2.3
func HandleDeregistrationRequest ¶
func HandleDeregistrationRequest(ue *context.AmfUe, anType models.AccessType, deregistrationRequest *nasMessage.DeregistrationRequestUEOriginatingDeregistration, ) error
TS 23.502 4.2.2.3
func HandleIdentityResponse ¶
func HandleIdentityResponse(ue *context.AmfUe, identityResponse *nasMessage.IdentityResponse) error
func HandleInitialRegistration ¶
func HandleInitialRegistration(ue *context.AmfUe, anType models.AccessType) error
func HandleMobilityAndPeriodicRegistrationUpdating ¶
func HandleMobilityAndPeriodicRegistrationUpdating(ue *context.AmfUe, anType models.AccessType) error
func HandleNotificationResponse ¶
func HandleNotificationResponse(ue *context.AmfUe, notificationResponse *nasMessage.NotificationResponse) error
TS 24501 5.6.3.2
func HandleRegistrationComplete ¶
func HandleRegistrationComplete(ue *context.AmfUe, accessType models.AccessType, registrationComplete *nasMessage.RegistrationComplete, ) error
func HandleRegistrationRequest ¶
func HandleRegistrationRequest(ue *context.AmfUe, anType models.AccessType, procedureCode int64, registrationRequest *nasMessage.RegistrationRequest, ) error
Handle cleartext IEs of Registration Request, which cleattext IEs defined in TS 24.501 4.4.6
func HandleSecurityModeComplete ¶
func HandleSecurityModeComplete(ue *context.AmfUe, anType models.AccessType, procedureCode int64, securityModeComplete *nasMessage.SecurityModeComplete, ) error
TS 33.501 6.7.2
func HandleSecurityModeReject ¶
func HandleSecurityModeReject(ue *context.AmfUe, anType models.AccessType, securityModeReject *nasMessage.SecurityModeReject, ) error
func HandleServiceRequest ¶
func HandleServiceRequest(ue *context.AmfUe, anType models.AccessType, serviceRequest *nasMessage.ServiceRequest, ) error
TS 24501 5.6.1
func HandleStatus5GMM ¶
func HandleStatus5GMM(ue *context.AmfUe, anType models.AccessType, status5GMM *nasMessage.Status5GMM) error
func HandleULNASTransport ¶
func HandleULNASTransport(ue *context.AmfUe, anType models.AccessType, ulNasTransport *nasMessage.ULNASTransport, ) error
func IdentityVerification ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.