| /freebsd-10-stable/sys/kern/ |
| D | uipc_debug.c | 78 db_print_sooptions(short so_options) in db_print_sooptions() argument 83 if (so_options & SO_DEBUG) { in db_print_sooptions() 87 if (so_options & SO_ACCEPTCONN) { in db_print_sooptions() 91 if (so_options & SO_REUSEADDR) { in db_print_sooptions() 95 if (so_options & SO_KEEPALIVE) { in db_print_sooptions() 99 if (so_options & SO_DONTROUTE) { in db_print_sooptions() 103 if (so_options & SO_BROADCAST) { in db_print_sooptions() 107 if (so_options & SO_USELOOPBACK) { in db_print_sooptions() 111 if (so_options & SO_LINGER) { in db_print_sooptions() 115 if (so_options & SO_OOBINLINE) { in db_print_sooptions() [all …]
|
| D | uipc_accf.c | 175 if ((so->so_options & SO_ACCEPTCONN) == 0) { in do_getopt_accept_filter() 179 if ((so->so_options & SO_ACCEPTFILTER) == 0) { in do_getopt_accept_filter() 207 if ((so->so_options & SO_ACCEPTCONN) == 0) { in do_setopt_accept_filter() 222 so->so_options &= ~SO_ACCEPTFILTER; in do_setopt_accept_filter() 265 if (((so->so_options & SO_ACCEPTCONN) == 0) || in do_setopt_accept_filter() 286 so->so_options |= SO_ACCEPTFILTER; in do_setopt_accept_filter()
|
| D | uipc_socket.c | 526 if ((head->so_options & SO_ACCEPTFILTER) != 0) 530 so->so_options = head->so_options &~ SO_ACCEPTCONN; 568 if (!(head->so_options & SO_ACCEPTCONN) && 677 so->so_options |= SO_ACCEPTCONN; 734 if (so->so_options & SO_ACCEPTCONN) { 802 if (so->so_options & SO_LINGER) { 820 if (so->so_options & SO_ACCEPTCONN) { 826 so->so_options &= ~SO_ACCEPTCONN; 924 if (so->so_options & SO_ACCEPTCONN) 1012 (flags & MSG_DONTROUTE) && (so->so_options & SO_DONTROUTE) == 0; [all …]
|
| D | sys_socket.c | 104 if (error == EPIPE && (so->so_options & SO_NOSIGPIPE) == 0) { in soo_write()
|
| /freebsd-10-stable/sys/compat/svr4/ |
| D | svr4_sockmod.h | 68 int so_options; member 79 int so_options; member
|
| /freebsd-10-stable/contrib/traceroute/ |
| D | rip_output.c | 65 (so->so_options & SO_DONTROUTE) | IP_ALLOWBROADCAST)); 68 (so->so_options & SO_DONTROUTE) | IP_ALLOWBROADCAST));
|
| /freebsd-10-stable/sys/netinet/ |
| D | tcp_timer.c | 328 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_2msl() 380 inp->inp_socket->so_options & SO_KEEPALIVE) && in tcp_timer_keep() 414 if (inp->inp_socket->so_options & SO_DEBUG) in tcp_timer_keep() 428 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_keep() 507 if (tp != NULL && tp->t_inpcb->inp_socket->so_options & SO_DEBUG) in tcp_timer_persist() 761 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_rexmt()
|
| D | tcp_usrreq.c | 117 #define TCPDEBUG2(req) if (tp && (so->so_options & SO_DEBUG)) \ 145 if ((so->so_options & SO_LINGER) && so->so_linger == 0) in tcp_usr_attach() 417 if ((so->so_options & SO_NO_OFFLOAD) == 0) in tcp_usr_listen() 468 if ((so->so_options & SO_NO_OFFLOAD) == 0) in tcp6_usr_listen() 534 (so->so_options & SO_NO_OFFLOAD) == 0 && in tcp_usr_connect() 609 (so->so_options & SO_NO_OFFLOAD) == 0 && in tcp6_usr_connect() 626 (so->so_options & SO_NO_OFFLOAD) == 0 && in tcp6_usr_connect() 1115 so->so_options & SO_OOBINLINE || in tcp_usr_rcvoob() 1804 } else if ((so->so_options & SO_LINGER) && so->so_linger == 0) { in tcp_disconnect()
|
| D | in_pcb.c | 485 short so_options; in inp_so_options() local 487 so_options = 0; in inp_so_options() 490 so_options |= SO_REUSEPORT; in inp_so_options() 492 so_options |= SO_REUSEADDR; in inp_so_options() 493 return (so_options); in inp_so_options() 516 int lookupflags = 0, reuseport = (so->so_options & SO_REUSEPORT); in in_pcbbind_setup() 530 if ((so->so_options & (SO_REUSEADDR|SO_REUSEPORT)) == 0) in in_pcbbind_setup() 565 if ((so->so_options & (SO_REUSEADDR|SO_REUSEPORT)) != 0) in in_pcbbind_setup() 741 if ((inp->inp_socket->so_options & SO_DONTROUTE) == 0) in in_pcbladdr()
|
| D | tcp_input.c | 895 (inp->inp_socket->so_options & SO_ACCEPTCONN) == 0)) { in tcp_input() 1036 if (so->so_options & SO_DEBUG) { in tcp_input() 1052 if (so->so_options & SO_ACCEPTCONN) { in tcp_input() 1360 if (so->so_options & SO_DEBUG) in tcp_input() 1826 if (so->so_options & SO_DEBUG) in tcp_do_segment() 1873 if (so->so_options & SO_DEBUG) in tcp_do_segment() 3011 !(so->so_options & SO_OOBINLINE)) { in tcp_do_segment() 3165 if (so->so_options & SO_DEBUG) in tcp_do_segment() 3212 if (so->so_options & SO_DEBUG) in tcp_do_segment() 3252 if (tp == NULL || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_do_segment()
|
| D | sctp_syscalls.c | 294 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) && 422 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) &&
|
| D | udp_usrreq.c | 337 inp->inp_socket->so_options & (SO_TIMESTAMP | SO_BINTIME)) { in udp_append() 586 if ((last->inp_socket->so_options & in udp_input() 1370 if (inp->inp_socket->so_options & SO_DONTROUTE) in udp_output() 1372 if (inp->inp_socket->so_options & SO_BROADCAST) in udp_output()
|
| D | ip_input.c | 1580 if (inp->inp_socket->so_options & (SO_BINTIME | SO_TIMESTAMP)) { in ip_savecontrol() 1584 if (inp->inp_socket->so_options & SO_BINTIME) { in ip_savecontrol() 1590 if (inp->inp_socket->so_options & SO_TIMESTAMP) { in ip_savecontrol()
|
| D | tcp_output.c | 1309 if (so->so_options & SO_DEBUG) { in tcp_output() 1368 ((so->so_options & SO_DONTROUTE) ? IP_ROUTETOIF : 0), in tcp_output() 1410 ((so->so_options & SO_DONTROUTE) ? IP_ROUTETOIF : 0), 0, in tcp_output()
|
| D | raw_ip.c | 251 (so->so_options & (SO_TIMESTAMP | SO_BINTIME))) in rip_append() 430 int flags = ((so->so_options & SO_DONTROUTE) ? IP_ROUTETOIF : 0) | in rip_output()
|
| /freebsd-10-stable/sys/netipx/ |
| D | spx_usrreq.c | 233 if (so->so_options & SO_DEBUG || traceallspxs) { in spx_input() 237 if (so->so_options & SO_ACCEPTCONN) { in spx_input() 379 if (so->so_options & SO_DEBUG || traceallspxs) in spx_input() 397 if (cb == NULL || (cb->s_ipxpcb->ipxp_socket->so_options & SO_DEBUG || in spx_input() 420 if (cb->s_ipxpcb->ipxp_socket->so_options & SO_DEBUG || traceallspxs) in spx_input() 756 if (so->so_options & SO_DEBUG || traceallspxs) in spx_output() 820 if (so->so_options & SO_DEBUG || traceallspxs) in spx_output() 827 if (so->so_options & SO_DONTROUTE) in spx_output() 1775 if (cb->s_ipxpcb->ipxp_socket->so_options & SO_KEEPALIVE) { in spx_timers()
|
| D | ipx_usrreq.c | 303 if (so->so_options & SO_DONTROUTE) in ipx_output() 305 (so->so_options & SO_BROADCAST) | IPX_ROUTETOIF)); in ipx_output() 348 return (ipx_outputfl(m, ro, so->so_options & SO_BROADCAST)); in ipx_output()
|
| D | ipx_pcb.c | 187 if (ipxp->ipxp_socket->so_options & SO_DONTROUTE) in ipx_pcbconnect() 203 if ((ipxp->ipxp_socket->so_options & SO_DONTROUTE) == 0 && /*XXX*/ in ipx_pcbconnect()
|
| /freebsd-10-stable/sys/sys/ |
| D | socketvar.h | 75 short so_options; /* from socket call, see socket.h */ member 167 short so_options; member
|
| /freebsd-10-stable/usr.bin/bluetooth/btsockstat/ |
| D | btsockstat.c | 370 (so.so_options & SO_ACCEPTCONN)? in l2cappr() 476 (so.so_options & SO_ACCEPTCONN)? in rfcommpr()
|
| /freebsd-10-stable/sys/ofed/drivers/infiniband/ulp/sdp/ |
| D | sdp_main.c | 475 if ((so->so_options & SO_LINGER) && so->so_linger == 0) in sdp_attach() 743 } else if ((so->so_options & SO_LINGER) && so->so_linger == 0) { in sdp_start_disconnect() 1483 so->so_options & SO_OOBINLINE || in sdp_rcvoob() 1515 if (!(so->so_options & SO_OOBINLINE)) { in sdp_urg() 1584 (ssk->socket->so_options & SO_KEEPALIVE) == 0) in sdp_keepalive_timeout() 1638 if (so->so_options & SO_KEEPALIVE) in sdp_ctloutput()
|
| D | sdp_cma.c | 200 if (sk->so_options & SO_KEEPALIVE) in sdp_response_handler() 233 if (sk->so_options & SO_KEEPALIVE) in sdp_connected_handler()
|
| /freebsd-10-stable/sys/netinet6/ |
| D | in6_pcb.c | 118 int reuseport = (so->so_options & SO_REUSEPORT); in in6_pcbbind() 127 if ((so->so_options & (SO_REUSEADDR|SO_REUSEPORT)) == 0) in in6_pcbbind() 159 if ((so->so_options & (SO_REUSEADDR|SO_REUSEPORT)) != 0) in in6_pcbbind()
|
| D | raw_ip6.c | 278 last->inp_socket->so_options & SO_TIMESTAMP) in rip6_input() 312 last->inp_socket->so_options & SO_TIMESTAMP) in rip6_input()
|
| /freebsd-10-stable/sys/netipsec/ |
| D | keysock.c | 410 so->so_options |= SO_USELOOPBACK; in key_attach()
|