Lines Matching refs:setsockopt
357 if (setsockopt(rt_sock, SOL_SOCKET, SO_USELOOPBACK,
359 LOGERR("setsockopt(SO_USELOOPBACK,0)");
687 if (setsockopt(sock, SOL_SOCKET, SO_BROADCAST, &on, sizeof (on)) < 0)
688 msglog("setsockopt(%s,SO_BROADCAST): %s",
692 if (setsockopt(sock, SOL_SOCKET, SO_RCVBUF,
694 msglog("setsockopt(%s,SO_RCVBUF=%d): %s",
698 if (setsockopt(sock, SOL_SOCKET, SO_RCVBUF,
704 msglog("setsockopt(%s,SO_RCVBUF = %d): %s",
739 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_TTL,
741 DBGERR(_B_TRUE, "rip_sock setsockopt(IP_MULTICAST_TTL)");
743 if (setsockopt(s, IPPROTO_IP, IP_RECVIF, &on, sizeof (on)))
744 BADERR(_B_FALSE, "setsockopt(IP_RECVIF)");
782 if (setsockopt(rip_sock, IPPROTO_IP,
787 "%s: setsockopt(IP_DROP_MEMBERSHIP "
813 if ((setsockopt(rip_sock, IPPROTO_IP, IP_ADD_MEMBERSHIP,
832 if ((setsockopt(rip_sock, IPPROTO_IP, IP_DROP_MEMBERSHIP,
836 "setsockopt(IP_DROP_MEMBERSHIP RIP) for %s: %s",