Lines Matching defs:userid
1574 bool CPartFile::CanAddSource(uint32 userid, uint16 port, uint32 serverip, uint16 serverport, uint8* pdebug_lowiddropped, bool ed2kID)
1577 //The incoming ID could have the userid in the Hybrid format..
1580 if (IsLowID(userid)) {
1581 hybridID = userid;
1583 hybridID = wxUINT32_SWAP_ALWAYS(userid);
1586 hybridID = userid;
1587 if (!IsLowID(userid)) {
1588 userid = wxUINT32_SWAP_ALWAYS(userid);
1595 if(theApp->GetED2KID() == userid && theApp->serverconnect->GetCurrentServer()->GetIP() == serverip && theApp->serverconnect->GetCurrentServer()->GetPort() == serverport ) {
1598 if(theApp->GetPublicIP() == userid) {
1602 if(theApp->GetED2KID() == userid && thePrefs::GetPort() == port) {
1642 uint32 userid = sources.ReadUInt32();
1654 AddDebugLogLineN(logPartFile, CFormat(wxT("Server didn't provide UserHash for source %u, even if it was expected to (or local obfuscationsettings changed during serverconnect")) % userid);
1656 AddDebugLogLineN(logPartFile, CFormat(wxT("Server provided UserHash for source %u, even if it wasn't expected to (or local obfuscationsettings changed during serverconnect")) % userid);
1662 if (!IsLowID(userid)) {
1664 if ( !IsGoodIP(userid, thePrefs::FilterLanIPs()) ) {
1667 if (theApp->ipfilter->IsFiltered(userid)) {
1672 if (!CanAddSource(userid, port, serverip, serverport, &debug_lowiddropped)) {
1678 CUpDownClient* newsource = new CUpDownClient(port,userid,serverip,serverport,this, true, true);