Searched refs:clt_loop1 (Results 1 – 2 of 2) sorted by relevance
/external/ltp/utils/sctp/func_tests/ |
D | test_connect.c | 62 sockaddr_storage_t svr_loop, clt_loop1, clt_loop2, clt_loop3; in main() local 79 clt_loop1.v4.sin_family = AF_INET; in main() 80 clt_loop1.v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() 81 clt_loop1.v4.sin_port = htons(SCTP_TESTPORT_2); in main() 98 test_bind(clt_sk1, &clt_loop1.sa, sizeof(clt_loop1)); in main() 203 error = connect(svr_sk, &clt_loop1.sa, sizeof(clt_loop1)); in main()
|
D | test_connectx.c | 79 struct sockaddr_in clt_loop1[NUMADDR]; in main() local 105 clt_loop1[i].sin_family = AF_INET; in main() 106 clt_loop1[i].sin_addr.s_addr = SCTP_IP_LOOPBACK_I(i + 0x100); in main() 107 clt_loop1[i].sin_port = htons(SCTP_TESTPORT_2); in main() 132 test_bind(clt_sk1, (struct sockaddr *)&clt_loop1[0], sizeof(clt_loop1)); in main() 133 test_bindx_add(clt_sk1, (struct sockaddr *)&clt_loop1[1], NUMADDR-1); in main() 245 error = sctp_connectx(svr_sk, (struct sockaddr *)clt_loop1, NUMADDR, in main()
|