| /xnu-8020.140.41/bsd/kern/ |
| H A D | uipc_socket.c | 714 so->so_flags |= SOF_DELEGATED; in socreate_internal() 773 so->so_flags |= SOF_PCBCLEARING; in socreate_internal() 815 so->so_flags |= SOF_NODEFUNCT; in socreate_internal() 923 if (so->so_flags & SOF_DEFUNCT) { in sobindlock() 1017 (so->so_flags & SOF_DEFUNCT)) { in solisten() 1019 if (so->so_flags & SOF_DEFUNCT) { in solisten() 1150 if (so->so_flags & SOF_FLOW_DIVERT) { in sofreelastref() 1156 if (dealloc && ((so->so_flags & SOF_CONTENT_FILTER) != 0)) { in sofreelastref() 1165 if (!(so->so_flags & SOF_PCBCLEARING) || !(so->so_state & SS_NOFDREF)) { in sofreelastref() 1247 if (!so->so_upcallusecount || !(so->so_flags & SOF_UPCALLCLOSEWAIT)) { in soclose_wait_locked() [all …]
|
| H A D | uipc_socket2.c | 384 if (head->so_flags & SOF_DELEGATED) { in sonewconn_internal() 390 so->so_flags = head->so_flags & in sonewconn_internal() 463 so->so_flags |= SOF_INCOMP_INPROGRESS; in sonewconn_internal() 552 if ((so->so_state & SS_DRAINING) || (so->so_flags & SOF_DEFUNCT)) { in sbwait() 554 if (so->so_flags & SOF_DEFUNCT) { in sbwait() 592 if ((so->so_state & SS_DRAINING) || (so->so_flags & SOF_DEFUNCT)) { in sbwait() 594 if (so->so_flags & SOF_DEFUNCT) { in sbwait() 622 if (so->so_flags & SOF_DEFUNCT) { in sowakeup() 695 if ((so->so_flags & SOF_CLOSEWAIT) && in sowakeup() 704 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in sowakeup() [all …]
|
| H A D | kpi_socketfilter.c | 1066 if (so->so_flags & SOF_MP_SUBFLOW) { in sflt_setsockopt() 1121 if (so->so_flags & SOF_MP_SUBFLOW) { in sflt_getsockopt() 1177 if (so->so_flags & SOF_MP_SUBFLOW) { in sflt_data_out() 1242 if (so->so_flags & SOF_MP_SUBFLOW) { in sflt_data_in() 1442 (!(so->so_flags & SOF_MP_SUBFLOW) && in sflt_register_common() 1460 (!(so->so_flags & SOF_MP_SUBFLOW) && in sflt_register_common() 1607 if (so->so_flags & SOF_MP_SUBFLOW) { in sock_inject_data_in() 1654 if (so->so_flags & SOF_MP_SUBFLOW) { in sock_inject_data_out()
|
| H A D | uipc_usrreq.c | 570 so->so_state, so->so_flags, so->so_flags1); in uipc_send() 802 peerso->so_flags & SOF_DELEGATED) { in uipc_ctloutput() 822 peerso->so_flags & SOF_DELEGATED) { in uipc_ctloutput() 1051 unp->unp_socket->so_flags |= SOF_PCBCLEARING; in unp_detach() 2662 if (so->so_usecount == 0 && (so->so_flags & SOF_PCBCLEARING)) { in unp_unlock()
|
| H A D | sys_socket.c | 157 if (stat == EPIPE && !(so->so_flags & SOF_NOSIGPIPE)) { in soo_write()
|
| H A D | socket_flows.c | 131 #define SOFLOW_SOCKET_PID(so) ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid) 977 if (so->so_flags & SOF_DELEGATED) { in soflow_nstat_provider_request_vals() 1092 so->so_flags & SOF_DELEGATED ? so->e_pid : so->last_pid, in soflow_nstat_provider_request_extensions()
|
| /xnu-8020.140.41/bsd/net/ |
| H A D | raw_cb.c | 129 so->so_flags |= SOF_PCBCLEARING; in raw_detach_nofree() 166 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF)) { in raw_disconnect()
|
| H A D | content_filter.c | 584 (so->so_flags & SOF_MP_SUBFLOW) != 0 || \ 612 #define SOCKET_PID(so) ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid) 1579 if (!(so->so_flags & SOF_DEFUNCT) && !(sb->sb_flags & SB_LOCK)) { in cfil_release_sockbuf() 1600 if ((so->so_flags & SOF_CONTENT_FILTER) && so->so_cfil) { in cfil_sock_id_from_socket() 2236 if (sock->so_flags & SOF_DELEGATED) { in cfil_ctl_getopt() 2869 so->so_flags |= SOF_CONTENT_FILTER; in cfil_sock_attach() 2911 if (so->so_flags & SOF_CONTENT_FILTER) { in cfil_sock_detach() 2912 so->so_flags &= ~SOF_CONTENT_FILTER; in cfil_sock_detach() 3021 if (so->so_flags & SOF_DELEGATED) { in cfil_dispatch_data_event_sign() 3076 if (so->so_flags & SOF_DELEGATED) { in cfil_dispatch_closed_event_sign() [all …]
|
| H A D | content_filter.h | 517 #define CFIL_DGRAM_FILTERED(so) ((so->so_flags & SOF_CONTENT_FILTER) && (so->so_flow_db != NULL))
|
| H A D | ndrv.c | 617 so->so_flags |= SOF_PCBCLEARING; in ndrv_do_detach() 638 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF)) { in ndrv_do_disconnect()
|
| /xnu-8020.140.41/bsd/netinet/ |
| H A D | in_pcb.c | 927 !(t->inp_socket->so_flags & SOF_REUSESHAREUID) && in in_pcbbind() 933 if ((t->inp_socket->so_flags & in in_pcbbind() 935 !(so->so_flags & SOF_NOTIFYCONFLICT)) { in in_pcbbind() 959 if ((t->inp_socket->so_flags & in in_pcbbind() 961 !(so->so_flags & SOF_NOTIFYCONFLICT)) { in in_pcbbind() 1013 randomport = (so->so_flags & SOF_BINDRANDOMPORT) || in in_pcbbind() 1387 if (so->so_flags & SOF_DELEGATED) { in apn_fallback_trigger() 1747 if ((so->so_flags & SOF_ABORTED) != 0) { in in_pcbconnect() 1845 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF)) { in in_pcbdisconnect() 1896 if (!(so->so_flags & SOF_PCBCLEARING)) { in in_pcbdetach() [all …]
|
| H A D | flow_divert.c | 263 if (!(so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_pcb_insert() 315 if (!(so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_pcb_insert() 1083 if (so->so_flags & SOF_DELEGATED) { in flow_divert_add_all_proc_info() 2022 so->so_flags &= ~SOF_FLOW_DIVERT; in flow_divert_disable() 2345 if (!(so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_connect_result() 2526 if (!(fd_cb->so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_close() 2589 if (!(fd_cb->so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_data() 2710 if (!(fd_cb->so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_read_notification() 2797 if (!(fd_cb->so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_properties_update() 3112 VERIFY((so->so_flags & SOF_FLOW_DIVERT) && so->so_fd_pcb != NULL); in flow_divert_detach() [all …]
|
| H A D | tcp_output.c | 317 if ((so->so_flags & SOF_MP_SUBFLOW) && mptcp_enable && in tcp_tfo_check() 756 if (so->so_flags & SOF_NOADDRAVAIL) { in tcp_output() 1208 if (so->so_flags & SOF_MP_SUBFLOW && off < 0) { in tcp_output() 1214 if ((so->so_flags & SOF_MP_SUBFLOW) && in tcp_output() 1278 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 1324 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 1395 so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 1637 if (mptcp_enable && (so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 1688 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_output() 2109 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_output() [all …]
|
| H A D | mptcp_subr.c | 1558 so->so_flags |= SOF_MP_SUBFLOW; in mptcp_subflow_attach() 1803 if (mp_so->so_flags & SOF_DELEGATED) { in mptcp_subflow_socreate() 1933 VERIFY(so->so_flags & SOF_MP_SUBFLOW); in mptcp_subflow_soclose() 2170 if (so->so_flags & SOF_DEFUNCT) { in mptcp_subflow_soreceive() 2202 (SS_NOFDREF | SS_CANTRCVMORE) && !(so->so_flags & SOF_MP_SUBFLOW)) { in mptcp_subflow_soreceive() 2471 VERIFY((so->so_flags & SOF_CONTENT_FILTER) == 0); in mptcp_subflow_sosend() 2811 so->so_flags &= ~SOF_MP_SUBFLOW; in mptcp_subflow_del() 2888 if (mp_so->so_flags & SOF_DEFUNCT) { in mptcp_subflow_disconnect() 3013 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in mptcp_handle_input() 3497 … long)VM_KERNEL_ADDRPERM(mpte), mpts->mpts_connid, error, tot_sent, so->so_flags, so->so_state, so… in mptcp_subflow_output() [all …]
|
| H A D | mptcp_usrreq.c | 244 if (mp_so->so_flags & SOF_DELEGATED && in mptcp_entitlement_check() 904 if (!(mp_so->so_flags & SOF_PCBCLEARING) && !(mp_so->so_flags & SOF_DEFUNCT)) { in mptcp_disconnect() 1256 VERIFY(!(mp_so->so_flags & SOF_MP_SUBFLOW)); in mptcp_usr_sosend() 1698 mp_so->so_flags &= ~SOF_NOTSENT_LOWAT; in mptcp_setopt() 1701 mp_so->so_flags |= SOF_NOTSENT_LOWAT; in mptcp_setopt() 2089 if (mptetoso(mpte)->so_flags & SOF_NOTSENT_LOWAT) { in mptcp_getopt()
|
| H A D | in_pcblist.c | 707 so->so_flags |= SOF_SUSPENDED; in inpcb_count_opportunistic() 712 so->so_flags &= ~(SOF_SUSPENDED); in inpcb_count_opportunistic() 721 (so->so_flags & SOF_SUSPENDED) ? in inpcb_count_opportunistic()
|
| H A D | raw_ip.c | 628 if (so->so_flags & SOF_DELEGATED) { in rip_output() 634 if (so->so_flags & SOF_MARK_WAKE_PKT) { in rip_output() 635 so->so_flags &= ~SOF_MARK_WAKE_PKT; in rip_output()
|
| H A D | tcp_usrreq.c | 937 if ((so->so_flags & SOF_MP_SUBFLOW) && in tcp_usr_shutdown() 1163 VERIFY(!(so->so_flags & SOF_MP_SUBFLOW) || in tcp_usr_send() 2457 so->so_flags &= ~(SOF_NOTSENT_LOWAT); in tcp_ctloutput() 2460 so->so_flags |= SOF_NOTSENT_LOWAT; in tcp_ctloutput() 2799 if ((so->so_flags & SOF_NOTSENT_LOWAT) != 0) { in tcp_ctloutput() 3027 if ((so->so_flags & SOF_MP_SUBFLOW) && in tcp_disconnect()
|
| H A D | tcp_input.c | 1810 if (tp->t_inpcb->inp_socket->so_flags & SOF_MP_SUBFLOW) { in tcp_update_window() 2701 if ((so->so_flags & SOF_NOTSENT_LOWAT) != 0) { in tcp_input() 2854 if (tp->t_state != TCPS_LISTEN && (so->so_flags & SOF_MP_SUBFLOW) && in tcp_input() 3348 so->so_flags &= ~(SOF_INCOMP_INPROGRESS); in tcp_input() 3593 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_input() 3992 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF) && in tcp_input() 3998 …if ((so->so_flags & SOF_MP_SUBFLOW) && (mptetoso(tptomptp(tp)->mpt_mpte)->so_state & SS_NOFDREF) && in tcp_input() 4004 if ((so->so_flags & SOF_DEFUNCT) && tp->t_state > TCPS_FIN_WAIT_1) { in tcp_input() 5272 if ((so->so_flags & SOF_MP_SUBFLOW) && tlen == 0 && in tcp_input() 6591 !(so->so_flags & SOF_INCOMP_INPROGRESS)) { in tcp_dropdropablreq() [all …]
|
| H A D | tcp_subr.c | 1612 if (rt != NULL && (so->so_flags & SOF_OVERFLOW)) { in tcp_close() 3204 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_lock() 3214 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in tcp_lock() 3221 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_lock() 3285 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_unlock() 3312 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_getlock() 3367 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_sbspace() 3441 if (inp->inp_socket->so_flags & SOF_MP_SUBFLOW) { in tcp_set_tso()
|
| /xnu-8020.140.41/bsd/dev/dtrace/scripts/ |
| H A D | socket.d | 72 flags = T->so_flags;
|
| /xnu-8020.140.41/bsd/netinet6/ |
| H A D | udp6_output.c | 541 if (so->so_flags & SOF_DELEGATED) { in udp6_output() 547 if (so->so_flags & SOF_MARK_WAKE_PKT) { in udp6_output() 548 so->so_flags &= ~SOF_MARK_WAKE_PKT; in udp6_output()
|
| H A D | in6_pcb.c | 388 !(t->inp_socket->so_flags & SOF_REUSESHAREUID) && in in6_pcbbind() 823 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF)) { in in6_pcbdisconnect() 867 if (!(so->so_flags & SOF_PCBCLEARING)) { in in6_pcbdetach() 898 so->so_flags |= SOF_PCBCLEARING; in in6_pcbdetach()
|
| H A D | raw_ip6.c | 789 if (so->so_flags & SOF_DELEGATED) { in rip6_output() 795 if (so->so_flags & SOF_MARK_WAKE_PKT) { in rip6_output() 796 so->so_flags &= ~SOF_MARK_WAKE_PKT; in rip6_output()
|
| /xnu-8020.140.41/bsd/netkey/ |
| H A D | keysock.c | 403 so->so_flags |= SOF_PCBCLEARING; in key_attach()
|