Lines Matching defs:on
160 * some of the specified FD. The idea is based on the observation that it's
216 * of various network related functions, like recv() and so on.
256 * set them on outgoing packets.
267 * doesn't do it for us, call gettimeofday() on every UDP receive?
601 int on = 1;
607 (void *)&on, sizeof(on)) < 0) {
796 * This is a wakeup on a socket. If the socket is not in the
895 * Read a message on the internal fd.
948 int on = 1;
950 ret = ioctl(fd, FIONBIO, (char *)&on);
961 "ioctl(%d, FIONBIO, &on): %s", fd,
978 * Note that cmsg_space() could run slow on OSes that do not have
1027 * Process control messages received on a socket.
1093 "interface received on ifindex %u",
1129 * on the buffer linked list for this function to be meaningful.
1267 * on the buffer linked list for this function to be meaningful.
1537 * HPUX returns EPROTO and EINVAL on receiving some ICMP/ICMPv6
1556 * while on UDP sockets, zero length reads are perfectly valid,
1722 * The other error types depend on whether or not the
1992 * marked as closed, by setting it to -1 on close, or this routine will
2029 * which kernel version we are on at run time so that we don't cause
2031 * Such warnings should *never* be on by default in production kernels.
2072 int on = 1;
2074 (void *)&on, sizeof(on));
2079 * Use minimum MTU on IPv6 sockets.
2096 int on = 1;
2207 (void *)&on, sizeof(on)) < 0) {
2215 /* Press on... */
2221 (void *)&on, sizeof(on)) < 0) {
2229 /* Press on... */
2244 (void *)&on, sizeof(on)) < 0
2255 /* Press on... */
2274 (void *)&on, sizeof(on)) < 0)) {
2289 (void *)&on, sizeof(on)) < 0)) {
2304 * Turn off Path MTU discovery on IPv6/UDP sockets.
2318 * Turn off Path MTU discovery on IPv4/UDP sockets.
2328 * Turn off Path MTU discovery on IPv4/UDP sockets.
2630 * I/O is possible on a given socket. Schedule an event to this task that
2759 * If the event to be sent is on a list, remove it before sending. If
2807 * Call accept() on a socket, to get the new file descriptor. The listen
2813 * readable event, and the first item on the accept_list should be
2868 * be spuriously returned on Linux 2.2.19 although it is not
3091 * Try to do as much I/O as possible on this socket. There are no
3159 * Try to do as much I/O as possible on this socket. There are no
3265 * Process read/writes on each fd here. Avoid locking
3405 * epoll does not set IN/OUT bits on an erroneous
3511 * This is a wakeup on a socket. Look
3513 * and decide if we need to watch on it now
3635 * Process reads on internal, control fd.
3909 /* zero-clear so that necessary cleanup on failure will be easy */
4379 * kernel decide what interface it should send on.
4748 int on = 1;
4767 setsockopt(sock->fd, SOL_SOCKET, SO_REUSEADDR, (void *)&on,
4768 sizeof(on)) < 0) {
4773 /* Press on... */
4845 * Set up to listen on a given socket. We do this by creating an internal
5010 * at the time of sending a packet on the socket.
5161 * If the error is EAGAIN, just re-select on this
5278 * Run through the list of events on this socket, and cancel the ones