Lines Matching defs:on
163 * Check to see if IPv6 is broken, as is common on Linux.
247 int s, on;
277 on = 1;
278 if (setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, &on, sizeof(on)) < 0) {
300 on = 1;
301 if (setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, &on, sizeof(on)) < 0) {
323 int s, on;
354 on = 1;
355 if (setsockopt(s, IPPROTO_IPV6, optname, &on, sizeof(on)) < 0) {