| 926 | //----------------------------------------------------------------------------- |
| 927 | |
| 928 | static S32 countPingRequests() |
| 929 | { |
| 930 | // Need a function here because the ping list also includes |
| 931 | // broadcast pings we don't want counted. |
| 932 | U32 pSize = gPingList.size(), count = pSize; |
| 933 | for (U32 i = 0; i < pSize; i++) |
| 934 | if (gPingList[i].broadcast) |
| 935 | count--; |
| 936 | return count; |
| 937 | } |
| 938 | |
| 939 | |
| 940 | //----------------------------------------------------------------------------- |
no test coverage detected