| /xnu-12377.41.6/bsd/kern/ |
| H A D | uipc_socket.c | 571 so->so_flags |= SOF_DELEGATED; in socreate_internal() 622 so->so_flags |= SOF_PCBCLEARING; in socreate_internal() 659 so->so_flags |= SOF_NODEFUNCT; in socreate_internal() 767 if (so->so_flags & SOF_DEFUNCT) { in sobindlock() 865 (so->so_flags & SOF_DEFUNCT)) { in solisten() 867 if (so->so_flags & SOF_DEFUNCT) { in solisten() 998 if (so->so_flags & SOF_FLOW_DIVERT) { in sofreelastref() 1004 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in sofreelastref() 1013 if (!(so->so_flags & SOF_PCBCLEARING) || !(so->so_state & SS_NOFDREF)) { in sofreelastref() 1095 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() 468 so->so_flags |= SOF_INCOMP_INPROGRESS; in sonewconn_internal() 557 if ((so->so_state & SS_DRAINING) || (so->so_flags & SOF_DEFUNCT)) { in sbwait() 559 if (so->so_flags & SOF_DEFUNCT) { in sbwait() 597 if ((so->so_state & SS_DRAINING) || (so->so_flags & SOF_DEFUNCT)) { in sbwait() 599 if (so->so_flags & SOF_DEFUNCT) { in sbwait() 627 if (so->so_flags & SOF_DEFUNCT) { in sowakeup() 700 if ((so->so_flags & SOF_CLOSEWAIT) && in sowakeup() 709 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-12377.41.6/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) 1615 if (!(so->so_flags & SOF_DEFUNCT) && !(sb->sb_flags & SB_LOCK)) { in cfil_release_sockbuf() 1636 if ((so->so_flags & SOF_CONTENT_FILTER) && so->so_cfil) { in cfil_sock_id_from_socket() 2278 if (sock->so_flags & SOF_DELEGATED) { in cfil_ctl_getopt() 2908 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in cfil_sock_is_dead() 2950 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in cfil_sock_tcp_add_time_wait() 3049 so->so_flags |= SOF_CONTENT_FILTER; in cfil_sock_attach() 3095 if (so->so_flags & SOF_CONTENT_FILTER) { in cfil_sock_detach() 3096 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-12377.41.6/bsd/netinet/ |
| H A D | in_pcb.c | 1025 !(t->inp_socket->so_flags & SOF_REUSESHAREUID) && in in_pcbbind() 1031 if ((t->inp_socket->so_flags & in in_pcbbind() 1033 !(so->so_flags & SOF_NOTIFYCONFLICT)) { in in_pcbbind() 1058 if ((t->inp_socket->so_flags & in in_pcbbind() 1060 !(so->so_flags & SOF_NOTIFYCONFLICT)) { in in_pcbbind() 1114 randomport = (so->so_flags & SOF_BINDRANDOMPORT) || in in_pcbbind() 1497 if (so->so_flags & SOF_DELEGATED) { in apn_fallback_trigger() 1860 if ((so->so_flags & SOF_ABORTED) != 0) { in in_pcbconnect() 1958 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF)) { in in_pcbdisconnect() 2016 if (!(so->so_flags & SOF_PCBCLEARING)) { in in_pcbdetach() [all …]
|
| H A D | tcp_output.c | 298 if ((so->so_flags & SOF_MP_SUBFLOW) && mptcp_enable && in tcp_tfo_check() 1058 if (so->so_flags & SOF_MP_SUBFLOW && SEQ_LT(tp->snd_nxt, tp->snd_una)) { in tcp_output() 1145 if (so->so_flags & SOF_NOADDRAVAIL) { in tcp_output() 1643 if (so->so_flags & SOF_MP_SUBFLOW && off < 0) { in tcp_output() 1649 if ((so->so_flags & SOF_MP_SUBFLOW) && in tcp_output() 1719 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 1765 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 1870 so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 2092 if (mptcp_enable && (so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 2145 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() 2780 so->so_flags &= ~SOF_MP_SUBFLOW; in mptcp_subflow_del() 2850 if (mp_so->so_flags & SOF_DEFUNCT) { in mptcp_subflow_disconnect() 2966 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() 910 if (!(mp_so->so_flags & SOF_PCBCLEARING) && !(mp_so->so_flags & SOF_DEFUNCT)) { in mptcp_disconnect() 1263 VERIFY(!(mp_so->so_flags & SOF_MP_SUBFLOW)); in mptcp_usr_sosend() 1729 mp_so->so_flags &= ~SOF_NOTSENT_LOWAT; in mptcp_setopt() 1732 mp_so->so_flags |= SOF_NOTSENT_LOWAT; in mptcp_setopt() 2117 if (mptetoso(mpte)->so_flags & SOF_NOTSENT_LOWAT) { in mptcp_getopt()
|
| H A D | raw_ip.c | 668 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 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() 2579 so->so_flags &= ~(SOF_NOTSENT_LOWAT); in tcp_ctloutput() 2582 so->so_flags |= SOF_NOTSENT_LOWAT; in tcp_ctloutput() 2937 if ((so->so_flags & SOF_NOTSENT_LOWAT) != 0) { in tcp_ctloutput() 3167 if ((so->so_flags & SOF_MP_SUBFLOW) && in tcp_disconnect()
|
| H A D | tcp_timer.c | 589 if ((tp->t_inpcb->inp_socket->so_flags & SOF_CONTENT_FILTER) != 0) { in add_to_time_wait() 635 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_garbage_collect() 695 ((istimewait && (so->so_flags & SOF_OVERFLOW)) || in tcp_garbage_collect() 1149 (so->so_flags & SOF_MP_SUBFLOW)) { in tcp_timers() 1466 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) 1147 if (so->so_flags & SOF_DELEGATED) { in flow_divert_add_all_proc_info() 2290 so->so_flags &= ~SOF_FLOW_DIVERT; in flow_divert_disable() 3486 so->so_flags &= ~SOF_FLOW_DIVERT; in flow_divert_detach() 3952 if (SOCK_TYPE(so) == SOCK_STREAM && !(so->so_flags & SOF_CONTENT_FILTER)) { in flow_divert_connect_out() 3981 SOCK_TYPE(so) == SOCK_STREAM && !(so->so_flags & SOF_CONTENT_FILTER)) { in flow_divert_connectx_out_common() 4240 if (so->so_flags & SOF_FLOW_DIVERT) { in flow_divert_pcb_init_internal() 4260 so->so_flags |= SOF_FLOW_DIVERT; in flow_divert_pcb_init_internal() 4308 if (so->so_flags & SOF_FLOW_DIVERT) { in flow_divert_token_set()
|
| H A D | udp_log.c | 541 (so->so_flags & SOF_DEFUNCT) || (so->so_state & SS_CANTRCVMORE))) { in udp_log_drop_pcb()
|
| /xnu-12377.41.6/bsd/dev/dtrace/scripts/ |
| H A D | socket.d | 72 flags = T->so_flags;
|
| /xnu-12377.41.6/bsd/netinet6/ |
| H A D | udp6_output.c | 585 if (so->so_flags & SOF_DELEGATED) { in udp6_output() 591 if (so->so_flags & SOF_MARK_WAKE_PKT) { in udp6_output() 592 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 | 818 if (so->so_flags & SOF_DELEGATED) { in rip6_output() 824 if (so->so_flags & SOF_MARK_WAKE_PKT) { in rip6_output() 825 so->so_flags &= ~SOF_MARK_WAKE_PKT; in rip6_output()
|
| /xnu-12377.41.6/bsd/sys/ |
| H A D | socketvar.h | 230 u_int32_t so_flags; /* Flags */ member 388 ((so)->so_flags & (SOF_RECV_TRAFFIC_CLASS | SOF_RECV_WAKE_PKT))) 520 u_int32_t so_flags; member
|
| /xnu-12377.41.6/bsd/netkey/ |
| H A D | keysock.c | 404 so->so_flags |= SOF_PCBCLEARING; in key_attach()
|