idx int64 0 252k | question stringlengths 48 5.28k | target stringlengths 5 1.23k |
|---|---|---|
237,200 | def systemInformationType7 ( ) : a = L2PseudoLength ( l2pLength = 0x01 ) b = TpPd ( pd = 0x6 ) c = MessageType ( mesType = 0x37 ) d = Si7RestOctets ( ) packet = a / b / c / d return packet | SYSTEM INFORMATION TYPE 7 Section 9 . 1 . 41 |
237,201 | def systemInformationType8 ( ) : a = L2PseudoLength ( l2pLength = 0x01 ) b = TpPd ( pd = 0x6 ) c = MessageType ( mesType = 0x18 ) d = Si8RestOctets ( ) packet = a / b / c / d return packet | SYSTEM INFORMATION TYPE 8 Section 9 . 1 . 42 |
237,202 | def systemInformationType9 ( ) : a = L2PseudoLength ( l2pLength = 0x01 ) b = TpPd ( pd = 0x6 ) c = MessageType ( mesType = 0x4 ) d = Si9RestOctets ( ) packet = a / b / c / d return packet | SYSTEM INFORMATION TYPE 9 Section 9 . 1 . 43 |
237,203 | def systemInformationType13 ( ) : a = L2PseudoLength ( l2pLength = 0x00 ) b = TpPd ( pd = 0x6 ) c = MessageType ( mesType = 0x0 ) d = Si13RestOctets ( ) packet = a / b / c / d return packet | SYSTEM INFORMATION TYPE 13 Section 9 . 1 . 43a |
237,204 | def systemInformationType16 ( ) : a = L2PseudoLength ( l2pLength = 0x01 ) b = TpPd ( pd = 0x6 ) c = MessageType ( mesType = 0x3d ) d = Si16RestOctets ( ) packet = a / b / c / d return packet | SYSTEM INFORMATION TYPE 16 Section 9 . 1 . 43d |
237,205 | def systemInformationType17 ( ) : a = L2PseudoLength ( l2pLength = 0x01 ) b = TpPd ( pd = 0x6 ) c = MessageType ( mesType = 0x3e ) d = Si17RestOctets ( ) packet = a / b / c / d return packet | SYSTEM INFORMATION TYPE 17 Section 9 . 1 . 43e |
237,206 | def talkerIndication ( ) : a = TpPd ( pd = 0x6 ) b = MessageType ( mesType = 0x11 ) c = MobileStationClassmark2 ( ) d = MobileId ( ) packet = a / b / c / d return packet | TALKER INDICATION Section 9 . 1 . 44 |
237,207 | def uplinkBusy ( ) : name = "Uplink Busy" a = TpPd ( pd = 0x6 ) b = MessageType ( mesType = 0x2a ) packet = a / b return packet | UPLINK BUSY Section 9 . 1 . 46 |
237,208 | def vgcsUplinkGrant ( ) : a = TpPd ( pd = 0x6 ) b = MessageType ( mesType = 0x9 ) c = RrCause ( ) d = RequestReference ( ) e = TimingAdvance ( ) packet = a / b / c / d / e return packet | VGCS UPLINK GRANT Section 9 . 1 . 49 |
237,209 | def extendedMeasurementOrder ( ) : a = L2PseudoLength ( l2pLength = 0x12 ) b = TpPd ( pd = 0x6 ) c = MessageType ( mesType = 0x37 ) d = ExtendedMeasurementFrequencyList ( ) packet = a / b / c / d return packet | EXTENDED MEASUREMENT ORDER Section 9 . 1 . 51 |
237,210 | def extendedMeasurementReport ( ) : a = TpPd ( pd = 0x6 ) b = MessageType ( mesType = 0x36 ) c = ExtendedMeasurementResults ( ) packet = a / b / c return packet | EXTENDED MEASUREMENT REPORT Section 9 . 1 . 52 |
237,211 | def applicationInformation ( ) : a = TpPd ( pd = 0x6 ) b = MessageType ( mesType = 0x38 ) c = ApduIDAndApduFlags ( ) e = ApduData ( ) packet = a / b / c / e return packet | APPLICATION INFORMATION Section 9 . 1 . 53 |
237,212 | def authenticationReject ( ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x11 ) packet = a / b return packet | AUTHENTICATION REJECT Section 9 . 2 . 1 |
237,213 | def authenticationRequest ( ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x12 ) c = CiphKeySeqNrAndSpareHalfOctets ( ) d = AuthenticationParameterRAND ( ) packet = a / b / c / d return packet | AUTHENTICATION REQUEST Section 9 . 2 . 2 |
237,214 | def authenticationResponse ( ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x14 ) c = AuthenticationParameterSRES ( ) packet = a / b / c return packet | AUTHENTICATION RESPONSE Section 9 . 2 . 3 |
237,215 | def cmReestablishmentRequest ( LocalAreaId_presence = 0 ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x28 ) c = CiphKeySeqNrAndSpareHalfOctets ( ) e = MobileStationClassmark2 ( ) f = MobileId ( ) if LocalAreaId_presence is 1 : g = LocalAreaId ( iei = 0x13 , eightbit = 0x0 ) packet = packet / g packet = a / b /... | CM RE - ESTABLISHMENT REQUEST Section 9 . 2 . 4 |
237,216 | def cmServiceAccept ( ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x21 ) packet = a / b return packet | CM SERVICE ACCEPT Section 9 . 2 . 5 |
237,217 | def cmServicePrompt ( ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x25 ) c = PdAndSapi ( ) packet = a / b / c return packet | CM SERVICE PROMPT Section 9 . 2 . 5a |
237,218 | def cmServiceAbort ( ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x23 ) packet = a / b return packet | CM SERVICE ABORT Section 9 . 2 . 7 |
237,219 | def abort ( ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x29 ) c = RejectCause ( ) packet = a / b / c return packet | ABORT Section 9 . 2 . 8 |
237,220 | def cmServiceRequest ( PriorityLevel_presence = 0 ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x24 ) c = CmServiceTypeAndCiphKeySeqNr ( ) e = MobileStationClassmark2 ( ) f = MobileId ( ) packet = a / b / c / e / f if PriorityLevel_presence is 1 : g = PriorityLevelHdr ( ieiPL = 0x8 , eightBitPL = 0x0 ) packet ... | CM SERVICE REQUEST Section 9 . 2 . 9 |
237,221 | def identityRequest ( ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x8 ) c = IdentityTypeAndSpareHalfOctets ( ) packet = a / b / c return packet | IDENTITY REQUEST Section 9 . 2 . 10 |
237,222 | def imsiDetachIndication ( ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x1 ) c = MobileStationClassmark1 ( ) d = MobileId ( ) packet = a / b / c / d return packet | IMSI DETACH INDICATION Section 9 . 2 . 12 |
237,223 | def locationUpdatingAccept ( MobileId_presence = 0 , FollowOnProceed_presence = 0 , CtsPermission_presence = 0 ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x02 ) c = LocalAreaId ( ) packet = a / b / c if MobileId_presence is 1 : d = MobileIdHdr ( ieiMI = 0x17 , eightBitMI = 0x0 ) packet = packet / d if Follow... | LOCATION UPDATING ACCEPT Section 9 . 2 . 13 |
237,224 | def locationUpdatingRequest ( ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x8 ) c = LocationUpdatingTypeAndCiphKeySeqNr ( ) e = LocalAreaId ( ) f = MobileStationClassmark1 ( ) g = MobileId ( ) packet = a / b / c / e / f / g return packet | LOCATION UPDATING REQUEST Section 9 . 2 . 15 |
237,225 | def mmInformation ( NetworkName_presence = 0 , NetworkName_presence1 = 0 , TimeZone_presence = 0 , TimeZoneAndTime_presence = 0 , LsaIdentifier_presence = 0 ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x32 ) packet = a / b if NetworkName_presence is 1 : c = NetworkNameHdr ( ieiNN = 0x43 , eightBitNN = 0x0 ) p... | MM INFORMATION Section 9 . 2 . 15a |
237,226 | def tmsiReallocationCommand ( ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x1a ) c = LocalAreaId ( ) d = MobileId ( ) packet = a / b / c / d return packet | TMSI REALLOCATION COMMAND Section 9 . 2 . 17 |
237,227 | def tmsiReallocationComplete ( ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x1b ) packet = a / b return packet | TMSI REALLOCATION COMPLETE Section 9 . 2 . 18 |
237,228 | def mmNull ( ) : a = TpPd ( pd = 0x5 ) b = MessageType ( mesType = 0x30 ) packet = a / b return packet | MM NULL Section 9 . 2 . 19 |
237,229 | def alertingNetToMs ( Facility_presence = 0 , ProgressIndicator_presence = 0 , UserUser_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x1 ) packet = a / b if Facility_presence is 1 : c = FacilityHdr ( ieiF = 0x1C ) packet = packet / c if ProgressIndicator_presence is 1 : d = ProgressIndicatorHdr ( ... | ALERTING Section 9 . 3 . 1 . 1 |
237,230 | def callConfirmed ( RepeatIndicator_presence = 0 , BearerCapability_presence = 0 , BearerCapability_presence1 = 0 , Cause_presence = 0 , CallControlCapabilities_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x8 ) packet = a / b if RepeatIndicator_presence is 1 : c = RepeatIndicatorHdr ( ieiRI = 0xD... | CALL CONFIRMED Section 9 . 3 . 2 |
237,231 | def callProceeding ( RepeatIndicator_presence = 0 , BearerCapability_presence = 0 , BearerCapability_presence1 = 0 , Facility_presence = 0 , ProgressIndicator_presence = 0 , PriorityLevel_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x2 ) packet = a / b if RepeatIndicator_presence is 1 : c = Repea... | CALL PROCEEDING Section 9 . 3 . 3 |
237,232 | def congestionControl ( Cause_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x39 ) c = CongestionLevelAndSpareHalfOctets ( ) packet = a / b / c if Cause_presence is 1 : e = CauseHdr ( ieiC = 0x08 , eightBitC = 0x0 ) packet = packet / e return packet | CONGESTION CONTROL Section 9 . 3 . 4 |
237,233 | def connectNetToMs ( Facility_presence = 0 , ProgressIndicator_presence = 0 , ConnectedNumber_presence = 0 , ConnectedSubaddress_presence = 0 , UserUser_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x7 ) packet = a / b if Facility_presence is 1 : c = FacilityHdr ( ieiF = 0x1C , eightBitF = 0x0 ) p... | CONNECT Section 9 . 3 . 5 . 1 |
237,234 | def connectMsToNet ( Facility_presence = 0 , ConnectedSubaddress_presence = 0 , UserUser_presence = 0 , SsVersionIndicator_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x7 ) packet = a / b if Facility_presence is 1 : c = FacilityHdr ( ieiF = 0x1C , eightBitF = 0x0 ) packet = packet / c if Connecte... | CONNECT Section 9 . 3 . 5 . 2 |
237,235 | def connectAcknowledge ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0xf ) packet = a / b return packet | CONNECT ACKNOWLEDGE Section 9 . 3 . 6 |
237,236 | def disconnectNetToMs ( Facility_presence = 0 , ProgressIndicator_presence = 0 , UserUser_presence = 0 , AllowedActions_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x25 ) c = Cause ( ) packet = a / b / c if Facility_presence is 1 : d = FacilityHdr ( ieiF = 0x1C , eightBitF = 0x0 ) packet = packet... | DISCONNECT Section 9 . 3 . 7 . 1 |
237,237 | def disconnectMsToNet ( Facility_presence = 0 , UserUser_presence = 0 , SsVersionIndicator_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x25 ) c = Cause ( ) packet = a / b / c if Facility_presence is 1 : d = FacilityHdr ( ieiF = 0x1C , eightBitF = 0x0 ) packet = packet / d if UserUser_presence is ... | Disconnect Section 9 . 3 . 7 . 2 |
237,238 | def emergencySetup ( BearerCapability_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0xe ) packet = a / b if BearerCapability_presence is 1 : c = BearerCapabilityHdr ( ieiBC = 0x04 , eightBitBC = 0x0 ) packet = packet / c return packet | EMERGENCY SETUP Section 9 . 3 . 8 |
237,239 | def facilityNetToMs ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x3a ) c = Facility ( ) packet = a / b / c return packet | FACILITY Section 9 . 3 . 9 . 1 |
237,240 | def facilityMsToNet ( SsVersionIndicator_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x3a ) c = Facility ( ) packet = a / b / c if SsVersionIndicator_presence is 1 : d = SsVersionIndicatorHdr ( ieiSVI = 0x7F , eightBitSVI = 0x0 ) packet = packet / d return packet | FACILITY Section 9 . 3 . 9 . 2 |
237,241 | def hold ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x18 ) packet = a / b return packet | HOLD Section 9 . 3 . 10 |
237,242 | def holdAcknowledge ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x19 ) packet = a / b return packet | HOLD ACKNOWLEDGE Section 9 . 3 . 11 |
237,243 | def modify ( LowLayerCompatibility_presence = 0 , HighLayerCompatibility_presence = 0 , ReverseCallSetupDirection_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x17 ) c = BearerCapability ( ) packet = a / b / c if LowLayerCompatibility_presence is 1 : d = LowLayerCompatibilityHdr ( ieiLLC = 0x7C , ... | MODIFY Section 9 . 3 . 13 |
237,244 | def modifyReject ( LowLayerCompatibility_presence = 0 , HighLayerCompatibility_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x13 ) c = BearerCapability ( ) d = Cause ( ) packet = a / b / c / d if LowLayerCompatibility_presence is 1 : e = LowLayerCompatibilityHdr ( ieiLLC = 0x7C , eightBitLLC = 0x0... | MODIFY REJECT Section 9 . 3 . 15 |
237,245 | def notify ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x3e ) c = NotificationIndicator ( ) packet = a / b / c return packet | NOTIFY Section 9 . 3 . 16 |
237,246 | def progress ( UserUser_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x3 ) c = ProgressIndicator ( ) packet = a / b / c if UserUser_presence is 1 : d = UserUserHdr ( ) packet = packet / d return packet | PROGRESS Section 9 . 3 . 17 |
237,247 | def ccEstablishment ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x4 ) c = SetupContainer ( ) packet = a / b / c return packet | CC - ESTABLISHMENT Section 9 . 3 . 17a |
237,248 | def ccEstablishmentConfirmed ( RepeatIndicator_presence = 0 , BearerCapability_presence = 0 , BearerCapability_presence1 = 0 , Cause_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x6 ) packet = a / b if RepeatIndicator_presence is 1 : c = RepeatIndicatorHdr ( ieiRI = 0xD , eightBitRI = 0x0 ) packet... | CC - ESTABLISHMENT CONFIRMED Section 9 . 3 . 17b |
237,249 | def releaseNetToMs ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x2d ) c = CauseHdr ( ieiC = 0x08 , eightBitC = 0x0 ) d = CauseHdr ( ieiC = 0x08 , eightBitC = 0x0 ) e = FacilityHdr ( ieiF = 0x1C , eightBitF = 0x0 ) f = UserUserHdr ( ieiUU = 0x7E , eightBitUU = 0x0 ) packet = a / b / c / d / e / f return pack... | RELEASE Section 9 . 3 . 18 . 1 |
237,250 | def recall ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0xb ) c = RecallType ( ) d = Facility ( ) packet = a / b / c / d return packet | RECALL Section 9 . 3 . 18a |
237,251 | def releaseCompleteNetToMs ( Cause_presence = 0 , Facility_presence = 0 , UserUser_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x2a ) packet = a / b if Cause_presence is 1 : c = CauseHdr ( ieiC = 0x08 , eightBitC = 0x0 ) packet = packet / c if Facility_presence is 1 : d = FacilityHdr ( ieiF = 0x1... | RELEASE COMPLETE Section 9 . 3 . 19 . 1 |
237,252 | def releaseCompleteMsToNet ( Cause_presence = 0 , Facility_presence = 0 , UserUser_presence = 0 , SsVersionIndicator_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x2a ) packet = a / b if Cause_presence is 1 : c = CauseHdr ( ieiC = 0x08 , eightBitC = 0x0 ) packet = packet / c if Facility_presence i... | RELEASE COMPLETE Section 9 . 3 . 19 . 2 |
237,253 | def retrieve ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x1c ) packet = a / b return packet | RETRIEVE Section 9 . 3 . 20 |
237,254 | def retrieveAcknowledge ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x1d ) packet = a / b return packet | RETRIEVE ACKNOWLEDGE Section 9 . 3 . 21 |
237,255 | def startCc ( CallControlCapabilities_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x9 ) packet = a / b if CallControlCapabilities_presence is 1 : c = CallControlCapabilitiesHdr ( ieiCCC = 0x15 , eightBitCCC = 0x0 ) packet = paclet / c return packet | START CC Section 9 . 3 . 23a |
237,256 | def startDtmf ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x35 ) c = KeypadFacilityHdr ( ieiKF = 0x2C , eightBitKF = 0x0 ) packet = a / b / c return packet | START DTMF Section 9 . 3 . 24 |
237,257 | def startDtmfReject ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x37 ) c = Cause ( ) packet = a / b / c return packet | START DTMF REJECT Section 9 . 3 . 26 |
237,258 | def status ( AuxiliaryStates_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x3d ) c = Cause ( ) d = CallState ( ) packet = a / b / c / d if AuxiliaryStates_presence is 1 : e = AuxiliaryStatesHdr ( ieiAS = 0x24 , eightBitAS = 0x0 ) packet = packet / e return packet | STATUS Section 9 . 3 . 27 |
237,259 | def statusEnquiry ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x34 ) packet = a / b return packet | STATUS ENQUIRY Section 9 . 3 . 28 |
237,260 | def stopDtmf ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x31 ) packet = a / b return packet | STOP DTMF Section 9 . 3 . 29 |
237,261 | def stopDtmfAcknowledge ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x32 ) packet = a / b return packet | STOP DTMF ACKNOWLEDGE Section 9 . 3 . 30 |
237,262 | def userInformation ( MoreData_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x20 ) c = UserUser ( ) packet = a / b / c if MoreData_presence is 1 : d = MoreDataHdr ( ieiMD = 0xA0 , eightBitMD = 0x0 ) packet = packet / d return packet | USER INFORMATION Section 9 . 3 . 31 |
237,263 | def attachRequest ( PTmsiSignature_presence = 0 , GprsTimer_presence = 0 , TmsiStatus_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x1 ) c = MsNetworkCapability ( ) d = AttachTypeAndCiphKeySeqNr ( ) f = DrxParameter ( ) g = MobileId ( ) h = RoutingAreaIdentification ( ) i = MsRadioAccessCapability... | ATTACH REQUEST Section 9 . 4 . 1 |
237,264 | def attachAccept ( PTmsiSignature_presence = 0 , GprsTimer_presence = 0 , MobileId_presence = 0 , MobileId_presence1 = 0 , GmmCause_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x2 ) c = AttachResult ( ) d = ForceToStandby ( ) e = GprsTimer ( ) f = RadioPriorityAndSpareHalfOctets ( ) h = RoutingAr... | ATTACH ACCEPT Section 9 . 4 . 2 |
237,265 | def attachComplete ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x3 ) packet = a / b return packet | ATTACH COMPLETE Section 9 . 4 . 3 |
237,266 | def detachRequest ( GmmCause_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x5 ) c = DetachTypeAndForceToStandby ( ) packet = a / b / c if GmmCause_presence is 1 : e = GmmCause ( ieiGC = 0x25 ) packet = packet / e return packet | DETACH REQUEST Section 9 . 4 . 5 |
237,267 | def detachRequestMsOriginating ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x5 ) c = DetachTypeAndSpareHalfOctets ( ) packet = a / b / c return packet | DETACH REQUEST Section 9 . 4 . 5 . 2 |
237,268 | def detachAcceptMsTerminated ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x6 ) packet = a / b return packet | DETACH ACCEPT Section 9 . 4 . 6 . 1 |
237,269 | def detachAcceptMsOriginating ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x6 ) c = ForceToStandbyAndSpareHalfOctets ( ) packet = a / b / c return packet | DETACH ACCEPT Section 9 . 4 . 6 . 2 |
237,270 | def ptmsiReallocationCommand ( PTmsiSignature_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x10 ) c = MobileId ( ) d = RoutingAreaIdentification ( ) e = ForceToStandbyAndSpareHalfOctets ( ) packet = a / b / c / d / e if PTmsiSignature_presence is 1 : g = PTmsiSignature ( ieiPTS = 0x19 ) packet = p... | P - TMSI REALLOCATION COMMAND Section 9 . 4 . 7 |
237,271 | def ptmsiReallocationComplete ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x11 ) packet = a / b return packet | P - TMSI REALLOCATION COMPLETE Section 9 . 4 . 8 |
237,272 | def authenticationAndCipheringRequest ( AuthenticationParameterRAND_presence = 0 , CiphKeySeqNr_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x12 ) d = CipheringAlgorithmAndImeisvRequest ( ) e = ForceToStandbyAndAcReferenceNumber ( ) packet = a / b / d / e if AuthenticationParameterRAND_presence i... | AUTHENTICATION AND CIPHERING REQUEST Section 9 . 4 . 9 |
237,273 | def authenticationAndCipheringResponse ( AuthenticationParameterSRES_presence = 0 , MobileId_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x13 ) c = AcReferenceNumberAndSpareHalfOctets ( ) packet = a / b / c if AuthenticationParameterSRES_presence is 1 : e = AuthenticationParameterSRES ( ieiAPS = ... | AUTHENTICATION AND CIPHERING RESPONSE Section 9 . 4 . 10 |
237,274 | def authenticationAndCipheringReject ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x14 ) packet = a / b return packet | AUTHENTICATION AND CIPHERING REJECT Section 9 . 4 . 11 |
237,275 | def routingAreaUpdateRequest ( PTmsiSignature_presence = 0 , GprsTimer_presence = 0 , DrxParameter_presence = 0 , TmsiStatus_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x8 ) c = UpdateTypeAndCiphKeySeqNr ( ) e = RoutingAreaIdentification ( ) f = MsNetworkCapability ( ) packet = a / b / c / e / f... | ROUTING AREA UPDATE REQUEST Section 9 . 4 . 14 |
237,276 | def routingAreaUpdateAccept ( PTmsiSignature_presence = 0 , MobileId_presence = 0 , MobileId_presence1 = 0 , ReceiveNpduNumbersList_presence = 0 , GprsTimer_presence = 0 , GmmCause_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x9 ) c = ForceToStandbyAndUpdateResult ( ) e = GprsTimer ( ) f = Routin... | ROUTING AREA UPDATE ACCEPT Section 9 . 4 . 15 |
237,277 | def routingAreaUpdateComplete ( ReceiveNpduNumbersList_presence = 0 ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0xa ) packet = a / b if ReceiveNpduNumbersList_presence is 1 : c = ReceiveNpduNumbersList ( ieiRNNL = 0x26 ) packet = packet / c return packet | ROUTING AREA UPDATE COMPLETE Section 9 . 4 . 16 |
237,278 | def routingAreaUpdateReject ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0xb ) c = GmmCause ( ) d = ForceToStandbyAndSpareHalfOctets ( ) packet = a / b / c / d return packet | ROUTING AREA UPDATE REJECT Section 9 . 4 . 17 |
237,279 | def gmmStatus ( ) : a = TpPd ( pd = 0x3 ) b = MessageType ( mesType = 0x20 ) c = GmmCause ( ) packet = a / b / c return packet | GMM STATUS Section 9 . 4 . 18 |
237,280 | def activatePdpContextRequest ( AccessPointName_presence = 0 , ProtocolConfigurationOptions_presence = 0 ) : a = TpPd ( pd = 0x8 ) b = MessageType ( mesType = 0x41 ) c = NetworkServiceAccessPointIdentifier ( ) d = LlcServiceAccessPointIdentifier ( ) e = QualityOfService ( ) f = PacketDataProtocolAddress ( ) packet = a ... | ACTIVATE PDP CONTEXT REQUEST Section 9 . 5 . 1 |
237,281 | def activatePdpContextAccept ( PacketDataProtocolAddress_presence = 0 , ProtocolConfigurationOptions_presence = 0 ) : a = TpPd ( pd = 0x8 ) b = MessageType ( mesType = 0x42 ) c = LlcServiceAccessPointIdentifier ( ) d = QualityOfService ( ) e = RadioPriorityAndSpareHalfOctets ( ) packet = a / b / c / d / e if PacketData... | ACTIVATE PDP CONTEXT ACCEPT Section 9 . 5 . 2 |
237,282 | def requestPdpContextActivation ( AccessPointName_presence = 0 ) : a = TpPd ( pd = 0x8 ) b = MessageType ( mesType = 0x44 ) c = PacketDataProtocolAddress ( ) packet = a / b / c if AccessPointName_presence is 1 : d = AccessPointName ( ieiAPN = 0x28 ) packet = packet / d return packet | REQUEST PDP CONTEXT ACTIVATION Section 9 . 5 . 4 |
237,283 | def requestPdpContextActivationReject ( ) : a = TpPd ( pd = 0x8 ) b = MessageType ( mesType = 0x45 ) c = SmCause ( ) packet = a / b / c return packet | REQUEST PDP CONTEXT ACTIVATION REJECT Section 9 . 5 . 5 |
237,284 | def modifyPdpContextRequest ( ) : a = TpPd ( pd = 0x8 ) b = MessageType ( mesType = 0x48 ) c = RadioPriorityAndSpareHalfOctets ( ) d = LlcServiceAccessPointIdentifier ( ) e = QualityOfService ( ) packet = a / b / c / d / e return packet | MODIFY PDP CONTEXT REQUEST Section 9 . 5 . 6 |
237,285 | def modifyPdpContextAccept ( ) : a = TpPd ( pd = 0x8 ) b = MessageType ( mesType = 0x45 ) packet = a / b return packet | MODIFY PDP CONTEXT ACCEPT Section 9 . 5 . 7 |
237,286 | def deactivatePdpContextAccept ( ) : a = TpPd ( pd = 0x8 ) b = MessageType ( mesType = 0x47 ) packet = a / b return packet | DEACTIVATE PDP CONTEXT ACCEPT Section 9 . 5 . 9 |
237,287 | def activateAaPdpContextRequest ( AccessPointName_presence = 0 , ProtocolConfigurationOptions_presence = 0 , GprsTimer_presence = 0 ) : a = TpPd ( pd = 0x8 ) b = MessageType ( mesType = 0x50 ) c = NetworkServiceAccessPointIdentifier ( ) d = LlcServiceAccessPointIdentifier ( ) e = QualityOfService ( ) f = PacketDataProt... | ACTIVATE AA PDP CONTEXT REQUEST Section 9 . 5 . 10 |
237,288 | def activateAaPdpContextAccept ( ProtocolConfigurationOptions_presence = 0 , GprsTimer_presence = 0 ) : a = TpPd ( pd = 0x8 ) b = MessageType ( mesType = 0x51 ) c = LlcServiceAccessPointIdentifier ( ) d = QualityOfService ( ) e = MobileId ( ) f = PacketDataProtocolAddress ( ) g = RadioPriorityAndSpareHalfOctets ( ) pac... | ACTIVATE AA PDP CONTEXT ACCEPT Section 9 . 5 . 11 |
237,289 | def activateAaPdpContextReject ( ProtocolConfigurationOptions_presence = 0 ) : a = TpPd ( pd = 0x8 ) b = MessageType ( mesType = 0x52 ) c = SmCause ( ) packet = a / b / c if ProtocolConfigurationOptions_presence is 1 : d = ProtocolConfigurationOptions ( ieiPCO = 0x27 ) packet = packet / d return packet | ACTIVATE AA PDP CONTEXT REJECT Section 9 . 5 . 12 |
237,290 | def deactivateAaPdpContextRequest ( ) : a = TpPd ( pd = 0x8 ) b = MessageType ( mesType = 0x53 ) c = AaDeactivationCauseAndSpareHalfOctets ( ) packet = a / b / c return packet | DEACTIVATE AA PDP CONTEXT REQUEST Section 9 . 5 . 13 |
237,291 | def deactivateAaPdpContextAccept ( ) : a = TpPd ( pd = 0x8 ) b = MessageType ( mesType = 0x54 ) packet = a / b return packet | DEACTIVATE AA PDP CONTEXT ACCEPT Section 9 . 5 . 14 |
237,292 | def ls ( obj = None ) : if obj is None : import builtins all = builtins . __dict__ . copy ( ) all . update ( globals ( ) ) objlst = sorted ( conf . layers , key = lambda x : x . __name__ ) for o in objlst : print ( "%-10s : %s" % ( o . __name__ , o . name ) ) else : if isinstance ( obj , type ) and issubclass ( obj , P... | List available layers or infos on a given layer |
237,293 | def haslayer ( self , cls ) : if self . __class__ == cls or self . __class__ . __name__ == cls : return 1 for f in self . packetfields : fvalue_gen = self . getfieldval ( f . name ) if fvalue_gen is None : continue if not f . islist : fvalue_gen = SetGen ( fvalue_gen , _iterpacket = 0 ) for fvalue in fvalue_gen : if is... | true if self has a layer that is an instance of cls . Superseded by cls in self syntax . |
237,294 | def getlayer ( self , cls , nb = 1 , _track = None ) : if type ( cls ) is int : nb = cls + 1 cls = None if type ( cls ) is str and "." in cls : ccls , fld = cls . split ( "." , 1 ) else : ccls , fld = cls , None if cls is None or self . __class__ == cls or self . __class__ . name == ccls : if nb == 1 : if fld is None :... | Return the nb^th layer that is an instance of cls . |
237,295 | def show ( self , indent = 3 , lvl = "" , label_lvl = "" ) : ct = conf . color_theme print ( "%s%s %s %s" % ( label_lvl , ct . punct ( "###[" ) , ct . layer_name ( self . name ) , ct . punct ( "]###" ) ) ) for f in self . fields_desc : if isinstance ( f , ConditionalField ) and not f . _evalcond ( self ) : continue if ... | Prints a hierarchical view of the packet . indent gives the size of indentation for each layer . |
237,296 | def decode_payload_as ( self , cls ) : s = bytes ( self . payload ) self . payload = cls ( s , _internal = 1 , _underlayer = self ) pp = self while pp . underlayer is not None : pp = pp . underlayer self . payload . dissection_done ( pp ) | Reassembles the payload and decode it using another packet class |
237,297 | def libnet ( self ) : print ( "libnet_build_%s(" % self . __class__ . name . lower ( ) ) det = self . __class__ ( str ( self ) ) for f in self . fields_desc : val = det . getfieldval ( f . name ) if val is None : val = 0 elif type ( val ) is int : val = str ( val ) else : val = '"%s"' % str ( val ) print ( "\t%s, \t\t/... | Not ready yet . Should give the necessary C code that interfaces with libnet to recreate the packet |
237,298 | def dissect ( self , b ) : if len ( b ) < 8 : raise ValueError ( "given packet too short" ) return super ( DoIPRawPacket , self ) . dissect ( b ) | Dissect an incoming DoIP packet . |
237,299 | def inet_pton ( af , addr ) : print ( 'hello' ) if af == socket . AF_INET : return inet_aton ( addr ) elif af == socket . AF_INET6 : JOKER = b"*" while b"::" in addr : addr = addr . replace ( b"::" , b":" + JOKER + b":" ) joker_pos = None ipv4_addr = None if b"." in addr : ipv4_addr = addr . split ( b":" ) [ - 1 ] resu... | Convert an IP address from text representation into binary form |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.