Searched refs:test_bind (Results 1 – 2 of 2) sorted by relevance
/openbsd-src/regress/sys/netinet/broadcast_bind/ |
H A D | broadcast_bind.c | 34 test_bind(char *paddr, struct in_addr *addr, u_int16_t port, int type, in test_bind() function 101 rc |= test_bind(argv[1], &uc_addr, port, SOCK_STREAM, 0); in main() 102 rc |= test_bind(argv[2], &err_addr, port, SOCK_STREAM, EADDRNOTAVAIL); in main() 103 rc |= test_bind(argv[3], &bc_addr, port, SOCK_STREAM, EADDRNOTAVAIL); in main() 105 rc |= test_bind(argv[2], &err_addr, port, SOCK_STREAM, EADDRNOTAVAIL); in main() 106 rc |= test_bind(argv[3], &bc_addr, port, SOCK_DGRAM, 0); in main()
|
/openbsd-src/regress/sys/kern/unixsockets/ |
H A D | unixsock_test.c | 20 test_bind(struct sockaddr_un *sun, socklen_t slen) in test_bind() function 111 if (test_bind(sun, slen + 2) != t[i].r) { in main() 116 if (test_bind(sun, slen + 3) != t[i].r) { in main() 122 test_bind(sun, sizeof(*sun)) != t[i].r) { in main() 128 if (test_bind(sun, slen + 2) != t[i].r) { in main()
|