Searched refs:rfds (Results 1 – 6 of 6) sorted by relevance
/net-tools-3.6.0/ |
D | echo-server.c | 188 static int udp_receive_and_reply(fd_set *rfds, int fd_recv, int fd_send, in udp_receive_and_reply() argument 192 if (FD_ISSET(fd_recv, rfds)) { in udp_receive_and_reply() 216 static int tcp_receive_and_reply(fd_set *rfds, fd_set *errfds, in tcp_receive_and_reply() argument 224 if (FD_ISSET(fd_recv, rfds)) { in tcp_receive_and_reply() 384 fd_set rfds, errfds; in main() local 516 FD_ZERO(&rfds); in main() 517 FD_SET(fd4, &rfds); in main() 518 FD_SET(fd6, &rfds); in main() 519 FD_SET(fd4m, &rfds); in main() 520 FD_SET(fd6m, &rfds); in main() [all …]
|
D | throughput-client.c | 351 fd_set rfds; in main() local 528 FD_ZERO(&rfds); in main() 529 FD_SET(fd, &rfds); in main() 538 ret = select(fd + 1, &rfds, NULL, NULL, &tv); in main() 552 } else if (!FD_ISSET(fd, &rfds)) { in main()
|
D | echo-client.c | 404 fd_set rfds; in main() local 629 FD_ZERO(&rfds); in main() 630 FD_SET(fd, &rfds); in main() 640 ret = select(fd + 1, &rfds, NULL, NULL, &tv); in main() 662 } else if (!FD_ISSET(fd, &rfds)) { in main()
|
D | coap-client.c | 1574 fd_set rfds; local 1800 FD_ZERO(&rfds); 1801 FD_SET(fd, &rfds); 1841 ret = select(fd + 1, &rfds, NULL, NULL, &tv); 1868 } else if (!FD_ISSET(fd, &rfds)) {
|
/net-tools-3.6.0/tinydtls-0.8.2/tests/ |
D | dtls-client.c | 342 fd_set rfds, wfds; local 473 FD_ZERO(&rfds); 476 FD_SET(fileno(stdin), &rfds); 477 FD_SET(fd, &rfds); 483 result = select(fd+1, &rfds, &wfds, 0, &timeout); 492 else if (FD_ISSET(fd, &rfds)) 494 else if (FD_ISSET(fileno(stdin), &rfds))
|
D | dtls-server.c | 277 fd_set rfds, wfds; local 355 FD_ZERO(&rfds); 358 FD_SET(fd, &rfds); 364 result = select( fd+1, &rfds, &wfds, 0, &timeout); 373 else if (FD_ISSET(fd, &rfds)) {
|