| /xnu-11417.140.69/bsd/kern/ |
| H A D | uipc_socket.c | 731 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() 1025 (so->so_flags & SOF_DEFUNCT)) { in solisten() 1027 if (so->so_flags & SOF_DEFUNCT) { in solisten() 1158 if (so->so_flags & SOF_FLOW_DIVERT) { in sofreelastref() 1164 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in sofreelastref() 1173 if (!(so->so_flags & SOF_PCBCLEARING) || !(so->so_state & SS_NOFDREF)) { in sofreelastref() 1255 if (!so->so_upcallusecount || !(so->so_flags & SOF_UPCALLCLOSEWAIT)) { in soclose_wait_locked() [all …]
|
| H A D | uipc_socket2.c | 387 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() 555 if ((so->so_state & SS_DRAINING) || (so->so_flags & SOF_DEFUNCT)) { in sbwait() 557 if (so->so_flags & SOF_DEFUNCT) { in sbwait() 595 if ((so->so_state & SS_DRAINING) || (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() 707 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in sowakeup() [all …]
|
| H A D | kpi_socketfilter.c | 1062 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 D | sys_socket.c | 157 if (stat == EPIPE && !(so->so_flags & SOF_NOSIGPIPE)) { in soo_write()
|
| H A D | uipc_usrreq.c | 623 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-11417.140.69/bsd/net/ |
| H A D | raw_cb.c | 129 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 D | content_filter.c | 590 (so->so_flags & SOF_MP_SUBFLOW) != 0 || \ 618 #define SOCKET_PID(so) ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid) 1618 if (!(so->so_flags & SOF_DEFUNCT) && !(sb->sb_flags & SB_LOCK)) { in cfil_release_sockbuf() 1639 if ((so->so_flags & SOF_CONTENT_FILTER) && so->so_cfil) { in cfil_sock_id_from_socket() 2281 if (sock->so_flags & SOF_DELEGATED) { in cfil_ctl_getopt() 2911 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in cfil_sock_is_dead() 2953 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in cfil_sock_tcp_add_time_wait() 3052 so->so_flags |= SOF_CONTENT_FILTER; in cfil_sock_attach() 3098 if (so->so_flags & SOF_CONTENT_FILTER) { in cfil_sock_detach() 3099 so->so_flags &= ~SOF_CONTENT_FILTER; in cfil_sock_detach() [all …]
|
| H A D | content_filter.h | 528 #define CFIL_DGRAM_HAS_FILTERED_FLOWS(so) ((so->so_flags & SOF_CONTENT_FILTER) && (so->so_flow_db !…
|
| H A D | ndrv.c | 646 so->so_flags |= SOF_PCBCLEARING; in ndrv_do_detach() 666 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF)) { in ndrv_do_disconnect()
|
| /xnu-11417.140.69/bsd/netinet/ |
| H A D | in_pcb.c | 1065 !(t->inp_socket->so_flags & SOF_REUSESHAREUID) && in in_pcbbind() 1071 if ((t->inp_socket->so_flags & in in_pcbbind() 1073 !(so->so_flags & SOF_NOTIFYCONFLICT)) { in in_pcbbind() 1098 if ((t->inp_socket->so_flags & in in_pcbbind() 1100 !(so->so_flags & SOF_NOTIFYCONFLICT)) { in in_pcbbind() 1154 randomport = (so->so_flags & SOF_BINDRANDOMPORT) || in in_pcbbind() 1537 if (so->so_flags & SOF_DELEGATED) { in apn_fallback_trigger() 1900 if ((so->so_flags & SOF_ABORTED) != 0) { in in_pcbconnect() 1998 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF)) { in in_pcbdisconnect() 2056 if (!(so->so_flags & SOF_PCBCLEARING)) { in in_pcbdetach() [all …]
|
| H A D | tcp_output.c | 338 if ((so->so_flags & SOF_MP_SUBFLOW) && mptcp_enable && in tcp_tfo_check() 824 if (so->so_flags & SOF_MP_SUBFLOW && SEQ_LT(tp->snd_nxt, tp->snd_una)) { in tcp_output() 912 if (so->so_flags & SOF_NOADDRAVAIL) { in tcp_output() 1407 if (so->so_flags & SOF_MP_SUBFLOW && off < 0) { in tcp_output() 1413 if ((so->so_flags & SOF_MP_SUBFLOW) && in tcp_output() 1483 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 1529 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 1634 so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 1890 if (mptcp_enable && (so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 1941 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_output() [all …]
|
| H A D | in_pcblist.c | 144 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 D | mptcp_subr.c | 1376 so->so_flags |= SOF_MP_SUBFLOW; in mptcp_subflow_attach() 1628 if (mp_so->so_flags & SOF_DELEGATED) { in mptcp_subflow_socreate() 1758 VERIFY(so->so_flags & SOF_MP_SUBFLOW); in mptcp_subflow_soclose() 1795 so->so_flags |= SOF_MP_SEC_SUBFLOW; in mptcp_attach_to_subf() 2066 if (so->so_flags & SOF_DEFUNCT) { in mptcp_subflow_soreceive() 2098 (SS_NOFDREF | SS_CANTRCVMORE) && !(so->so_flags & SOF_MP_SUBFLOW)) { in mptcp_subflow_soreceive() 2388 VERIFY((so->so_flags & SOF_CONTENT_FILTER) == 0); in mptcp_subflow_sosend() 2775 so->so_flags &= ~SOF_MP_SUBFLOW; in mptcp_subflow_del() 2845 if (mp_so->so_flags & SOF_DEFUNCT) { in mptcp_subflow_disconnect() 2961 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in mptcp_handle_input() [all …]
|
| H A D | mptcp_usrreq.c | 241 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 D | raw_ip.c | 671 if (so->so_flags & SOF_DELEGATED) { in rip_output() 677 if (so->so_flags & SOF_MARK_WAKE_PKT) { in rip_output() 678 so->so_flags &= ~SOF_MARK_WAKE_PKT; in rip_output()
|
| H A D | tcp_usrreq.c | 1016 if ((so->so_flags & SOF_MP_SUBFLOW) && in tcp_usr_shutdown() 1237 VERIFY(!(so->so_flags & SOF_MP_SUBFLOW) || in tcp_usr_send() 2575 so->so_flags &= ~(SOF_NOTSENT_LOWAT); in tcp_ctloutput() 2578 so->so_flags |= SOF_NOTSENT_LOWAT; in tcp_ctloutput() 2939 if ((so->so_flags & SOF_NOTSENT_LOWAT) != 0) { in tcp_ctloutput() 3170 if ((so->so_flags & SOF_MP_SUBFLOW) && in tcp_disconnect()
|
| H A D | tcp_timer.c | 592 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() 1481 if (tp->t_inpcb->inp_socket->so_flags & SOF_FLOW_DIVERT) { in tcp_timers()
|
| H A D | flow_divert.c | 125 #define SO_IS_DIVERTED(s) (((s)->so_flags & SOF_FLOW_DIVERT) && (s)->so_fd_pcb != NULL) 1150 if (so->so_flags & SOF_DELEGATED) { in flow_divert_add_all_proc_info() 2262 so->so_flags &= ~SOF_FLOW_DIVERT; in flow_divert_disable() 3401 so->so_flags &= ~SOF_FLOW_DIVERT; in flow_divert_detach() 3867 if (SOCK_TYPE(so) == SOCK_STREAM && !(so->so_flags & SOF_CONTENT_FILTER)) { in flow_divert_connect_out() 3896 SOCK_TYPE(so) == SOCK_STREAM && !(so->so_flags & SOF_CONTENT_FILTER)) { in flow_divert_connectx_out_common() 4155 if (so->so_flags & SOF_FLOW_DIVERT) { in flow_divert_pcb_init_internal() 4175 so->so_flags |= SOF_FLOW_DIVERT; in flow_divert_pcb_init_internal() 4223 if (so->so_flags & SOF_FLOW_DIVERT) { in flow_divert_token_set()
|
| H A D | tcp_input.c | 1743 if (tp->t_inpcb->inp_socket->so_flags & SOF_MP_SUBFLOW) { in tcp_update_window() 2891 if ((so->so_flags & SOF_NOTSENT_LOWAT) != 0) { in tcp_input() 3105 if (tp->t_state != TCPS_LISTEN && (so->so_flags & SOF_MP_SUBFLOW)) { in tcp_input() 3661 so->so_flags &= ~(SOF_INCOMP_INPROGRESS); in tcp_input() 4052 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_input() 4461 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF) && in tcp_input() 4467 …if ((so->so_flags & SOF_MP_SUBFLOW) && (mptetoso(tptomptp(tp)->mpt_mpte)->so_state & SS_NOFDREF) && in tcp_input() 4473 if ((so->so_flags & SOF_DEFUNCT) && tp->t_state > TCPS_FIN_WAIT_1) { in tcp_input() 5927 if ((so->so_flags & SOF_MP_SUBFLOW) && tlen == 0 && in tcp_input() 7293 !(so->so_flags & SOF_INCOMP_INPROGRESS)) { in tcp_dropdropablreq() [all …]
|
| /xnu-11417.140.69/bsd/dev/dtrace/scripts/ |
| H A D | socket.d | 72 flags = T->so_flags;
|
| /xnu-11417.140.69/bsd/netinet6/ |
| H A D | udp6_output.c | 582 if (so->so_flags & SOF_DELEGATED) { in udp6_output() 588 if (so->so_flags & SOF_MARK_WAKE_PKT) { in udp6_output() 589 so->so_flags &= ~SOF_MARK_WAKE_PKT; in udp6_output()
|
| H A D | in6_pcb.c | 408 !(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 D | raw_ip6.c | 815 if (so->so_flags & SOF_DELEGATED) { in rip6_output() 821 if (so->so_flags & SOF_MARK_WAKE_PKT) { in rip6_output() 822 so->so_flags &= ~SOF_MARK_WAKE_PKT; in rip6_output()
|
| /xnu-11417.140.69/bsd/sys/ |
| H A D | socketvar.h | 239 u_int32_t so_flags; /* Flags */ member 397 ((so)->so_flags & (SOF_RECV_TRAFFIC_CLASS | SOF_RECV_WAKE_PKT))) 529 u_int32_t so_flags; member
|
| /xnu-11417.140.69/bsd/netkey/ |
| H A D | keysock.c | 404 so->so_flags |= SOF_PCBCLEARING; in key_attach()
|