Lines Matching refs:setsockopt
265 if (timeout && setsockopt(s, IPPROTO_TCP, TCP_ABORT_THRESHOLD,
267 perror("ftp: setsockopt (TCP_ABORT_THRESHOLD)");
347 if (setsockopt(s, SOL_SOCKET, SO_OOBINLINE, (char *)&on,
349 perror("ftp: setsockopt (SO_OOBINLINE)");
1483 if (timeout && setsockopt(data, IPPROTO_TCP,
1486 perror("ftp: setsockopt (TCP_ABORT_THRESHOLD)");
1488 setsockopt(data, SOL_SOCKET, SO_DEBUG, (char *)&on,
1490 perror("setsockopt (ignored)");
1496 if (setsockopt(data, SOL_SOCKET, SO_SNDBUF,
1498 perror("ftp: setsockopt (SO_SNDBUF - ignored)");
1499 if (setsockopt(data, SOL_SOCKET, SO_RCVBUF,
1501 perror("ftp: setsockopt (SO_RCVBUF - ignored)");
1602 if (setsockopt(data, SOL_SOCKET, SO_REUSEADDR,
1604 perror("ftp: setsockopt (SO_REUSEADDR)");
1612 if (timeout && setsockopt(data, IPPROTO_TCP, TCP_ABORT_THRESHOLD,
1614 perror("ftp: setsockopt (TCP_ABORT_THRESHOLD)");
1616 setsockopt(data, SOL_SOCKET, SO_DEBUG,
1618 perror("ftp: setsockopt (SO_DEBUG - ignored)");
1624 if (setsockopt(data, SOL_SOCKET, SO_SNDBUF,
1626 perror("ftp: setsockopt (SO_SNDBUF - ignored)");
1627 if (setsockopt(data, SOL_SOCKET, SO_RCVBUF,
1629 perror("ftp: setsockopt (SO_RCVBUF - ignored)");