Lines Matching defs:on

137  * Set by the -T dscp option on the command line. If set to a value
188 * some of the specified FD. The idea is based on the observation that it's
248 * of various network related functions, like recv() and so on.
288 * set them on outgoing packets.
299 * doesn't do it for us, call gettimeofday() on every UDP receive?
855 int on = 1;
861 (void *)&on, sizeof(on)) < 0) {
1079 * This is a wakeup on a socket. If the socket is not in the
1178 * Read a message on the internal fd.
1229 int on = 1;
1231 ret = ioctl(fd, FIONBIO, (char *)&on);
1242 "ioctl(%d, FIONBIO, &on): %s", fd,
1259 * Note that cmsg_space() could run slow on OSes that do not have
1308 * Process control messages received on a socket.
1374 "interface received on ifindex %u",
1433 * on the buffer linked list for this function to be meaningful.
1656 * on the buffer linked list for this function to be meaningful.
1926 * HPUX returns EPROTO and EINVAL on receiving some ICMP/ICMPv6
1945 * while on UDP sockets, zero length reads are perfectly valid,
2125 * The other error types depend on whether or not the
2413 * marked as closed, by setting it to -1 on close, or this routine will
2508 * which kernel version we are on at run time so that we don't cause
2510 * Such warnings should *never* be on by default in production kernels.
2551 int on = 1;
2553 (void *)&on, sizeof(on));
2558 * Use minimum MTU on IPv6 sockets.
2586 int on = 1;
2608 * PF_ROUTE is a alias for PF_NETLINK on linux.
2753 (void *)&on, sizeof(on)) < 0) {
2761 /* Press on... */
2767 (void *)&on, sizeof(on)) < 0) {
2775 /* Press on... */
2793 (void *)&on, sizeof(on)) < 0
2804 /* Press on... */
2823 (void *)&on, sizeof(on)) < 0)) {
2838 (void *)&on, sizeof(on)) < 0)) {
2853 * Turn off Path MTU discovery on IPv6/UDP sockets.
2867 * Turn off Path MTU discovery on IPv4/UDP sockets.
2890 * Turn off Path MTU discovery on IPv4/UDP sockets.
2923 (void *)&on, sizeof(on)) < 0)) {
2936 (void *)&on, sizeof(on)) < 0)) {
3317 * I/O is possible on a given socket. Schedule an event to this task that
3446 * If the event to be sent is on a list, remove it before sending. If
3514 * Call accept() on a socket, to get the new file descriptor. The listen
3520 * readable event, and the first item on the accept_list should be
3575 * be spuriously returned on Linux 2.2.19 although it is not
3813 * Try to do as much I/O as possible on this socket. There are no
3881 * Try to do as much I/O as possible on this socket. There are no
3989 * Process read/writes on each fd here. Avoid locking
4130 * epoll does not set IN/OUT bits on an erroneous
4237 * This is a wakeup on a socket. Look
4239 * and decide if we need to watch on it now
4391 * Process reads on internal, control fd.
4676 /* zero-clear so that necessary cleanup on failure will be easy */
5182 * kernel decide what interface it should send on.
5563 int on = 1;
5586 setsockopt(sock->fd, SOL_SOCKET, SO_REUSEADDR, (void *)&on,
5587 sizeof(on)) < 0) {
5592 /* Press on... */
5728 * Set up to listen on a given socket. We do this by creating an internal
5911 * at the time of sending a packet on the socket.
6063 * If the error is EAGAIN, just re-select on this
6182 * Run through the list of events on this socket, and cancel the ones