Searched refs:laddrs (Results 1 – 2 of 2) sorted by relevance
/external/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_addrs.c | 94 struct sockaddr *laddrs, *paddrs; in main() local 172 error = sctp_getladdrs(-1, 0, &laddrs); in main() 186 error = sctp_getladdrs(fd, 0, &laddrs); in main() 200 error = sctp_getladdrs(sk1, 0, &laddrs); in main() 209 error = sctp_getladdrs(lstn_sk, 0, &laddrs); in main() 214 addr = (struct sockaddr_in *)laddrs; in main() 223 if ((sctp_freeladdrs(laddrs)) < 0) in main() 257 error = sctp_getpaddrs(sk1, 0, &laddrs); in main()
|
D | test_basic.c | 88 struct sockaddr *laddrs, *paddrs; in main() local 346 n_laddrs = sctp_getladdrs(sk1, associd1, &laddrs); in main() 353 addr_buf = (void *)laddrs; in main() 372 sctp_freeladdrs(laddrs); in main()
|