| /f-stack/freebsd/kern/ |
| H A D | uipc_debug.c | 85 if (so_options & SO_DEBUG) { in db_print_sooptions() 93 if (so_options & SO_REUSEADDR) { in db_print_sooptions() 97 if (so_options & SO_KEEPALIVE) { in db_print_sooptions() 101 if (so_options & SO_DONTROUTE) { in db_print_sooptions() 105 if (so_options & SO_BROADCAST) { in db_print_sooptions() 113 if (so_options & SO_LINGER) { in db_print_sooptions() 117 if (so_options & SO_OOBINLINE) { in db_print_sooptions() 121 if (so_options & SO_REUSEPORT) { in db_print_sooptions() 129 if (so_options & SO_TIMESTAMP) { in db_print_sooptions() 141 if (so_options & SO_BINTIME) { in db_print_sooptions() [all …]
|
| H A D | uipc_accf.c | 175 if ((so->so_options & SO_ACCEPTCONN) == 0) { in accept_filt_getopt() 211 if ((so->so_options & SO_ACCEPTCONN) == 0) { in accept_filt_setopt() 226 so->so_options &= ~SO_ACCEPTFILTER; in accept_filt_setopt() 235 if (sp->so_options & SO_ACCEPTFILTER) { in accept_filt_setopt() 239 sp->so_options &= ~SO_ACCEPTFILTER; in accept_filt_setopt() 281 if ((so->so_options & SO_ACCEPTCONN) == 0 || in accept_filt_setopt() 303 so->so_options |= SO_ACCEPTFILTER; in accept_filt_setopt()
|
| H A D | uipc_socket.c | 759 so->so_options = head->so_options & ~SO_ACCEPTCONN; 816 so->so_options = head->so_options; 969 so->so_options |= SO_ACCEPTCONN; 1487 so->so_options |= SO_DONTROUTE; 1515 so->so_options &= ~SO_DONTROUTE; 1724 so->so_options |= SO_DONTROUTE; 3028 so->so_options |= SO_LINGER; 3030 so->so_options &= ~SO_LINGER; 4266 xso->so_options = so->so_options; 4322 return (so->so_options); [all …]
|
| H A D | sys_socket.c | 153 if (error == EPIPE && (so->so_options & SO_NOSIGPIPE) == 0) { in soo_write() 656 if (error == EPIPE && (so->so_options & SO_NOSIGPIPE) == 0) { in soaio_process_job()
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_timer.c | 387 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_2msl() 457 inp->inp_socket->so_options & SO_KEEPALIVE) && in tcp_timer_keep() 490 if (inp->inp_socket->so_options & SO_DEBUG) in tcp_timer_keep() 509 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_keep() 600 if (tp != NULL && tp->t_inpcb->inp_socket->so_options & SO_DEBUG) in tcp_timer_persist() 882 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_rexmt()
|
| H A D | in_pcb.c | 850 int so_options; in inp_so_options() local 852 so_options = 0; in inp_so_options() 855 so_options |= SO_REUSEPORT_LB; in inp_so_options() 857 so_options |= SO_REUSEPORT; in inp_so_options() 859 so_options |= SO_REUSEADDR; in inp_so_options() 860 return (so_options); in inp_so_options() 920 int reuseport_lb = (so->so_options & SO_REUSEPORT_LB); in in_pcbbind_setup() 974 if ((so->so_options & in in_pcbbind_setup() 2688 int so_options; in in_pcbinshash_internal() local 2713 so_options = inp_so_options(inp); in in_pcbinshash_internal() [all …]
|
| H A D | tcp_usrreq.c | 141 #define TCPDEBUG2(req) if (tp && (so->so_options & SO_DEBUG)) \ 207 if ((so->so_options & SO_LINGER) && so->so_linger == 0) in tcp_usr_attach() 496 if ((so->so_options & SO_NO_OFFLOAD) == 0) in tcp_usr_listen() 547 if ((so->so_options & SO_NO_OFFLOAD) == 0) in tcp6_usr_listen() 618 (so->so_options & SO_NO_OFFLOAD) == 0 && in tcp_usr_connect() 710 (so->so_options & SO_NO_OFFLOAD) == 0 && in tcp6_usr_connect() 732 (so->so_options & SO_NO_OFFLOAD) == 0 && in tcp6_usr_connect() 1507 so->so_options & SO_OOBINLINE || in tcp_usr_rcvoob() 2669 } else if ((so->so_options & SO_LINGER) && so->so_linger == 0) { in tcp_disconnect()
|
| H A D | tcp_input.c | 938 (inp->inp_socket->so_options & SO_ACCEPTCONN) == 0)) { in tcp_input() 1027 if (so->so_options & SO_DEBUG) { in tcp_input() 1043 KASSERT(tp->t_state == TCPS_LISTEN || !(so->so_options & SO_ACCEPTCONN), in tcp_input() 1045 if (tp->t_state == TCPS_LISTEN && (so->so_options & SO_ACCEPTCONN)) { in tcp_input() 1338 if (so->so_options & SO_DEBUG) in tcp_input() 1856 if (so->so_options & SO_DEBUG) in tcp_do_segment() 1908 if (so->so_options & SO_DEBUG) in tcp_do_segment() 3077 !(so->so_options & SO_OOBINLINE)) { in tcp_do_segment() 3261 if (so->so_options & SO_DEBUG) in tcp_do_segment() 3307 if (so->so_options & SO_DEBUG) in tcp_do_segment() [all …]
|
| H A D | sctp_syscalls.c | 298 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) && 422 if (error == EPIPE && !(so->so_options & SO_NOSIGPIPE) &&
|
| H A D | udp_usrreq.c | 348 inp->inp_socket->so_options & (SO_TIMESTAMP | SO_BINTIME)) { in udp_append() 627 if ((last->inp_socket->so_options & in udp_input() 1440 if (inp->inp_socket->so_options & SO_DONTROUTE) in udp_output() 1442 if (inp->inp_socket->so_options & SO_BROADCAST) in udp_output()
|
| H A D | ip_output.c | 1115 if ((so->so_options & SO_REUSEADDR) != 0) in ip_ctloutput() 1124 if ((so->so_options & SO_REUSEPORT) != 0) in ip_ctloutput() 1133 if ((so->so_options & SO_REUSEPORT_LB) != 0) in ip_ctloutput()
|
| H A D | raw_ip.c | 261 (so->so_options & (SO_TIMESTAMP | SO_BINTIME))) in rip_append() 457 int flags = ((so->so_options & SO_DONTROUTE) ? IP_ROUTETOIF : 0) | in rip_output()
|
| H A D | sctp_os_bsd.h | 421 o_flgs |= local_stcb->sctp_ep->sctp_socket->so_options & SO_DONTROUTE; \
|
| H A D | tcp_output.c | 1383 if (so->so_options & SO_DEBUG) { in tcp_output() 1450 ((so->so_options & SO_DONTROUTE) ? IP_ROUTETOIF : 0), in tcp_output() 1493 ((so->so_options & SO_DONTROUTE) ? IP_ROUTETOIF : 0), 0, in tcp_output()
|
| H A D | ip_input.c | 1133 (((sp->so_options & SO_TIMESTAMP) && (sp->so_ts_clock == ct)) ? 1 : 0) 1142 if ((inp->inp_socket->so_options & SO_BINTIME) || in ip_savecontrol()
|
| H A D | tcp_timewait.c | 344 tw->tw_so_options = so->so_options; in tcp_twstart()
|
| H A D | ip_divert.c | 486 ((so->so_options & SO_DONTROUTE) ? IP_ROUTETOIF : 0) in div_output_outbound()
|
| /f-stack/tools/compat/include/sys/ |
| H A D | socketvar.h | 95 int so_options; /* (b) from socket call, see socket.h */ member 231 #define SOLISTENING(sol) (((sol)->so_options & SO_ACCEPTCONN) != 0) 520 int16_t so_options; member
|
| /f-stack/freebsd/sys/ |
| H A D | socketvar.h | 95 int so_options; /* (b) from socket call, see socket.h */ member 231 #define SOLISTENING(sol) (((sol)->so_options & SO_ACCEPTCONN) != 0) 520 int16_t so_options; member
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6_pcb.c | 126 int reuseport = (so->so_options & SO_REUSEPORT); in in6_pcbbind() 132 int reuseport_lb = (so->so_options & SO_REUSEPORT_LB); in in6_pcbbind() 141 if ((so->so_options & (SO_REUSEADDR|SO_REUSEPORT|SO_REUSEPORT_LB)) == 0) in in6_pcbbind() 173 if ((so->so_options & (SO_REUSEADDR|SO_REUSEPORT)) != 0) in in6_pcbbind() 179 if ((so->so_options & in in6_pcbbind()
|
| H A D | raw_ip6.c | 210 last->inp_socket->so_options & SO_TIMESTAMP) in rip6_input() 322 last->inp_socket->so_options & SO_TIMESTAMP) in rip6_input()
|
| H A D | udp6_usrreq.c | 181 inp->inp_socket->so_options & SO_TIMESTAMP) in udp6_append() 427 if ((last->inp_socket->so_options & in udp6_input()
|
| H A D | ip6_output.c | 1644 if ((so->so_options & SO_REUSEADDR) != 0) in ip6_ctloutput() 1653 if ((so->so_options & SO_REUSEPORT) != 0) in ip6_ctloutput() 1662 if ((so->so_options & SO_REUSEPORT_LB) != 0) in ip6_ctloutput()
|
| /f-stack/tools/netstat/ |
| H A D | inet.c | 169 xso->so_options = so->so_options; in sotoxsocket() 181 if ((so->so_options & SO_ACCEPTCONN) != 0) { in sotoxsocket()
|
| /f-stack/freebsd/netipsec/ |
| H A D | keysock.c | 313 so->so_options |= SO_USELOOPBACK; in key_attach()
|