| 177 | } |
| 178 | |
| 179 | void NetConnection::netAddressTableRemove() |
| 180 | { |
| 181 | U32 hashIndex = HashNetAddress(&mNetAddress); |
| 182 | NetConnection **walk = &mHashTable[hashIndex]; |
| 183 | while(*walk) |
| 184 | { |
| 185 | if(*walk == this) |
| 186 | { |
| 187 | *walk = mNextTableHash; |
| 188 | mNextTableHash = NULL; |
| 189 | return; |
| 190 | } |
| 191 | walk = &((*walk)->mNextTableHash); |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | void NetConnection::setNetAddress(const NetAddress *addr) |
| 196 | { |
nothing calls this directly
no test coverage detected