Searched refs:pinger (Results 1 – 3 of 3) sorted by relevance
142 ASSERT_EQ(buf->base[i], pinger->pong[pinger->state]); in pinger_read_cb()143 pinger->state = (pinger->state + 1) % strlen(pinger->pong); in pinger_read_cb()222 pinger = malloc(sizeof(*pinger)); in tcp_pinger_v6_new()231 pinger->stream.tcp.data = pinger; in tcp_pinger_v6_new()253 pinger = malloc(sizeof(*pinger)); in tcp_pinger_new()262 pinger->stream.tcp.data = pinger; in tcp_pinger_new()282 pinger = malloc(sizeof(*pinger)); in pipe_pinger_new()291 pinger->stream.pipe.data = pinger; in pipe_pinger_new()309 pinger = malloc(sizeof(*pinger)); in socketpair_pinger_new()326 pinger->stream.pipe.data = pinger; in socketpair_pinger_new()[all …]
64 pinger_t* pinger; in pinger_close_cb() local74 free(pinger); in pinger_close_cb()94 pinger_t* pinger; in pinger_read_cb() local103 pinger->state = (pinger->state + 1) % (sizeof(PING) - 1); in pinger_read_cb()105 pinger->pongs++; in pinger_read_cb()119 pinger_t* pinger = malloc(sizeof(*pinger)); in udp_pinger_new() local123 pinger->state = 0; in udp_pinger_new()124 pinger->pongs = 0; in udp_pinger_new()129 r = uv_udp_bind(&pinger->udp, (const struct sockaddr*) &pinger->server_addr, 0); in udp_pinger_new()132 pinger->udp.data = pinger; in udp_pinger_new()[all …]
80 pinger_t* pinger; in pinger_close_cb() local86 free(pinger); in pinger_close_cb()128 pinger_t* pinger; in pinger_read_cb() local148 pinger->state = (pinger->state + 1) % (sizeof(PING) - 1); in pinger_read_cb()150 pinger->pongs++; in pinger_read_cb()171 pinger_write_ping(pinger); in pinger_connect_cb()182 pinger_t *pinger; in pinger_new() local187 pinger = malloc(sizeof(*pinger)); in pinger_new()188 pinger->state = 0; in pinger_new()189 pinger->pongs = 0; in pinger_new()[all …]
Completed in 9 milliseconds