Home
last modified time | relevance | path

Searched refs:clt_peer_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
137 bzero(&clt_peer_addr, sizeof(clt_peer_addr)); in main()
138 len = sizeof(clt_peer_addr); in main()
140 error = getpeername(clt_sk, (struct sockaddr *)&clt_peer_addr, &len); in main()
173 if (svr_local_addr.v4.sin_port != clt_peer_addr.v4.sin_port) in main()
176 svr_local_addr.v4.sin_port, clt_peer_addr.v4.sin_port); in main()
183 if (memcmp(&svr_local_addr, &clt_peer_addr, len) != 0) in main()
192 clt_peer_addr.v4.sin_addr.s_addr) in main()
237 bzero(&clt_peer_addr, sizeof(clt_peer_addr)); in main()
238 len = sizeof(clt_peer_addr); in main()