Lines Matching refs:yes
464 int yes; in uv__sock_reuseaddr() local
465 yes = 1; in uv__sock_reuseaddr()
473 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes))) in uv__sock_reuseaddr()
476 if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes))) in uv__sock_reuseaddr()
481 if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes))) in uv__sock_reuseaddr()
484 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes))) in uv__sock_reuseaddr()
499 int yes; in uv__set_recverr() local
501 yes = 1; in uv__set_recverr()
503 if (setsockopt(fd, IPPROTO_IP, IP_RECVERR, &yes, sizeof(yes))) in uv__set_recverr()
506 if (setsockopt(fd, IPPROTO_IPV6, IPV6_RECVERR, &yes, sizeof(yes))) in uv__set_recverr()
519 int yes; in uv__udp_bind() local
560 yes = 1; in uv__udp_bind()
561 if (setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, &yes, sizeof yes) == -1) { in uv__udp_bind()