Lines Matching defs:socket_listen
100 socket_listen(int domain, int type, int protocol, int backlog,
109 warn("%s: %s: socket_listen: socket(%s, %s)", testclass,
116 "socket_listen") < 0) {
122 warnx("%s: %s: socket_listen: create backlog is %d not %d",
130 warn("%s: %s: socket_listen: listen(, %d)", testclass, test,
137 "socket_listen") < 0) {
143 warnx("%s: %s: socket_listen: listen backlog is %d not %d",
170 if (socket_listen(PF_INET, SOCK_STREAM, 0, 0, 0, 0, &sock, "PF_INET",
179 if (socket_listen(PF_INET, SOCK_STREAM, 0, -1, 0, somaxconn, &sock,
189 if (socket_listen(PF_INET, SOCK_STREAM, 0, 1, 0, 1, &sock, "PF_INET",
198 if (socket_listen(PF_INET, SOCK_STREAM, 0, somaxconn, 0, somaxconn,
208 if (socket_listen(PF_INET, SOCK_STREAM, 0, somaxconn+1, 0, somaxconn,