Documentation ¶
Index ¶
- Constants
- Variables
- func Decode(buf []byte) (unsafe.Pointer, int, error)
- func DownlinkNASTransport(enb_ie_s1ap_id int32, mmebuf []byte) ([]byte, error)
- func DownlinkNASTransportHandle(packet unsafe.Pointer) (int32, []byte, uint64, uint16)
- func DownlinkNASTransportReject(packet unsafe.Pointer) (byte, byte)
- func Encode(pdu *C.S1AP_PDU_t) ([]byte, error)
- func Free(packet unsafe.Pointer)
- func InitialContextSetupRequest(enb_ie_s1ap_id int32) ([]byte, error)
- func InitialContextSetupRequestHandle(packet unsafe.Pointer) ([]byte, []byte, []byte, []byte)
- func InitialContextSetupResponse(mme_ie_s1ap_id int32, enb_ie_s1ap_id int32, tr_layer_add_buf []byte, ...) ([]byte, error)
- func InitialUEMessageHandle(packet unsafe.Pointer) (int32, error)
- func NAS_PDU_Handle()
- func ResponseHandle(packet unsafe.Pointer) int32
- func S1AP_Initiating2String(k C.InitiatingMessage__value_PR) string
- func S1AP_PDU2String(k C.S1AP_PDU_PR) string
- func S1InitialUeMessageRequest(mmebuf []byte, enb_ue_s1ap_id int32) ([]byte, error)
- func S1SetupRequest(enb_name string) ([]byte, error)
- func S1SetupResponse() ([]byte, error)
- func UEContextReleaseCommand(mme_ie_s1ap_id int32, enb_ie_s1ap_id int32) ([]byte, error)
- func UplinkNASTransport(mme_ie_s1ap_id int32, enb_ie_s1ap_id int32, mmebuf []byte) ([]byte, error)
- func UplinkNASTransportHandle(packet unsafe.Pointer) (int32, int, error)
- func XerPrint(message unsafe.Pointer)
Constants ¶
View Source
const ( S1_SETUP_REQUEST = iota + 1 S1_SETUP_RESPONSE INITIAL_UE_MESSAGE INITIAL_CONTEXT_SETUP_REQUEST UPLINK_NAS_TRANSPORT DOWNLINK_NAS_TRANSPORT ERROR_INDICATION )
View Source
const ( NAS_EPS_AUTH_RESPONSE = iota + 1 NAS_EPS_SECURITY_MODE_COMPLETE )
View Source
const (
MAX_SDU_LEN = 8192
)
View Source
const (
NAS_EPS_MOBILITY_MANAGEMENT_MESSAGE_TYPE_ATTACH_REJECT = 0x44
)
Variables ¶
View Source
var S1AP_Initiating2StringMap = map[C.InitiatingMessage__value_PR]string{ C.InitiatingMessage__value_PR_NOTHING: "NOTHING", C.InitiatingMessage__value_PR_HandoverRequired: "HandoverRequired", C.InitiatingMessage__value_PR_HandoverRequest: "HandoverRequest", C.InitiatingMessage__value_PR_PathSwitchRequest: "PathSwitchRequest", C.InitiatingMessage__value_PR_E_RABSetupRequest: "E_RABSetupRequest", C.InitiatingMessage__value_PR_E_RABModifyRequest: "E_RABModifyRequest", C.InitiatingMessage__value_PR_E_RABReleaseCommand: "E_RABReleaseCommand", C.InitiatingMessage__value_PR_InitialContextSetupRequest: "InitialContextSetupRequest", C.InitiatingMessage__value_PR_HandoverCancel: "HandoverCancel", C.InitiatingMessage__value_PR_KillRequest: "KillRequest", C.InitiatingMessage__value_PR_Reset: "Reset", C.InitiatingMessage__value_PR_S1SetupRequest: "S1SetupRequest", C.InitiatingMessage__value_PR_UEContextModificationRequest: "UEContextModificationRequest", C.InitiatingMessage__value_PR_UEContextReleaseCommand: "UEContextReleaseCommand", C.InitiatingMessage__value_PR_ENBConfigurationUpdate: "ENBConfigurationUpdate", C.InitiatingMessage__value_PR_MMEConfigurationUpdate: "MMEConfigurationUpdate", C.InitiatingMessage__value_PR_WriteReplaceWarningRequest: "WriteReplaceWarningRequest", C.InitiatingMessage__value_PR_UERadioCapabilityMatchRequest: "UERadioCapabilityMatchRequest", C.InitiatingMessage__value_PR_E_RABModificationIndication: "E_RABModificationIndication", C.InitiatingMessage__value_PR_UEContextModificationIndication: "UEContextModificationIndication", C.InitiatingMessage__value_PR_UEContextSuspendRequest: "UEContextSuspendRequest", C.InitiatingMessage__value_PR_UEContextResumeRequest: "UEContextResumeRequest", C.InitiatingMessage__value_PR_HandoverNotify: "HandoverNotify", C.InitiatingMessage__value_PR_E_RABReleaseIndication: "E_RABReleaseIndication", C.InitiatingMessage__value_PR_Paging: "Paging", C.InitiatingMessage__value_PR_DownlinkNASTransport: "DownlinkNASTransport", C.InitiatingMessage__value_PR_InitialUEMessage: "InitialUEMessage", C.InitiatingMessage__value_PR_UplinkNASTransport: "UplinkNASTransport", C.InitiatingMessage__value_PR_ErrorIndication: "ErrorIndication", C.InitiatingMessage__value_PR_NASNonDeliveryIndication: "NASNonDeliveryIndication", C.InitiatingMessage__value_PR_UEContextReleaseRequest: "UEContextReleaseRequest", C.InitiatingMessage__value_PR_DownlinkS1cdma2000tunnelling: "DownlinkS1cdma2000tunnelling", C.InitiatingMessage__value_PR_UplinkS1cdma2000tunnelling: "UplinkS1cdma2000tunnelling", C.InitiatingMessage__value_PR_UECapabilityInfoIndication: "UECapabilityInfoIndication", C.InitiatingMessage__value_PR_ENBStatusTransfer: "ENBStatusTransfer", C.InitiatingMessage__value_PR_MMEStatusTransfer: "MMEStatusTransfer", C.InitiatingMessage__value_PR_DeactivateTrace: "DeactivateTrace", C.InitiatingMessage__value_PR_TraceStart: "TraceStart", C.InitiatingMessage__value_PR_TraceFailureIndication: "TraceFailureIndication", C.InitiatingMessage__value_PR_CellTrafficTrace: "CellTrafficTrace", C.InitiatingMessage__value_PR_LocationReportingControl: "LocationReportingControl", C.InitiatingMessage__value_PR_LocationReportingFailureIndication: "LocationReportingFailureIndication", C.InitiatingMessage__value_PR_LocationReport: "LocationReport", C.InitiatingMessage__value_PR_OverloadStart: "OverloadStart", C.InitiatingMessage__value_PR_OverloadStop: "OverloadStop", C.InitiatingMessage__value_PR_ENBDirectInformationTransfer: "ENBDirectInformationTransfer", C.InitiatingMessage__value_PR_MMEDirectInformationTransfer: "MMEDirectInformationTransfer", C.InitiatingMessage__value_PR_ENBConfigurationTransfer: "ENBConfigurationTransfer", C.InitiatingMessage__value_PR_MMEConfigurationTransfer: "MMEConfigurationTransfer", C.InitiatingMessage__value_PR_PrivateMessage: "PrivateMessage", C.InitiatingMessage__value_PR_DownlinkUEAssociatedLPPaTransport: "DownlinkUEAssociatedLPPaTransport", C.InitiatingMessage__value_PR_UplinkUEAssociatedLPPaTransport: "UplinkUEAssociatedLPPaTransport", C.InitiatingMessage__value_PR_DownlinkNonUEAssociatedLPPaTransport: "DownlinkNonUEAssociatedLPPaTransport", C.InitiatingMessage__value_PR_UplinkNonUEAssociatedLPPaTransport: "UplinkNonUEAssociatedLPPaTransport", C.InitiatingMessage__value_PR_PWSRestartIndication: "PWSRestartIndication", C.InitiatingMessage__value_PR_RerouteNASRequest: "RerouteNASRequest", C.InitiatingMessage__value_PR_PWSFailureIndication: "PWSFailureIndication", C.InitiatingMessage__value_PR_ConnectionEstablishmentIndication: "ConnectionEstablishmentIndication", C.InitiatingMessage__value_PR_NASDeliveryIndication: "NASDeliveryIndication", C.InitiatingMessage__value_PR_RetrieveUEInformation: "RetrieveUEInformation", C.InitiatingMessage__value_PR_UEInformationTransfer: "UEInformationTransfer", C.InitiatingMessage__value_PR_ENBCPRelocationIndication: "ENBCPRelocationIndication", C.InitiatingMessage__value_PR_MMECPRelocationIndication: "MMECPRelocationIndication", }
View Source
var S1AP_PDU2StringMap = map[C.S1AP_PDU_PR]string{ C.S1AP_PDU_PR_NOTHING: "Nothing", C.S1AP_PDU_PR_initiatingMessage: "InitiatingMessage", C.S1AP_PDU_PR_successfulOutcome: "SuccessfulOutcome", C.S1AP_PDU_PR_unsuccessfulOutcome: "UnsuccessfulOutcome", }
Functions ¶
func DownlinkNASTransport ¶
func NAS_PDU_Handle ¶
func NAS_PDU_Handle()
func ResponseHandle ¶
func S1AP_Initiating2String ¶
func S1AP_Initiating2String(k C.InitiatingMessage__value_PR) string
func S1AP_PDU2String ¶
func S1AP_PDU2String(k C.S1AP_PDU_PR) string
func S1SetupRequest ¶
func S1SetupResponse ¶
func UEContextReleaseCommand ¶
func UplinkNASTransport ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.