| 161 | } |
| 162 | |
| 163 | NetConnection *NetConnection::lookup(const NetAddress *addr) |
| 164 | { |
| 165 | U32 hashIndex = HashNetAddress(addr); |
| 166 | for(NetConnection *walk = mHashTable[hashIndex]; walk; walk = walk->mNextTableHash) |
| 167 | if(Net::compareAddresses(addr, walk->getNetAddress())) |
| 168 | return walk; |
| 169 | return NULL; |
| 170 | } |
| 171 | |
| 172 | void NetConnection::netAddressTableInsert() |
| 173 | { |
nothing calls this directly
no test coverage detected