Home
last modified time | relevance | path

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

/external/ltp/utils/sctp/func_tests/
Dtest_getname.c65 sockaddr_storage_t clt_local_addr, clt_peer_addr; in main() local
127 bzero(&clt_local_addr, sizeof(clt_local_addr)); in main()
128 len = sizeof(clt_local_addr); in main()
130 error = getsockname(clt_sk, (struct sockaddr *)&clt_local_addr, &len); in main()
178 if (svr_peer_addr.v4.sin_port != clt_local_addr.v4.sin_port) in main()
181 svr_peer_addr.v4.sin_port, clt_local_addr.v4.sin_port); in main()
187 if (memcmp(&svr_peer_addr, &clt_local_addr, len) != 0) in main()
196 clt_local_addr.v4.sin_addr.s_addr) in main()
202 bzero(&clt_local_addr, sizeof(clt_local_addr)); in main()
203 len = sizeof(clt_local_addr); in main()
[all …]