Home
last modified time | relevance | path

Searched refs:so_flags (Results 1 – 25 of 46) sorted by relevance

12

/xnu-11215/bsd/kern/
H A Duipc_socket.c731 so->so_flags |= SOF_DELEGATED; in socreate_internal()
780 so->so_flags |= SOF_PCBCLEARING; in socreate_internal()
817 so->so_flags |= SOF_NODEFUNCT; in socreate_internal()
925 if (so->so_flags & SOF_DEFUNCT) { in sobindlock()
1260 so->so_flags |= SOF_CLOSEWAIT; in soclose_wait_locked()
1265 so->so_flags &= ~SOF_CLOSEWAIT; in soclose_wait_locked()
1540 so->so_flags |= SOF_ABORTED; in soabort()
7106 so->so_flags |= SOF_KNOTE; in filt_sockattach()
7121 so->so_flags &= ~SOF_KNOTE; in filt_sockdetach()
7498 so->so_flags |= SOF_DEFUNCT; in sosetdefunct()
[all …]
H A Duipc_socket2.c387 if (head->so_flags & SOF_DELEGATED) { in sonewconn_internal()
393 so->so_flags = head->so_flags & in sonewconn_internal()
466 so->so_flags |= SOF_INCOMP_INPROGRESS; in sonewconn_internal()
557 if (so->so_flags & SOF_DEFUNCT) { in sbwait()
597 if (so->so_flags & SOF_DEFUNCT) { in sbwait()
625 if (so->so_flags & SOF_DEFUNCT) { in sowakeup()
698 if ((so->so_flags & SOF_CLOSEWAIT) && in sowakeup()
1631 if (so->so_flags & SOF_MP_SUBFLOW) { in sbappendstream_rcvdemux()
2638 if (!(so->so_flags & SOF_DEFUNCT) && in sbunlock()
2724 if (so->so_flags & SOF_KNOTE) { in soevent()
[all …]
H A Dkpi_socketfilter.c1062 if (so->so_flags & SOF_MP_SUBFLOW) { in sflt_setsockopt()
1117 if (so->so_flags & SOF_MP_SUBFLOW) { in sflt_getsockopt()
1173 if (so->so_flags & SOF_MP_SUBFLOW) { in sflt_data_out()
1238 if (so->so_flags & SOF_MP_SUBFLOW) { in sflt_data_in()
1441 (!(so->so_flags & SOF_MP_SUBFLOW) && in sflt_register_common()
1459 (!(so->so_flags & SOF_MP_SUBFLOW) && in sflt_register_common()
1608 if (so->so_flags & SOF_MP_SUBFLOW) { in sock_inject_data_in()
1655 if (so->so_flags & SOF_MP_SUBFLOW) { in sock_inject_data_out()
H A Dsys_socket.c157 if (stat == EPIPE && !(so->so_flags & SOF_NOSIGPIPE)) { in soo_write()
H A Duipc_usrreq.c623 so->so_state, so->so_flags, so->so_flags1); in uipc_send()
865 peerso->so_flags & SOF_DELEGATED) { in uipc_ctloutput()
889 peerso->so_flags & SOF_DELEGATED) { in uipc_ctloutput()
1126 unp->unp_socket->so_flags |= SOF_PCBCLEARING; in unp_detach()
2899 if (so->so_usecount == 0 && (so->so_flags & SOF_PCBCLEARING)) { in unp_unlock()
/xnu-11215/bsd/net/
H A Draw_cb.c129 so->so_flags |= SOF_PCBCLEARING; in raw_detach_nofree()
154 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF)) { in raw_disconnect()
H A Dcontent_filter.c2279 if (sock->so_flags & SOF_DELEGATED) { in cfil_ctl_getopt()
3047 so->so_flags |= SOF_CONTENT_FILTER; in cfil_sock_attach()
3094 so->so_flags &= ~SOF_CONTENT_FILTER; in cfil_sock_detach()
3242 if (so->so_flags & SOF_DELEGATED) { in cfil_dispatch_data_event_sign()
3309 if (so->so_flags & SOF_DELEGATED) { in cfil_dispatch_closed_event_sign()
3471 if (so->so_flags & SOF_DELEGATED) { in cfil_dispatch_attach_event()
3975 if (so->so_flags & SOF_DELEGATED) { in cfil_dispatch_data_event()
5313 if (so->so_flags & SOF_DEFUNCT) { in cfil_sock_data_out()
5928 if (so->so_flags & SOF_DELEGATED) { in sysctl_cfil_sock_list()
6349 so->so_flags |= SOF_CONTENT_FILTER; in cfil_sock_udp_get_info()
[all …]
H A Dcontent_filter.h528 #define CFIL_DGRAM_HAS_FILTERED_FLOWS(so) ((so->so_flags & SOF_CONTENT_FILTER) && (so->so_flow_db !…
H A Dndrv.c630 so->so_flags |= SOF_PCBCLEARING; in ndrv_do_detach()
650 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF)) { in ndrv_do_disconnect()
/xnu-11215/bsd/netinet/
H A Din_pcb.c1071 if ((t->inp_socket->so_flags & in in_pcbbind()
1098 if ((t->inp_socket->so_flags & in in_pcbbind()
1537 if (so->so_flags & SOF_DELEGATED) { in apn_fallback_trigger()
2102 so->so_flags |= SOF_PCBCLEARING; in in_pcbdetach()
2167 so->so_flags |= SOF_PCBCLEARING; in in_pcbdispose()
3677 so->so_flags &= ~(SOF_SUSPENDED); in inp_reset_fc_state()
3802 if (so->so_flags & SOF_DELEGATED) { in inp_get_soprocinfo()
3864 if (so->so_flags & SOF_DELEGATED) { in inp_update_cellular_policy()
3879 (so->so_flags & SOF_DELEGATED) ? in inp_update_cellular_policy()
3909 if (so->so_flags & SOF_DELEGATED) { in inp_update_necp_want_app_policy()
[all …]
H A Dtcp_output.c894 if (so->so_flags & SOF_NOADDRAVAIL) { in tcp_output()
1379 if (so->so_flags & SOF_MP_SUBFLOW && off < 0) { in tcp_output()
1385 if ((so->so_flags & SOF_MP_SUBFLOW) && in tcp_output()
1455 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output()
1501 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output()
1593 so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output()
1899 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_output()
2491 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_output()
2746 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output()
3073 if (so->so_flags & SOF_DELEGATED) { in tcp_output()
[all …]
H A Din_pcblist.c144 xso->so_flags = so->so_flags; in sotoxsocket_n()
793 so->so_flags |= SOF_SUSPENDED; in inpcb_count_opportunistic()
798 so->so_flags &= ~(SOF_SUSPENDED); in inpcb_count_opportunistic()
807 (so->so_flags & SOF_SUSPENDED) ? in inpcb_count_opportunistic()
H A Dmptcp_subr.c1370 so->so_flags |= SOF_MP_SUBFLOW; in mptcp_subflow_attach()
1614 if (mp_so->so_flags & SOF_DELEGATED) { in mptcp_subflow_socreate()
1744 VERIFY(so->so_flags & SOF_MP_SUBFLOW); in mptcp_subflow_soclose()
1781 so->so_flags |= SOF_MP_SEC_SUBFLOW; in mptcp_attach_to_subf()
2052 if (so->so_flags & SOF_DEFUNCT) { in mptcp_subflow_soreceive()
2761 so->so_flags &= ~SOF_MP_SUBFLOW; in mptcp_subflow_del()
2831 if (mp_so->so_flags & SOF_DEFUNCT) { in mptcp_subflow_disconnect()
5535 if (so->so_flags & SOF_MP_SUBFLOW && in mptcp_preproc_sbdrop()
5672 so->so_flags |= SOF_MP_TRYFAILOVER; in mptcp_act_on_txfail()
6464 if (mp_so->so_flags & SOF_DELEGATED) { in mptcp_ask_symptoms()
[all …]
H A Dmptcp_usrreq.c241 if (mp_so->so_flags & SOF_DELEGATED && in mptcp_entitlement_check()
908 if (!(mp_so->so_flags & SOF_PCBCLEARING) && !(mp_so->so_flags & SOF_DEFUNCT)) { in mptcp_disconnect()
1261 VERIFY(!(mp_so->so_flags & SOF_MP_SUBFLOW)); in mptcp_usr_sosend()
1724 mp_so->so_flags &= ~SOF_NOTSENT_LOWAT; in mptcp_setopt()
1727 mp_so->so_flags |= SOF_NOTSENT_LOWAT; in mptcp_setopt()
2110 if (mptetoso(mpte)->so_flags & SOF_NOTSENT_LOWAT) { in mptcp_getopt()
H A Dflow_divert.c1136 if (so->so_flags & SOF_DELEGATED) { in flow_divert_add_all_proc_info()
2255 so->so_flags &= ~SOF_FLOW_DIVERT; in flow_divert_disable()
2555 if (!(so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_connect_result()
2697 if (!(so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_connect_result()
2750 if (!(fd_cb->so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_close()
2813 if (!(fd_cb->so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_data()
3422 so->so_flags &= ~SOF_FLOW_DIVERT; in flow_divert_detach()
3650 so->so_flags |= SOF_PCBCLEARING; in flow_divert_disconnect_socket()
4168 if (so->so_flags & SOF_FLOW_DIVERT) { in flow_divert_pcb_init_internal()
4188 so->so_flags |= SOF_FLOW_DIVERT; in flow_divert_pcb_init_internal()
[all …]
H A Draw_ip.c668 if (so->so_flags & SOF_DELEGATED) { in rip_output()
674 if (so->so_flags & SOF_MARK_WAKE_PKT) { in rip_output()
675 so->so_flags &= ~SOF_MARK_WAKE_PKT; in rip_output()
H A Dtcp_usrreq.c1016 if ((so->so_flags & SOF_MP_SUBFLOW) && in tcp_usr_shutdown()
1237 VERIFY(!(so->so_flags & SOF_MP_SUBFLOW) || in tcp_usr_send()
2573 so->so_flags &= ~(SOF_NOTSENT_LOWAT); in tcp_ctloutput()
2576 so->so_flags |= SOF_NOTSENT_LOWAT; in tcp_ctloutput()
2937 if ((so->so_flags & SOF_NOTSENT_LOWAT) != 0) { in tcp_ctloutput()
3168 if ((so->so_flags & SOF_MP_SUBFLOW) && in tcp_disconnect()
H A Dtcp_timer.c592 if ((tp->t_inpcb->inp_socket->so_flags & SOF_CONTENT_FILTER) != 0) { in add_to_time_wait()
638 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_garbage_collect()
698 ((istimewait && (so->so_flags & SOF_OVERFLOW)) || in tcp_garbage_collect()
1170 (so->so_flags & SOF_MP_SUBFLOW)) { in tcp_timers()
1474 if (tp->t_inpcb->inp_socket->so_flags & SOF_FLOW_DIVERT) { in tcp_timers()
H A Dtcp_input.c1741 if (tp->t_inpcb->inp_socket->so_flags & SOF_MP_SUBFLOW) { in tcp_update_window()
2856 if ((so->so_flags & SOF_NOTSENT_LOWAT) != 0) { in tcp_input()
3069 if (tp->t_state != TCPS_LISTEN && (so->so_flags & SOF_MP_SUBFLOW)) { in tcp_input()
3619 so->so_flags &= ~(SOF_INCOMP_INPROGRESS); in tcp_input()
4007 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_input()
4413 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF) && in tcp_input()
4419 …if ((so->so_flags & SOF_MP_SUBFLOW) && (mptetoso(tptomptp(tp)->mpt_mpte)->so_state & SS_NOFDREF) && in tcp_input()
4425 if ((so->so_flags & SOF_DEFUNCT) && tp->t_state > TCPS_FIN_WAIT_1) { in tcp_input()
5870 if ((so->so_flags & SOF_MP_SUBFLOW) && tlen == 0 && in tcp_input()
7226 !(so->so_flags & SOF_INCOMP_INPROGRESS)) { in tcp_dropdropablreq()
[all …]
/xnu-11215/bsd/dev/dtrace/scripts/
H A Dsocket.d72 flags = T->so_flags;
/xnu-11215/bsd/netinet6/
H A Dudp6_output.c567 if (so->so_flags & SOF_DELEGATED) { in udp6_output()
573 if (so->so_flags & SOF_MARK_WAKE_PKT) { in udp6_output()
574 so->so_flags &= ~SOF_MARK_WAKE_PKT; in udp6_output()
H A Din6_pcb.c408 !(t->inp_socket->so_flags & SOF_REUSESHAREUID) && in in6_pcbbind()
858 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF)) { in in6_pcbdisconnect()
910 if (!(so->so_flags & SOF_PCBCLEARING)) { in in6_pcbdetach()
941 so->so_flags |= SOF_PCBCLEARING; in in6_pcbdetach()
H A Draw_ip6.c812 if (so->so_flags & SOF_DELEGATED) { in rip6_output()
818 if (so->so_flags & SOF_MARK_WAKE_PKT) { in rip6_output()
819 so->so_flags &= ~SOF_MARK_WAKE_PKT; in rip6_output()
/xnu-11215/bsd/sys/
H A Dsocketvar.h239 u_int32_t so_flags; /* Flags */ member
396 ((so)->so_flags & (SOF_RECV_TRAFFIC_CLASS | SOF_RECV_WAKE_PKT)))
528 u_int32_t so_flags; member
/xnu-11215/bsd/netkey/
H A Dkeysock.c404 so->so_flags |= SOF_PCBCLEARING; in key_attach()

12