| /xnu-10063.141.1/bsd/kern/ |
| H A D | uipc_socket.c | 732 so->so_flags |= SOF_DELEGATED; in socreate_internal() 781 so->so_flags |= SOF_PCBCLEARING; in socreate_internal() 823 so->so_flags |= SOF_NODEFUNCT; in socreate_internal() 931 if (so->so_flags & SOF_DEFUNCT) { in sobindlock() 1031 (so->so_flags & SOF_DEFUNCT)) { in solisten() 1033 if (so->so_flags & SOF_DEFUNCT) { in solisten() 1164 if (so->so_flags & SOF_FLOW_DIVERT) { in sofreelastref() 1170 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in sofreelastref() 1179 if (!(so->so_flags & SOF_PCBCLEARING) || !(so->so_state & SS_NOFDREF)) { in sofreelastref() 1261 if (!so->so_upcallusecount || !(so->so_flags & SOF_UPCALLCLOSEWAIT)) { in soclose_wait_locked() [all …]
|
| H A D | uipc_socket2.c | 386 if (head->so_flags & SOF_DELEGATED) { in sonewconn_internal() 392 so->so_flags = head->so_flags & in sonewconn_internal() 465 so->so_flags |= SOF_INCOMP_INPROGRESS; in sonewconn_internal() 554 if ((so->so_state & SS_DRAINING) || (so->so_flags & SOF_DEFUNCT)) { in sbwait() 556 if (so->so_flags & SOF_DEFUNCT) { in sbwait() 594 if ((so->so_state & SS_DRAINING) || (so->so_flags & SOF_DEFUNCT)) { in sbwait() 596 if (so->so_flags & SOF_DEFUNCT) { in sbwait() 624 if (so->so_flags & SOF_DEFUNCT) { in sowakeup() 697 if ((so->so_flags & SOF_CLOSEWAIT) && in sowakeup() 706 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in sowakeup() [all …]
|
| H A D | kpi_socketfilter.c | 1059 if (so->so_flags & SOF_MP_SUBFLOW) { in sflt_setsockopt() 1114 if (so->so_flags & SOF_MP_SUBFLOW) { in sflt_getsockopt() 1170 if (so->so_flags & SOF_MP_SUBFLOW) { in sflt_data_out() 1235 if (so->so_flags & SOF_MP_SUBFLOW) { in sflt_data_in() 1435 (!(so->so_flags & SOF_MP_SUBFLOW) && in sflt_register_common() 1453 (!(so->so_flags & SOF_MP_SUBFLOW) && in sflt_register_common() 1600 if (so->so_flags & SOF_MP_SUBFLOW) { in sock_inject_data_in() 1647 if (so->so_flags & SOF_MP_SUBFLOW) { in sock_inject_data_out()
|
| H A D | uipc_usrreq.c | 608 so->so_state, so->so_flags, so->so_flags1); in uipc_send() 845 peerso->so_flags & SOF_DELEGATED) { in uipc_ctloutput() 865 peerso->so_flags & SOF_DELEGATED) { in uipc_ctloutput() 1096 unp->unp_socket->so_flags |= SOF_PCBCLEARING; in unp_detach() 2851 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()
|
| /xnu-10063.141.1/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 | 586 (so->so_flags & SOF_MP_SUBFLOW) != 0 || \ 614 #define SOCKET_PID(so) ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid) 1610 if (!(so->so_flags & SOF_DEFUNCT) && !(sb->sb_flags & SB_LOCK)) { in cfil_release_sockbuf() 1631 if ((so->so_flags & SOF_CONTENT_FILTER) && so->so_cfil) { in cfil_sock_id_from_socket() 2275 if (sock->so_flags & SOF_DELEGATED) { in cfil_ctl_getopt() 2898 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in cfil_sock_is_dead() 2937 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in cfil_sock_tcp_add_time_wait() 3035 so->so_flags |= SOF_CONTENT_FILTER; in cfil_sock_attach() 3077 if (so->so_flags & SOF_CONTENT_FILTER) { in cfil_sock_detach() 3078 so->so_flags &= ~SOF_CONTENT_FILTER; in cfil_sock_detach() [all …]
|
| H A D | content_filter.h | 511 #define CFIL_DGRAM_FILTERED(so) ((so->so_flags & SOF_CONTENT_FILTER) && (so->so_flow_db != NULL))
|
| H A D | ndrv.c | 615 so->so_flags |= SOF_PCBCLEARING; in ndrv_do_detach() 635 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF)) { in ndrv_do_disconnect()
|
| /xnu-10063.141.1/bsd/netinet/ |
| H A D | in_pcb.c | 1033 !(t->inp_socket->so_flags & SOF_REUSESHAREUID) && in in_pcbbind() 1039 if ((t->inp_socket->so_flags & in in_pcbbind() 1041 !(so->so_flags & SOF_NOTIFYCONFLICT)) { in in_pcbbind() 1066 if ((t->inp_socket->so_flags & in in_pcbbind() 1068 !(so->so_flags & SOF_NOTIFYCONFLICT)) { in in_pcbbind() 1122 randomport = (so->so_flags & SOF_BINDRANDOMPORT) || in in_pcbbind() 1505 if (so->so_flags & SOF_DELEGATED) { in apn_fallback_trigger() 1867 if ((so->so_flags & SOF_ABORTED) != 0) { in in_pcbconnect() 1965 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF)) { in in_pcbdisconnect() 2024 if (!(so->so_flags & SOF_PCBCLEARING)) { in in_pcbdetach() [all …]
|
| H A D | tcp_output.c | 321 if ((so->so_flags & SOF_MP_SUBFLOW) && mptcp_enable && in tcp_tfo_check() 790 if (so->so_flags & SOF_MP_SUBFLOW && SEQ_LT(tp->snd_nxt, tp->snd_una)) { in tcp_output() 878 if (so->so_flags & SOF_NOADDRAVAIL) { in tcp_output() 1334 if (so->so_flags & SOF_MP_SUBFLOW && off < 0) { in tcp_output() 1340 if ((so->so_flags & SOF_MP_SUBFLOW) && in tcp_output() 1404 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 1450 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 1539 so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 1793 if (mptcp_enable && (so->so_flags & SOF_MP_SUBFLOW)) { in tcp_output() 1844 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() 789 so->so_flags |= SOF_SUSPENDED; in inpcb_count_opportunistic() 794 so->so_flags &= ~(SOF_SUSPENDED); in inpcb_count_opportunistic() 803 (so->so_flags & SOF_SUSPENDED) ? in inpcb_count_opportunistic()
|
| H A D | mptcp_subr.c | 1370 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() 2084 (SS_NOFDREF | SS_CANTRCVMORE) && !(so->so_flags & SOF_MP_SUBFLOW)) { in mptcp_subflow_soreceive() 2363 VERIFY((so->so_flags & SOF_CONTENT_FILTER) == 0); in mptcp_subflow_sosend() 2750 so->so_flags &= ~SOF_MP_SUBFLOW; in mptcp_subflow_del() 2820 if (mp_so->so_flags & SOF_DEFUNCT) { in mptcp_subflow_disconnect() 2936 if (!(so->so_flags & SOF_MP_SUBFLOW)) { in mptcp_handle_input() [all …]
|
| H A D | mptcp_usrreq.c | 240 if (mp_so->so_flags & SOF_DELEGATED && in mptcp_entitlement_check() 906 if (!(mp_so->so_flags & SOF_PCBCLEARING) && !(mp_so->so_flags & SOF_DEFUNCT)) { in mptcp_disconnect() 1259 VERIFY(!(mp_so->so_flags & SOF_MP_SUBFLOW)); in mptcp_usr_sosend() 1702 mp_so->so_flags &= ~SOF_NOTSENT_LOWAT; in mptcp_setopt() 1705 mp_so->so_flags |= SOF_NOTSENT_LOWAT; in mptcp_setopt() 2093 if (mptetoso(mpte)->so_flags & SOF_NOTSENT_LOWAT) { in mptcp_getopt()
|
| H A D | flow_divert.c | 130 #define SO_IS_DIVERTED(s) (((s)->so_flags & SOF_FLOW_DIVERT) && (s)->so_fd_pcb != NULL) 1142 if (so->so_flags & SOF_DELEGATED) { in flow_divert_add_all_proc_info() 2256 so->so_flags &= ~SOF_FLOW_DIVERT; in flow_divert_disable() 2556 if (!(so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_connect_result() 2698 if (!(so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_connect_result() 2751 if (!(fd_cb->so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_close() 2814 if (!(fd_cb->so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_data() 2935 if (!(fd_cb->so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_read_notification() 3035 if (!(fd_cb->so->so_flags & SOF_FLOW_DIVERT)) { in flow_divert_handle_properties_update() 3422 so->so_flags &= ~SOF_FLOW_DIVERT; in flow_divert_detach() [all …]
|
| H A D | raw_ip.c | 662 if (so->so_flags & SOF_DELEGATED) { in rip_output() 668 if (so->so_flags & SOF_MARK_WAKE_PKT) { in rip_output() 669 so->so_flags &= ~SOF_MARK_WAKE_PKT; in rip_output()
|
| H A D | tcp_usrreq.c | 1013 if ((so->so_flags & SOF_MP_SUBFLOW) && in tcp_usr_shutdown() 1238 VERIFY(!(so->so_flags & SOF_MP_SUBFLOW) || in tcp_usr_send() 2553 so->so_flags &= ~(SOF_NOTSENT_LOWAT); in tcp_ctloutput() 2556 so->so_flags |= SOF_NOTSENT_LOWAT; in tcp_ctloutput() 2920 if ((so->so_flags & SOF_NOTSENT_LOWAT) != 0) { in tcp_ctloutput() 3151 if ((so->so_flags & SOF_MP_SUBFLOW) && in tcp_disconnect()
|
| H A D | tcp_timer.c | 595 if ((tp->t_inpcb->inp_socket->so_flags & SOF_CONTENT_FILTER) != 0) { in add_to_time_wait() 641 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_garbage_collect() 701 ((istimewait && (so->so_flags & SOF_OVERFLOW)) || in tcp_garbage_collect() 1178 (so->so_flags & SOF_MP_SUBFLOW)) { in tcp_timers() 1472 if (tp->t_inpcb->inp_socket->so_flags & SOF_FLOW_DIVERT) { in tcp_timers()
|
| H A D | tcp_input.c | 1742 if (tp->t_inpcb->inp_socket->so_flags & SOF_MP_SUBFLOW) { in tcp_update_window() 2747 if ((so->so_flags & SOF_NOTSENT_LOWAT) != 0) { in tcp_input() 2960 if (tp->t_state != TCPS_LISTEN && (so->so_flags & SOF_MP_SUBFLOW)) { in tcp_input() 3458 so->so_flags &= ~(SOF_INCOMP_INPROGRESS); in tcp_input() 3834 if (so->so_flags & SOF_MP_SUBFLOW) { in tcp_input() 4237 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF) && in tcp_input() 4243 …if ((so->so_flags & SOF_MP_SUBFLOW) && (mptetoso(tptomptp(tp)->mpt_mpte)->so_state & SS_NOFDREF) && in tcp_input() 4249 if ((so->so_flags & SOF_DEFUNCT) && tp->t_state > TCPS_FIN_WAIT_1) { in tcp_input() 5600 if ((so->so_flags & SOF_MP_SUBFLOW) && tlen == 0 && in tcp_input() 6945 !(so->so_flags & SOF_INCOMP_INPROGRESS)) { in tcp_dropdropablreq() [all …]
|
| /xnu-10063.141.1/bsd/dev/dtrace/scripts/ |
| H A D | socket.d | 72 flags = T->so_flags;
|
| /xnu-10063.141.1/bsd/netinet6/ |
| H A D | udp6_output.c | 543 if (so->so_flags & SOF_DELEGATED) { in udp6_output() 549 if (so->so_flags & SOF_MARK_WAKE_PKT) { in udp6_output() 550 so->so_flags &= ~SOF_MARK_WAKE_PKT; in udp6_output()
|
| H A D | in6_pcb.c | 410 !(t->inp_socket->so_flags & SOF_REUSESHAREUID) && in in6_pcbbind() 860 if (!(so->so_flags & SOF_MP_SUBFLOW) && (so->so_state & SS_NOFDREF)) { in in6_pcbdisconnect() 912 if (!(so->so_flags & SOF_PCBCLEARING)) { in in6_pcbdetach() 943 so->so_flags |= SOF_PCBCLEARING; in in6_pcbdetach()
|
| H A D | raw_ip6.c | 803 if (so->so_flags & SOF_DELEGATED) { in rip6_output() 809 if (so->so_flags & SOF_MARK_WAKE_PKT) { in rip6_output() 810 so->so_flags &= ~SOF_MARK_WAKE_PKT; in rip6_output()
|
| /xnu-10063.141.1/bsd/sys/ |
| H A D | socketvar.h | 233 u_int32_t so_flags; /* Flags */ member 390 ((so)->so_flags & (SOF_RECV_TRAFFIC_CLASS | SOF_RECV_WAKE_PKT))) 522 u_int32_t so_flags; member
|
| /xnu-10063.141.1/bsd/netkey/ |
| H A D | keysock.c | 403 so->so_flags |= SOF_PCBCLEARING; in key_attach()
|