Searched refs:fd4m (Results 1 – 1 of 1) sorted by relevance
/net-tools-2.7.6/ |
D | echo-server.c | 371 int c, ret, fd4 = 0, fd6 = 0, fd4m = 0, fd6m = 0, tcp4 = 0, tcp6 = 0, in main() local 454 if (fd4m) in main() 455 close(fd4m); in main() 465 fd4m = get_socket(AF_INET, IPPROTO_UDP); in main() 472 fd4, fd6, fd4m, fd6m, tcp4, tcp6); in main() 477 bind_device(fd4m, interface, &maddr4, sizeof(maddr4), AF_INET); in main() 480 join_mc_group(fd4m, ifindex, AF_INET, &maddr4, sizeof(maddr4)); in main() 519 FD_SET(fd4m, &rfds); in main() 589 if (udp_receive_and_reply(&rfds, fd4m, fd4, buf, sizeof(buf), in main() 621 close(fd4m); in main()
|