H A D | udp_pingpong.c | 319 send_pkt(struct test_ctx *tcp, int pnum, int fdidx, const char *face) argument 325 clock_gettime(get_clock_type(tcp), &tcp->test_pkts[pnum].tss[fdidx].sent); 326 r = send(tcp->fds[fdidx], &tcp->test_pkts[pnum], slen, 0); 328 err(1, "%s: %s: send(%d)", tcp->name, face, tcp->fds[fdidx]); 332 tcp->fds[fdidx]); 386 recv_pkt_recvmsg(struct test_ctx *tcp, int fdidx, const char *face, void *buf, argument 406 rval = recvmsg(tcp->fds[fdidx], &msg, 0); 408 err(1, "%s: %s: recvmsg(%d)", tcp->name, face, tcp->fds[fdidx]); 412 tcp->fds[fdidx]); 419 recv_pkt_recv(struct test_ctx *tcp, int fdidx, cons argument 436 recv_pkt(struct test_ctx *tcp, int fdidx, const char *face, int tout) argument [all...] |