Documentation
¶
Index ¶
- func Decode(ue *context.AmfUe, accessType models.AccessType, payload []byte, ...) (msg *nas.Message, integrityProtected bool, err error)
- func DecodePlainNasNoIntegrityCheck(payload []byte) (*nas.Message, error)
- func Encode(ue *context.AmfUe, msg *nas.Message, accessType models.AccessType) ([]byte, error)
- func GetBearerType(accessType models.AccessType) uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
func Decode(ue *context.AmfUe, accessType models.AccessType, payload []byte, initialMessage bool, ) (msg *nas.Message, integrityProtected bool, err error)
payload either a security protected 5GS NAS message or a plain 5GS NAS message which format is followed TS 24.501 9.1.1
func DecodePlainNasNoIntegrityCheck ¶ added in v1.2.1
DecodePlainNas is used to decode plain nas. If nas pdu is ciphered, this function will return error message. return value is: *nas.Message
func GetBearerType ¶
func GetBearerType(accessType models.AccessType) uint8
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.