Searched refs:waitms (Results 1 – 1 of 1) sorted by relevance
193 int waitms = INT_MAX; in ping_main() local199 if (0>=(waitms = tW-tnow) || !(TT.sent-TT.recv)) break; in ping_main()200 waitms = tW-tnow; in ping_main()204 else if (waitms>tw-tnow) waitms = tw-tnow; in ping_main()226 waitms = 1; // check for immediate return even when W=0 in ping_main()231 if (!tW && waitms>tnext-tnow) waitms = tnext-tnow; in ping_main()235 if (waitms<0) waitms = 0; in ping_main()236 if (!(len = xrecvwait(TT.sock, toybuf, sizeof(toybuf), &srcaddr2, waitms))) in ping_main()