.set noreorder #include "pspimport.s" # Every function of the networking libraries that PPSSPP knows the NID of, so tests can call any of # them without touching this file. Declared here rather than taken from the SDK's stubs, which have # broken function counts for sceNet. IMPORT_START "sceNet",0x00090000 IMPORT_FUNC "sceNet",0x39AF39A6,sceNetInit IMPORT_FUNC "sceNet",0x281928A9,sceNetTerm IMPORT_FUNC "sceNet",0x89360950,sceNetEtherNtostr IMPORT_FUNC "sceNet",0xD27961C9,sceNetEtherStrton IMPORT_FUNC "sceNet",0x0BF0A3AE,sceNetGetLocalEtherAddr IMPORT_FUNC "sceNet",0x50647530,sceNetFreeThreadinfo IMPORT_FUNC "sceNet",0xCC393E48,sceNetGetMallocStat IMPORT_FUNC "sceNet",0xAD6844C6,sceNetThreadAbort IMPORT_START "sceNetInet",0x00090000 IMPORT_FUNC "sceNetInet",0x17943399,sceNetInetInit IMPORT_FUNC "sceNetInet",0x4CFE4E56,sceNetInetShutdown IMPORT_FUNC "sceNetInet",0xA9ED66B9,sceNetInetTerm IMPORT_FUNC "sceNetInet",0x8B7B220F,sceNetInetSocket IMPORT_FUNC "sceNetInet",0x2FE71FE7,sceNetInetSetsockopt IMPORT_FUNC "sceNetInet",0x4A114C7C,sceNetInetGetsockopt IMPORT_FUNC "sceNetInet",0x410B34AA,sceNetInetConnect IMPORT_FUNC "sceNetInet",0x805502DD,sceNetInetCloseWithRST IMPORT_FUNC "sceNetInet",0xD10A1A7A,sceNetInetListen IMPORT_FUNC "sceNetInet",0xDB094E1B,sceNetInetAccept IMPORT_FUNC "sceNetInet",0xFAABB1DD,sceNetInetPoll IMPORT_FUNC "sceNetInet",0x5BE8D595,sceNetInetSelect IMPORT_FUNC "sceNetInet",0x8D7284EA,sceNetInetClose IMPORT_FUNC "sceNetInet",0xCDA85C99,sceNetInetRecv IMPORT_FUNC "sceNetInet",0xC91142E4,sceNetInetRecvfrom IMPORT_FUNC "sceNetInet",0xEECE61D2,sceNetInetRecvmsg IMPORT_FUNC "sceNetInet",0x7AA671BC,sceNetInetSend IMPORT_FUNC "sceNetInet",0x05038FC7,sceNetInetSendto IMPORT_FUNC "sceNetInet",0x774E36F4,sceNetInetSendmsg IMPORT_FUNC "sceNetInet",0xFBABE411,sceNetInetGetErrno IMPORT_FUNC "sceNetInet",0x1A33F9AE,sceNetInetBind IMPORT_FUNC "sceNetInet",0xB75D5B0A,sceNetInetInetAddr IMPORT_FUNC "sceNetInet",0x1BDF5D13,sceNetInetInetAton IMPORT_FUNC "sceNetInet",0xD0792666,sceNetInetInetNtop IMPORT_FUNC "sceNetInet",0xE30B8C19,sceNetInetInetPton IMPORT_FUNC "sceNetInet",0x8CA3A97E,sceNetInetGetPspError IMPORT_FUNC "sceNetInet",0xE247B6D6,sceNetInetGetpeername IMPORT_FUNC "sceNetInet",0x162E6FD5,sceNetInetGetsockname IMPORT_FUNC "sceNetInet",0x80A21ABD,sceNetInetSocketAbort IMPORT_FUNC "sceNetInet",0x39B0C7D3,sceNetInetGetUdpcbstat IMPORT_FUNC "sceNetInet",0xB3888AD4,sceNetInetGetTcpcbstat IMPORT_FUNC "sceNetInet",0x2D5868C0,sceNetInetDelArp IMPORT_FUNC "sceNetInet",0xCCC18C45,sceNetInetAddArp IMPORT_START "sceNetApctl",0x00090000 IMPORT_FUNC "sceNetApctl",0xCFB957C6,sceNetApctlConnect IMPORT_FUNC "sceNetApctl",0x24FE91A1,sceNetApctlDisconnect IMPORT_FUNC "sceNetApctl",0x5DEAC81B,sceNetApctlGetState IMPORT_FUNC "sceNetApctl",0x8ABADD51,sceNetApctlAddHandler IMPORT_FUNC "sceNetApctl",0xE2F91F9B,sceNetApctlInit IMPORT_FUNC "sceNetApctl",0x5963991B,sceNetApctlDelHandler IMPORT_FUNC "sceNetApctl",0xB3EDD0EC,sceNetApctlTerm IMPORT_FUNC "sceNetApctl",0x2BEFDF23,sceNetApctlGetInfo IMPORT_FUNC "sceNetApctl",0xA3E77E13,sceNetApctlScanSSID2 IMPORT_FUNC "sceNetApctl",0xE9B2E5E6,sceNetApctlScanUser IMPORT_FUNC "sceNetApctl",0xF25A5006,sceNetApctlGetBSSDescIDList2 IMPORT_FUNC "sceNetApctl",0x2935C45B,sceNetApctlGetBSSDescEntry2 IMPORT_FUNC "sceNetApctl",0x04776994,sceNetApctlGetBSSDescEntryUser IMPORT_FUNC "sceNetApctl",0x6BDDCB8C,sceNetApctlGetBSSDescIDListUser IMPORT_FUNC "sceNetApctl",0x7CFAB990,sceNetApctlAddInternalHandler IMPORT_FUNC "sceNetApctl",0xE11BAFAB,sceNetApctlDelInternalHandler IMPORT_FUNC "sceNetApctl",0xA7BB73DF,sceNetApctlAddInternal03Handler IMPORT_FUNC "sceNetApctl",0x6F5D2981,sceNetApctlDelInternal03Handler IMPORT_FUNC "sceNetApctl",0x69745F0A,sceNetApctl_lib2_69745F0A IMPORT_FUNC "sceNetApctl",0x4C19731F,sceNetApctl_lib2_4C19731F IMPORT_FUNC "sceNetApctl",0xB3CF6849,sceNetApctlScan IMPORT_FUNC "sceNetApctl",0x0C7FFA5C,sceNetApctlGetBSSDescIDList IMPORT_FUNC "sceNetApctl",0x96BEB231,sceNetApctlGetBSSDescEntry IMPORT_FUNC "sceNetApctl",0xC20A144C,sceNetApctl_lib2_C20A144C IMPORT_START "sceNetResolver",0x00090000 IMPORT_FUNC "sceNetResolver",0x224C5F44,sceNetResolverStartNtoA IMPORT_FUNC "sceNetResolver",0x244172AF,sceNetResolverCreate IMPORT_FUNC "sceNetResolver",0x94523E09,sceNetResolverDelete IMPORT_FUNC "sceNetResolver",0xF3370E61,sceNetResolverInit IMPORT_FUNC "sceNetResolver",0x808F6063,sceNetResolverStop IMPORT_FUNC "sceNetResolver",0x6138194A,sceNetResolverTerm IMPORT_FUNC "sceNetResolver",0x629E2FB7,sceNetResolverStartAtoN IMPORT_FUNC "sceNetResolver",0x14C17EF9,sceNetResolverStartNtoAAsync IMPORT_FUNC "sceNetResolver",0xAAC09184,sceNetResolverStartAtoNAsync IMPORT_FUNC "sceNetResolver",0x12748EB9,sceNetResolverWaitAsync IMPORT_FUNC "sceNetResolver",0x4EE99358,sceNetResolverPollAsync IMPORT_START "sceNetAdhoc",0x00090000 IMPORT_FUNC "sceNetAdhoc",0xE1D621D7,sceNetAdhocInit IMPORT_FUNC "sceNetAdhoc",0xA62C6F57,sceNetAdhocTerm IMPORT_FUNC "sceNetAdhoc",0x6F92741B,sceNetAdhocPdpCreate IMPORT_FUNC "sceNetAdhoc",0xABED3790,sceNetAdhocPdpSend IMPORT_FUNC "sceNetAdhoc",0xDFE53E03,sceNetAdhocPdpRecv IMPORT_FUNC "sceNetAdhoc",0x7F27BB5E,sceNetAdhocPdpDelete IMPORT_FUNC "sceNetAdhoc",0xC7C1FC57,sceNetAdhocGetPdpStat IMPORT_FUNC "sceNetAdhoc",0x157E6225,sceNetAdhocPtpClose IMPORT_FUNC "sceNetAdhoc",0x4DA4C788,sceNetAdhocPtpSend IMPORT_FUNC "sceNetAdhoc",0x877F6D66,sceNetAdhocPtpOpen IMPORT_FUNC "sceNetAdhoc",0x8BEA2B3E,sceNetAdhocPtpRecv IMPORT_FUNC "sceNetAdhoc",0x9DF81198,sceNetAdhocPtpAccept IMPORT_FUNC "sceNetAdhoc",0xE08BDAC1,sceNetAdhocPtpListen IMPORT_FUNC "sceNetAdhoc",0xFC6FC07B,sceNetAdhocPtpConnect IMPORT_FUNC "sceNetAdhoc",0x9AC2EEAC,sceNetAdhocPtpFlush IMPORT_FUNC "sceNetAdhoc",0xB9685118,sceNetAdhocGetPtpStat IMPORT_FUNC "sceNetAdhoc",0x3278AB0C,sceNetAdhocGameModeCreateReplica IMPORT_FUNC "sceNetAdhoc",0x98C204C8,sceNetAdhocGameModeUpdateMaster IMPORT_FUNC "sceNetAdhoc",0xFA324B4E,sceNetAdhocGameModeUpdateReplica IMPORT_FUNC "sceNetAdhoc",0xA0229362,sceNetAdhocGameModeDeleteMaster IMPORT_FUNC "sceNetAdhoc",0x0B2228E9,sceNetAdhocGameModeDeleteReplica IMPORT_FUNC "sceNetAdhoc",0x7F75C338,sceNetAdhocGameModeCreateMaster IMPORT_FUNC "sceNetAdhoc",0x73BFD52D,sceNetAdhocSetSocketAlert IMPORT_FUNC "sceNetAdhoc",0x4D2CE199,sceNetAdhocGetSocketAlert IMPORT_FUNC "sceNetAdhoc",0x7A662D6B,sceNetAdhocPollSocket IMPORT_START "sceNetAdhocctl",0x00090000 IMPORT_FUNC "sceNetAdhocctl",0xE26F226E,sceNetAdhocctlInit IMPORT_FUNC "sceNetAdhocctl",0x9D689E13,sceNetAdhocctlTerm IMPORT_FUNC "sceNetAdhocctl",0x20B317A0,sceNetAdhocctlAddHandler IMPORT_FUNC "sceNetAdhocctl",0x6402490B,sceNetAdhocctlDelHandler IMPORT_FUNC "sceNetAdhocctl",0x34401D65,sceNetAdhocctlDisconnect IMPORT_FUNC "sceNetAdhocctl",0x0AD043ED,sceNetAdhocctlConnect IMPORT_FUNC "sceNetAdhocctl",0x08FFF7A0,sceNetAdhocctlScan IMPORT_FUNC "sceNetAdhocctl",0x75ECD386,sceNetAdhocctlGetState IMPORT_FUNC "sceNetAdhocctl",0x8916C003,sceNetAdhocctlGetNameByAddr IMPORT_FUNC "sceNetAdhocctl",0xDED9D28E,sceNetAdhocctlGetParameter IMPORT_FUNC "sceNetAdhocctl",0x81AEE1BE,sceNetAdhocctlGetScanInfo IMPORT_FUNC "sceNetAdhocctl",0x5E7F79C9,sceNetAdhocctlJoin IMPORT_FUNC "sceNetAdhocctl",0x8DB83FDC,sceNetAdhocctlGetPeerInfo IMPORT_FUNC "sceNetAdhocctl",0xEC0635C1,sceNetAdhocctlCreate IMPORT_FUNC "sceNetAdhocctl",0xA5C055CE,sceNetAdhocctlCreateEnterGameMode IMPORT_FUNC "sceNetAdhocctl",0x1FF89745,sceNetAdhocctlJoinEnterGameMode IMPORT_FUNC "sceNetAdhocctl",0xCF8E084D,sceNetAdhocctlExitGameMode IMPORT_FUNC "sceNetAdhocctl",0xE162CB14,sceNetAdhocctlGetPeerList IMPORT_FUNC "sceNetAdhocctl",0x362CBE8F,sceNetAdhocctlGetAdhocId IMPORT_FUNC "sceNetAdhocctl",0x5A014CE0,sceNetAdhocctlGetGameModeInfo IMPORT_FUNC "sceNetAdhocctl",0x99560ABE,sceNetAdhocctlGetAddrByName IMPORT_FUNC "sceNetAdhocctl",0xB0B80E80,sceNetAdhocctlCreateEnterGameModeMin IMPORT_START "sceNetAdhocMatching",0x00090000 IMPORT_FUNC "sceNetAdhocMatching",0x2A2A1E07,sceNetAdhocMatchingInit IMPORT_FUNC "sceNetAdhocMatching",0x7945ECDA,sceNetAdhocMatchingTerm IMPORT_FUNC "sceNetAdhocMatching",0xCA5EDA6F,sceNetAdhocMatchingCreate IMPORT_FUNC "sceNetAdhocMatching",0x93EF3843,sceNetAdhocMatchingStart IMPORT_FUNC "sceNetAdhocMatching",0xE8454C65,sceNetAdhocMatchingStart2 IMPORT_FUNC "sceNetAdhocMatching",0x32B156B3,sceNetAdhocMatchingStop IMPORT_FUNC "sceNetAdhocMatching",0xF16EAF4F,sceNetAdhocMatchingDelete IMPORT_FUNC "sceNetAdhocMatching",0x5E3D4B79,sceNetAdhocMatchingSelectTarget IMPORT_FUNC "sceNetAdhocMatching",0xEA3C6108,sceNetAdhocMatchingCancelTarget IMPORT_FUNC "sceNetAdhocMatching",0x8F58BEDF,sceNetAdhocMatchingCancelTargetWithOpt IMPORT_FUNC "sceNetAdhocMatching",0xB5D96C2A,sceNetAdhocMatchingGetHelloOpt IMPORT_FUNC "sceNetAdhocMatching",0xB58E61B7,sceNetAdhocMatchingSetHelloOpt IMPORT_FUNC "sceNetAdhocMatching",0xC58BCD9E,sceNetAdhocMatchingGetMembers IMPORT_FUNC "sceNetAdhocMatching",0xF79472D7,sceNetAdhocMatchingSendData IMPORT_FUNC "sceNetAdhocMatching",0xEC19337D,sceNetAdhocMatchingAbortSendData IMPORT_FUNC "sceNetAdhocMatching",0x40F8F435,sceNetAdhocMatchingGetPoolMaxAlloc IMPORT_FUNC "sceNetAdhocMatching",0x9C5CFB7D,sceNetAdhocMatchingGetPoolStat IMPORT_START "sceNetAdhocDiscover",0x00090000 IMPORT_FUNC "sceNetAdhocDiscover",0x941B3877,sceNetAdhocDiscoverInitStart IMPORT_FUNC "sceNetAdhocDiscover",0x52DE1B97,sceNetAdhocDiscoverUpdate IMPORT_FUNC "sceNetAdhocDiscover",0x944DDBC6,sceNetAdhocDiscoverGetStatus IMPORT_FUNC "sceNetAdhocDiscover",0xA2246614,sceNetAdhocDiscoverTerm IMPORT_FUNC "sceNetAdhocDiscover",0xF7D13214,sceNetAdhocDiscoverStop IMPORT_FUNC "sceNetAdhocDiscover",0xA423A21B,sceNetAdhocDiscoverRequestSuspend IMPORT_START "sceWlanDrv",0x00090000 IMPORT_FUNC "sceWlanDrv",0xD7763699,sceWlanGetSwitchState IMPORT_FUNC "sceWlanDrv",0x0C622081,sceWlanGetEtherAddr IMPORT_FUNC "sceWlanDrv",0x93440B11,sceWlanDevIsPowerOn