Searched refs:fd6 (Results 1 – 1 of 1) sorted by relevance
/net-tools-3.4.0/ |
D | echo-server.c | 371 int c, ret, fd4 = 0, fd6 = 0, fd4m = 0, fd6m = 0, tcp4 = 0, tcp6 = 0, in main() local 452 if (fd6) in main() 453 close(fd6); in main() 464 fd6 = get_socket(AF_INET6, IPPROTO_UDP); in main() 472 fd4, fd6, fd4m, fd6m, tcp4, tcp6); in main() 475 bind_device(fd6, interface, &addr6_recv, sizeof(addr6_recv), AF_INET6); in main() 518 FD_SET(fd6, &rfds); in main() 584 if (udp_receive_and_reply(&rfds, fd6, fd6, buf, sizeof(buf), in main() 594 if (udp_receive_and_reply(&rfds, fd6m, fd6, buf, sizeof(buf), in main() 620 close(fd6); in main()
|