Searched refs:svr_local_addr (Results 1 – 1 of 1) sorted by relevance
/third_party/ltp/utils/sctp/func_tests/ |
D | test_getname.c | 65 sockaddr_storage_t svr_local_addr, svr_peer_addr; in main() local 98 memset(&svr_local_addr, 0, sizeof(svr_local_addr)); in main() 99 len = sizeof(svr_local_addr); in main() 101 error = getsockname(svr_sk, (struct sockaddr *)&svr_local_addr, &len); in main() 155 memset(&svr_local_addr, 0, sizeof(svr_local_addr)); in main() 156 len = sizeof(svr_local_addr); in main() 158 error = getsockname(accept_sk, (struct sockaddr *)&svr_local_addr, in main() 177 if (svr_local_addr.v4.sin_port != clt_peer_addr.v4.sin_port) in main() 180 svr_local_addr.v4.sin_port, clt_peer_addr.v4.sin_port); in main() 187 if (memcmp(&svr_local_addr, &clt_peer_addr, len) != 0) in main() [all …]
|