nasTestpacket

package
v0.0.0-...-3a7200f Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PDUSesModiReq    string = "PDU Session Modification Request"
	PDUSesModiCmp    string = "PDU Session Modification Complete"
	PDUSesModiCmdRej string = "PDU Session Modification Command Reject"
	PDUSesRelReq     string = "PDU Session Release Request"
	PDUSesRelCmp     string = "PDU Session Release Complete"
	PDUSesRelRej     string = "PDU Session Release Reject"
	PDUSesAuthCmp    string = "PDU Session Authentication Complete"
)

Variables

This section is empty.

Functions

func GetAuthenticationFailure

func GetAuthenticationFailure(cause5GMM uint8, authenticationFailureParam []uint8) (nasPdu []byte)

func GetAuthenticationResponse

func GetAuthenticationResponse(authenticationResponseParam []uint8, eapMsg string) (nasPdu []byte)

func GetConfigurationUpdateComplete

func GetConfigurationUpdateComplete() (nasPdu []byte)

func GetDeregistrationAccept

func GetDeregistrationAccept() (nasPdu []byte)

func GetDeregistrationRequest

func GetDeregistrationRequest(accessType uint8, switchOff uint8, ngKsi uint8, mobileIdentity5GS nasType.MobileIdentity5GS) (nasPdu []byte)

func GetIdentityResponse

func GetIdentityResponse(mobileIdentity nasType.MobileIdentity) (nasPdu []byte)

func GetNotificationResponse

func GetNotificationResponse(pDUSessionStatus []uint8) (nasPdu []byte)

func GetPduSessionAuthenticationComplete

func GetPduSessionAuthenticationComplete(pduSessionId uint8) (nasPdu []byte)

func GetPduSessionEstablishmentRequest

func GetPduSessionEstablishmentRequest(pduSessionId uint8) (nasPdu []byte)

func GetPduSessionModificationCommandReject

func GetPduSessionModificationCommandReject(pduSessionId uint8) (nasPdu []byte)

func GetPduSessionModificationComplete

func GetPduSessionModificationComplete(pduSessionId uint8) (nasPdu []byte)

func GetPduSessionModificationRequest

func GetPduSessionModificationRequest(pduSessionId uint8) (nasPdu []byte)

func GetPduSessionReleaseCommand

func GetPduSessionReleaseCommand(pduSessionId uint8) (nasPdu []byte)

func GetPduSessionReleaseComplete

func GetPduSessionReleaseComplete(pduSessionId uint8) (nasPdu []byte)

func GetPduSessionReleaseReject

func GetPduSessionReleaseReject(pduSessionId uint8) (nasPdu []byte)

func GetPduSessionReleaseRequest

func GetPduSessionReleaseRequest(pduSessionId uint8) (nasPdu []byte)

func GetRegistrationComplete

func GetRegistrationComplete(sorTransparentContainer []uint8) (nasPdu []byte)

func GetRegistrationRequest

func GetRegistrationRequest(registrationType uint8, mobileIdentity nasType.MobileIdentity5GS, requestedNSSAI *nasType.RequestedNSSAI, uplinkDataStatus *nasType.UplinkDataStatus) (nasPdu []byte)

func GetRegistrationRequestWith5GMM

func GetRegistrationRequestWith5GMM(registrationType uint8, mobileIdentity nasType.MobileIdentity5GS, requestedNSSAI *nasType.RequestedNSSAI, uplinkDataStatus *nasType.UplinkDataStatus) (nasPdu []byte)

func GetSecurityModeComplete

func GetSecurityModeComplete(nasMessageContainer []uint8) (nasPdu []byte)

TS 24.501 8.2.26

func GetSecurityModeReject

func GetSecurityModeReject(cause5GMM uint8) (nasPdu []byte)

func GetServiceRequest

func GetServiceRequest(serviceType uint8) (nasPdu []byte)

func GetStatus5GMM

func GetStatus5GMM(cause uint8) (nasPdu []byte)

func GetStatus5GSM

func GetStatus5GSM(pduSessionId uint8, cause uint8) (nasPdu []byte)

func GetUlNasTransport_PduSessionCommonData

func GetUlNasTransport_PduSessionCommonData(pduSessionId uint8, types string) (nasPdu []byte)

func GetUlNasTransport_PduSessionEstablishmentRequest

func GetUlNasTransport_PduSessionEstablishmentRequest(pduSessionId uint8, requestType uint8, dnnString string, sNssai *models.Snssai) (nasPdu []byte)

func GetUlNasTransport_PduSessionModificationRequest

func GetUlNasTransport_PduSessionModificationRequest(pduSessionId uint8, requestType uint8, dnnString string, sNssai *models.Snssai) (nasPdu []byte)

func GetUlNasTransport_PduSessionReleaseCommand

func GetUlNasTransport_PduSessionReleaseCommand(pduSessionId uint8, requestType uint8, dnnString string, sNssai *models.Snssai) (nasPdu []byte)

func GetUlNasTransport_PduSessionReleaseRequest

func GetUlNasTransport_PduSessionReleaseRequest(pduSessionId uint8) (nasPdu []byte)

func GetUlNasTransport_Status5GSM

func GetUlNasTransport_Status5GSM(pduSessionId uint8, cause uint8) (nasPdu []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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