Searched refs:socketFamily (Results 1 – 7 of 7) sorted by relevance
/haiku/src/tests/system/network/ipv6/ |
H A D | raw_client.cpp | 22 int socketFamily = AF_INET; in main() local 26 socketFamily = AF_INET; in main() 28 socketFamily = AF_INET6; in main() 31 int fd = socket(socketFamily, SOCK_RAW, TEST_PROTOCOL); in main() 39 if (socketFamily == AF_INET) { in main() 52 socketFamily == AF_INET ? sizeof(sockaddr_in) : sizeof(sockaddr_in6)); in main()
|
H A D | udp_client.cpp | 22 int socketFamily = AF_INET; in main() local 26 socketFamily = AF_INET; in main() 28 socketFamily = AF_INET6; in main() 31 int fd = socket(socketFamily, SOCK_DGRAM, 0); in main() 39 if (socketFamily == AF_INET) { in main() 59 socketFamily == AF_INET ? sizeof(sockaddr_in) : sizeof(sockaddr_in6)); in main()
|
H A D | udp_server.cpp | 49 int socketFamily = AF_INET; in main() local 53 socketFamily = AF_INET; in main() 55 socketFamily = AF_INET6; in main() 58 int fd = socket(socketFamily, SOCK_DGRAM, 0); in main() 66 if (socketFamily == AF_INET) { in main() 78 if (bind(fd, (sockaddr *)&localAddress, socketFamily == AF_INET ? in main()
|
H A D | raw_server.cpp | 52 int socketFamily = AF_INET; in main() local 56 socketFamily = AF_INET; in main() 58 socketFamily = AF_INET6; in main() 61 int fd = socket(socketFamily, SOCK_RAW, TEST_PROTOCOL); in main() 69 if (socketFamily == AF_INET) { in main() 78 if (bind(fd, (sockaddr *)&localAddress, socketFamily == AF_INET ? in main()
|
H A D | multicast_sender.cpp | 22 int socketFamily = AF_INET; in main() local 28 socketFamily = AF_INET; in main() 31 socketFamily = AF_INET6; in main() 47 int fd = socket(socketFamily, SOCK_DGRAM, 0); in main() 55 if (socketFamily == AF_INET) { in main() 81 socketFamily == AF_INET ? sizeof(sockaddr_in) : sizeof(sockaddr_in6)); in main()
|
H A D | tcp_udp_server.cpp | 52 int socketFamily = AF_INET; in main() local 64 socketFamily = AF_INET; in main() 67 socketFamily = AF_INET6; in main() 76 localAddress.ss_family = socketFamily; in main() 99 int fd = socket(socketFamily, socketType, 0); in main()
|
/haiku/src/tests/system/network/ |
H A D | ipv46_server.cpp | 36 int socketFamily = AF_INET; in main() local 49 socketFamily = AF_INET; in main() 52 socketFamily = AF_INET6; in main() 61 localAddress.ss_family = socketFamily; in main() 84 int fd = socket(socketFamily, socketType, 0); in main()
|