Searched refs:svr_local_addr (Results 1 – 1 of 1) sorted by relevance
/external/ltp/utils/sctp/func_tests/ |
D | test_getname.c | 64 sockaddr_storage_t svr_local_addr, svr_peer_addr; in main() local 94 bzero(&svr_local_addr, sizeof(svr_local_addr)); in main() 95 len = sizeof(svr_local_addr); in main() 97 error = getsockname(svr_sk, (struct sockaddr *)&svr_local_addr, &len); in main() 151 bzero(&svr_local_addr, sizeof(svr_local_addr)); in main() 152 len = sizeof(svr_local_addr); in main() 154 error = getsockname(accept_sk, (struct sockaddr *)&svr_local_addr, 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() [all …]
|