Home
last modified time | relevance | path

Searched refs:so_options (Results 1 – 25 of 33) sorted by relevance

12

/xnu-10063.141.1/bsd/kern/
H A Duipc_socket.c801 so->so_options |= SO_DEBUG; in socreate_internal()
1006 so->so_options |= SO_ACCEPTCONN; in solisten()
1015 so->so_options &= ~SO_ACCEPTCONN; in solisten()
1020 so->so_options &= ~SO_ACCEPTCONN; in solisten()
1040 so->so_options &= ~SO_ACCEPTCONN; in solisten()
1046 so->so_options &= ~SO_ACCEPTCONN; in solisten()
1059 so->so_options &= ~SO_ACCEPTCONN; in solisten()
1316 if ((so->so_options & SO_ACCEPTCONN)) { in soclose_locked()
1325 so->so_options &= ~SO_ACCEPTCONN; in soclose_locked()
1436 if (so->so_options & SO_LINGER) { in soclose_locked()
[all …]
H A Duipc_socket2.c374 so->so_options = head->so_options & ~SO_ACCEPTCONN; in sonewconn_internal()
441 if ((head->so_options & SO_ACCEPTCONN) == 0) { in sonewconn_internal()
2791 xso->so_options = (short)(so->so_options & 0xffff); in sotoxsocket()
2822 xso->so_options = (short)(so->so_options & 0xffff); in sotoxsocket64()
H A Dsocket_info.c76 si->soi_options = (short)(so->so_options & 0xffff); in fill_common_sockinfo()
H A Dvsock_domain.c711 } else if (so->so_options & SO_ACCEPTCONN) { in vsock_put_message()
H A Dkpi_socket.c89 if ((sock->so_options & SO_ACCEPTCONN) == 0) { in sock_accept_common()
/xnu-10063.141.1/bsd/dev/dtrace/scripts/
H A Dsocket.d65 options = T->so_options;
/xnu-10063.141.1/bsd/netinet6/
H A Din6_pcb.c193 int wild = 0, reuseport = (so->so_options & SO_REUSEPORT); in in6_pcbbind()
211 if (!(so->so_options & (SO_REUSEADDR | SO_REUSEPORT))) { in in6_pcbbind()
272 if (so->so_options & SO_REUSEADDR) { in in6_pcbbind()
408 !(t->inp_socket->so_options & SO_REUSEPORT)) && in in6_pcbbind()
428 !(t->inp_socket->so_options & SO_REUSEPORT) && in in6_pcbbind()
465 (reuseport & t->inp_socket->so_options) == 0 && in in6_pcbbind()
485 t->inp_socket->so_options) == 0 && in in6_pcbbind()
H A Dip6_input.c1784 if ((inp->inp_socket->so_options & SO_TIMESTAMP) != 0) { in ip6_savecontrol_v4()
1794 if ((inp->inp_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0) { in ip6_savecontrol_v4()
1804 if ((inp->inp_socket->so_options & SO_TIMESTAMP_CONTINUOUS) != 0) { in ip6_savecontrol_v4()
H A Din6_src.c184 ((inp)->inp_socket->so_options & SO_DEBUG))
1678 if ((so->so_options & (SO_REUSEADDR | SO_REUSEPORT)) == 0) { in in6_pcbsetport()
H A Dudp6_usrreq.c426 reuse_sock = in6p->inp_socket->so_options & in udp6_input()
/xnu-10063.141.1/bsd/sys/
H A Dsocketvar.h137 u_int32_t so_options; /* from socket call, see socket.h */ member
388 (((so)->so_options & \
446 short so_options; member
469 short so_options; member
505 u_int32_t so_options; member
/xnu-10063.141.1/bsd/netinet/
H A Dtcp_timer.h303 ((tp)->t_inpcb->inp_socket->so_options & SO_KEEPALIVE) ? \
H A Din_pcblist.c123 xso->so_options = so->so_options; in sotoxsocket_n()
694 if ((so->so_options & SO_NOWAKEFROMSLEEP) && !nowakeok) { in inpcb_get_if_ports_used()
727 if ((so->so_options & SO_NOWAKEFROMSLEEP) == 0 || nowakeok) { in inpcb_get_if_ports_used()
H A Din_pcb.c840 int reuseport = (so->so_options & SO_REUSEPORT); in in_pcbbind()
858 if (!(so->so_options & (SO_REUSEADDR | SO_REUSEPORT))) { in in_pcbbind()
903 if (so->so_options & SO_REUSEADDR) { in in_pcbbind()
1031 !(t->inp_socket->so_options & SO_REUSEPORT)) && in in_pcbbind()
1058 (reuseport & t->inp_socket->so_options) == 0 && in in_pcbbind()
1381 if (so && (so->so_options & SO_NOAPNFALLBK)) { in apn_fallback_required()
1616 (inp->inp_socket->so_options & SO_DONTROUTE)) { in in_pcbladdr()
1622 if (!(inp->inp_socket->so_options & SO_DONTROUTE) && in in_pcbladdr()
4234 if (so->so_options & SO_NOWAKEFROMSLEEP) { in inp_update_netns_flags()
H A Dtcp_output.c721 int so_options = so->so_options; in tcp_output() local
1178 (so_options & SO_DONTROUTE), in tcp_output()
1717 tp_inp_options, (so_options & SO_DONTROUTE), in tcp_output()
2876 if (so_options & SO_DEBUG) { in tcp_output()
3075 (so_options & SO_DONTROUTE), in tcp_output()
H A Dtcp_input.c2399 (so->so_options & SO_ACCEPTCONN) == 0) { in tcp_input()
2408 if (so->so_options & (SO_DEBUG | SO_ACCEPTCONN)) { in tcp_input()
2410 if (so->so_options & SO_DEBUG) { in tcp_input()
2421 if (so->so_options & SO_ACCEPTCONN) { in tcp_input()
5408 && (so->so_options & SO_OOBINLINE) == 0 in tcp_input()
5713 if (so->so_options & SO_DEBUG) { in tcp_input()
5761 if (so->so_options & SO_DEBUG) { in tcp_input()
5802 if (tp == 0 || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) { in tcp_input()
5842 if (tp == 0 || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) { in tcp_input()
6866 if ((head->so_options & SO_ACCEPTCONN) == 0) { in tcp_dropdropablreq()
H A Dudp_usrreq.c528 reuse_sock = (inp->inp_socket->so_options & in udp_input()
1975 if (cfil_tag && (inp->inp_socket->so_options != cfil_so_options)) { in udp_output()
1979 soopts |= (inp->inp_socket->so_options & (SO_DONTROUTE | SO_BROADCAST)); in udp_output()
2483 if (so->so_options & SO_NOWAKEFROMSLEEP) { in udp_detach()
H A Dtcp_usrreq.c146 #define TCPDEBUG2(req) if (tp && (so->so_options & SO_DEBUG)) \
192 if ((so->so_options & SO_LINGER) && so->so_linger == 0) { in tcp_usr_attach()
1371 so->so_options & SO_OOBINLINE || in tcp_usr_rcvoob()
3143 } else if ((so->so_options & SO_LINGER) && so->so_linger == 0) { in tcp_disconnect()
H A Dtcp_timer.c585 if (tp->t_inpcb->inp_socket->so_options & SO_NOWAKEFROMSLEEP) { in add_to_time_wait()
1497 (tp->t_inpcb->inp_socket->so_options & SO_KEEPALIVE) || in tcp_timers()
1886 if (tp->t_inpcb->inp_socket->so_options & SO_DEBUG) { in tcp_timers()
H A Dmptcp_usrreq.c133 if ((mp_so->so_options & SO_LINGER) && mp_so->so_linger == 0) { in mptcp_usr_attach()
921 } else if (((mp_so->so_options & SO_LINGER) && in mptcp_disconnect()
H A Dip_input.c3745 if (inp->inp_socket->so_options & SO_TIMESTAMP) { in ip_savecontrol()
3755 if (inp->inp_socket->so_options & SO_TIMESTAMP_MONOTONIC) { in ip_savecontrol()
3765 if (inp->inp_socket->so_options & SO_TIMESTAMP_CONTINUOUS) { in ip_savecontrol()
H A Dtcp_log.c367 tp->t_inpcb->inp_socket->so_options & SO_KEEPALIVE, in tcp_log_keepalive()
/xnu-10063.141.1/bsd/netkey/
H A Dkeysock.c414 so->so_options |= SO_USELOOPBACK; in key_attach()
/xnu-10063.141.1/bsd/net/
H A Drtsock.c219 so->so_options |= SO_USELOOPBACK; in rts_attach()
365 if (!(so->so_options & SO_USELOOPBACK)) { in route_output()
770 if (!(so->so_options & SO_USELOOPBACK)) { in route_output()
/xnu-10063.141.1/tools/lldbmacros/
H A Dnet.py567 out_string += sock_format_string.format(so, so.so_options, so.so_state)
598 out_string += sock_format_string.format(so, so.so_options, so.so_state)

12