Searched refs:maddr4 (Results 1 – 1 of 1) sorted by relevance
/net-tools-3.7.0/ |
D | echo-server.c | 378 struct sockaddr_in addr4_recv = { 0 }, maddr4 = { 0 }; in main() local 445 memcpy(&maddr4.sin_addr, &mcast4_addr, sizeof(struct in_addr)); in main() 446 maddr4.sin_family = AF_INET; in main() 447 maddr4.sin_port = htons(port); 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()
|