Searched refs:svr_loop (Results 1 – 9 of 9) sorted by relevance
/third_party/ltp/utils/sctp/func_tests/ |
D | test_connect.c | 63 sockaddr_storage_t svr_loop, clt_loop1, clt_loop2, clt_loop3; in main() local 80 svr_loop.v4.sin_family = AF_INET; in main() 81 svr_loop.v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() 82 svr_loop.v4.sin_port = htons(SCTP_TESTPORT_1); in main() 95 test_bind(svr_sk, &svr_loop.sa, sizeof(svr_loop)); in main() 119 error = connect(clt_sk1, &svr_loop.sa, sizeof(svr_loop)); in main() 130 error = connect(clt_sk1, &svr_loop.sa, sizeof(svr_loop)); in main() 170 test_connect(clt_sk2, &svr_loop.sa, sizeof(svr_loop)); in main()
|
D | test_getname.c | 64 sockaddr_storage_t svr_loop, accept_loop; in main() local 84 svr_loop.v6.sin6_family = AF_INET6; in main() 85 svr_loop.v6.sin6_addr = (struct in6_addr)SCTP_IN6ADDR_ANY_INIT; in main() 86 svr_loop.v6.sin6_port = htons(SCTP_TESTPORT_1); in main() 89 svr_loop.v4.sin_family = AF_INET; in main() 90 svr_loop.v4.sin_addr.s_addr = INADDR_ANY; in main() 91 svr_loop.v4.sin_port = htons(SCTP_TESTPORT_1); in main() 96 test_bind(svr_sk, &svr_loop.sa, sizeof(svr_loop)); in main() 125 svr_loop.v6.sin6_addr = in6addr_loopback; in main() 127 svr_loop.v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() [all …]
|
D | test_tcp_style.c | 67 sockaddr_storage_t svr_loop, accept_loop, clt2_loop; in main() local 96 svr_loop.v6.sin6_family = AF_INET6; in main() 97 svr_loop.v6.sin6_addr = in6addr_loopback; in main() 98 svr_loop.v6.sin6_port = htons(SCTP_TESTPORT_1); in main() 109 svr_loop.v4.sin_family = AF_INET; in main() 110 svr_loop.v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() 111 svr_loop.v4.sin_port = htons(SCTP_TESTPORT_1); in main() 124 test_bind(listen_sk, &svr_loop.sa, sizeof(svr_loop)); in main() 157 test_connect(clt_sk[i], &svr_loop.sa, sizeof(svr_loop)); in main() 164 error = connect(clt2_sk, &svr_loop.sa, sizeof(svr_loop)); in main() [all …]
|
D | test_recvmsg.c | 66 struct sockaddr_in svr_loop, clt_loop; in main() local 83 svr_loop.sin_family = AF_INET; in main() 84 svr_loop.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() 85 svr_loop.sin_port = htons(SCTP_TESTPORT_1); in main() 92 test_bind(svr_sk, (struct sockaddr *)&svr_loop, sizeof(svr_loop)); in main() 107 outmessage.msg_name = &svr_loop; in main() 108 outmessage.msg_namelen = sizeof(svr_loop); in main()
|
D | test_1_to_1_events.c | 57 struct sockaddr_in svr_loop, clt_loop,acpt_loop; in main() local 81 svr_loop.sin_family = AF_INET; in main() 82 svr_loop.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() 83 svr_loop.sin_port = htons(SCTP_TESTPORT_1); in main() 91 test_bind(svr_sk, (struct sockaddr *) &svr_loop, sizeof(svr_loop)); in main() 113 outmessage.msg_name = &svr_loop; in main() 114 outmessage.msg_namelen = sizeof(svr_loop); in main()
|
D | test_peeloff.c | 67 sockaddr_storage_t svr_loop, clt_loop[MAX_CLIENTS]; in main() local 95 svr_loop.v6.sin6_family = AF_INET6; in main() 96 svr_loop.v6.sin6_addr = in6addr_loopback; in main() 97 svr_loop.v6.sin6_port = htons(SCTP_TESTPORT_1); in main() 100 svr_loop.v4.sin_family = AF_INET; in main() 101 svr_loop.v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() 102 svr_loop.v4.sin_port = htons(SCTP_TESTPORT_1); in main() 107 test_bind(svr_sk, &svr_loop.sa, sizeof(svr_loop)); in main() 135 outmessage.msg_name = &svr_loop; in main() 136 outmessage.msg_namelen = sizeof(svr_loop); in main()
|
D | test_assoc_abort.c | 68 sockaddr_storage_t svr_loop, clt_loop[MAX_CLIENTS]; in main() local 98 svr_loop.v4.sin_family = AF_INET; in main() 99 svr_loop.v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() 100 svr_loop.v4.sin_port = htons(SCTP_TESTPORT_1); in main() 101 test_bind(svr_sk, &svr_loop.sa, sizeof(svr_loop)); in main() 122 outmessage.msg_name = &svr_loop; in main() 123 outmessage.msg_namelen = sizeof(svr_loop); in main()
|
D | test_assoc_shutdown.c | 68 sockaddr_storage_t svr_loop, clt_loop[MAX_CLIENTS]; in main() local 98 svr_loop.v4.sin_family = AF_INET; in main() 99 svr_loop.v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() 100 svr_loop.v4.sin_port = htons(SCTP_TESTPORT_1); in main() 101 test_bind(svr_sk, &svr_loop.sa, sizeof(svr_loop)); in main() 122 outmessage.msg_name = &svr_loop; in main() 123 outmessage.msg_namelen = sizeof(svr_loop); in main()
|
D | test_connectx.c | 78 struct sockaddr_in svr_loop[NUMADDR]; in main() local 95 svr_loop[i].sin_family = AF_INET; in main() 96 svr_loop[i].sin_addr.s_addr = SCTP_IP_LOOPBACK_I(i); in main() 97 svr_loop[i].sin_port = htons(SCTP_TESTPORT_1); in main() 128 test_bind(svr_sk, (struct sockaddr *)&svr_loop[0], sizeof(svr_loop[0])); in main() 129 test_bindx_add(svr_sk, (struct sockaddr *)&svr_loop[1], NUMADDR-1); in main()
|