Lines Matching defs:pongs
44 unsigned pongs;
72 ASSERT_EQ(NUM_PINGS, pinger->pongs);
140 /* Now we count the pongs */
148 printf("PONG %d\n", pinger->pongs);
149 pinger->pongs++;
151 if (pinger->pongs < NUM_PINGS) {
226 pinger->pongs = 0;
229 /* Try to connect to the server and do NUM_PINGS ping-pongs. */
257 pinger->pongs = 0;
260 /* Try to connect to the server and do NUM_PINGS ping-pongs. */
286 pinger->pongs = 0;
289 /* Try to connect to the server and do NUM_PINGS ping-pongs. */
313 pinger->pongs = 0;
316 /* Try to make a socketpair and do NUM_PINGS ping-pongs. */
365 pinger->pongs = 0;