Lines Matching refs:yes
305 int yes; in uv__sock_reuseaddr() local
306 yes = 1; in uv__sock_reuseaddr()
314 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes))) in uv__sock_reuseaddr()
317 if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes))) in uv__sock_reuseaddr()
322 if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes))) in uv__sock_reuseaddr()
325 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes))) in uv__sock_reuseaddr()
340 int yes; in uv__set_recverr() local
342 yes = 1; in uv__set_recverr()
344 if (setsockopt(fd, IPPROTO_IP, IP_RECVERR, &yes, sizeof(yes))) in uv__set_recverr()
347 if (setsockopt(fd, IPPROTO_IPV6, IPV6_RECVERR, &yes, sizeof(yes))) in uv__set_recverr()
360 int yes; in uv__udp_bind() local
401 yes = 1; in uv__udp_bind()
402 if (setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, &yes, sizeof yes) == -1) { in uv__udp_bind()