Home
last modified time | relevance | path

Searched refs:socketFamily (Results 1 – 7 of 7) sorted by relevance

/haiku/src/tests/system/network/ipv6/
H A Draw_client.cpp22 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 Dudp_client.cpp22 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 Dudp_server.cpp49 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 Draw_server.cpp52 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 Dmulticast_sender.cpp22 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 Dtcp_udp_server.cpp52 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 Dipv46_server.cpp36 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()