Home | History | Annotate | Download | only in engines

Lines Matching full:setsockopt

241 		ret = setsockopt(fd, SOL_SOCKET, SO_RCVBUF, (void *) &wss,
247 ret = setsockopt(fd, SOL_SOCKET, SO_SNDBUF, (void *) &wss,
255 td_verror(td, -EINVAL, "setsockopt window size");
271 ret = setsockopt(fd, IPPROTO_TCP, TCP_MAXSEG, (void *) &mss,
274 td_verror(td, errno, "setsockopt TCP_MAXSEG");
278 td_verror(td, -EINVAL, "setsockopt TCP_MAXSEG");
748 if (setsockopt(f->fd, IPPROTO_TCP, TCP_NODELAY, (void *) &optval, sizeof(int)) < 0) {
781 if (setsockopt(f->fd, IPPROTO_IP, IP_MULTICAST_IF, (const char*)&interface_addr, sizeof(interface_addr)) < 0) {
782 td_verror(td, errno, "setsockopt IP_MULTICAST_IF");
787 if (setsockopt(f->fd, IPPROTO_IP, IP_MULTICAST_TTL, (const char*)&o->ttl, sizeof(o->ttl)) < 0) {
788 td_verror(td, errno, "setsockopt IP_MULTICAST_TTL");
863 if (setsockopt(f->fd, IPPROTO_TCP, TCP_NODELAY, (void *) &optval, sizeof(int)) < 0) {
1189 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (void *) &opt, sizeof(opt)) < 0) {
1190 td_verror(td, errno, "setsockopt");
1195 if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, (void *) &opt, sizeof(opt)) < 0) {
1196 td_verror(td, errno, "setsockopt");
1236 if (setsockopt(fd, IPPROTO_IP, IP_ADD_MEMBERSHIP, (const char*)&mr, sizeof(mr)) < 0) {
1237 td_verror(td, errno, "setsockopt IP_ADD_MEMBERSHIP");