| /xnu-11417.140.69/bsd/netinet/ |
| H A D | in_pcb.c | 1537 if (so->so_flags & SOF_DELEGATED) { in apn_fallback_trigger() 2087 if (so->so_flags & SOF_DELEGATED) { in in_pcbdetach() 3823 if (so->so_flags & SOF_DELEGATED) { in inp_get_soprocinfo() 3885 if (so->so_flags & SOF_DELEGATED) { in inp_update_cellular_policy() 3900 (so->so_flags & SOF_DELEGATED) ? in inp_update_cellular_policy() 3930 if (so->so_flags & SOF_DELEGATED) { in inp_update_necp_want_app_policy() 3942 (so->so_flags & SOF_DELEGATED) ? in inp_update_necp_want_app_policy() 3986 if (so->last_pid == 0 && !(so->so_flags & SOF_DELEGATED)) { in inp_update_policy() 3998 lookup_uuid = ((so->so_flags & SOF_DELEGATED) ? so->e_uuid : so->last_uuid); in inp_update_policy() 4377 if (so->so_flags & SOF_DELEGATED) { in inp_update_last_owner()
|
| H A D | raw_ip.c | 671 if (so->so_flags & SOF_DELEGATED) { in rip_output()
|
| H A D | mptcp_subr.c | 1628 if (mp_so->so_flags & SOF_DELEGATED) { in mptcp_subflow_socreate() 6335 if (mp_so->so_flags & SOF_DELEGATED && in mptcp_allow_uuid() 6338 } else if (!(mp_so->so_flags & SOF_DELEGATED) && in mptcp_allow_uuid() 6468 if (mp_so->so_flags & SOF_DELEGATED) { in mptcp_ask_symptoms()
|
| H A D | mptcp_usrreq.c | 241 if (mp_so->so_flags & SOF_DELEGATED && in mptcp_entitlement_check()
|
| H A D | udp_usrreq.c | 2070 if (so->so_flags & SOF_DELEGATED) { in udp_output()
|
| H A D | tcp_output.c | 3126 if (so->so_flags & SOF_DELEGATED) { in tcp_output()
|
| H A D | flow_divert.c | 1150 if (so->so_flags & SOF_DELEGATED) { in flow_divert_add_all_proc_info()
|
| /xnu-11417.140.69/bsd/kern/ |
| H A D | uipc_socket.c | 731 so->so_flags |= SOF_DELEGATED; in socreate_internal() 1711 …if (tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, nam, &metadata) == 0… in soconnectlock() 1734 …(void)tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, nam, &update_metad… in soconnectlock() 1847 …if (tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, dst, &metadata) == 0… in soconnectxlocked() 1922 …(void)tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, dst, &update_metad… in soconnectxlocked() 4845 if (ignore_delegate == false && so->so_flags & SOF_DELEGATED) { in soopt_cred_check() 7504 } else if (so->so_flags & SOF_DELEGATED) { in sosetdefunct() 7759 } else if (so->so_flags & SOF_DELEGATED) { in so_set_extended_bk_idle() 8017 so->so_flags &= ~SOF_DELEGATED; in so_set_effective_pid() 8022 so->so_flags |= SOF_DELEGATED; in so_set_effective_pid() [all …]
|
| H A D | uipc_socket2.c | 387 if (head->so_flags & SOF_DELEGATED) { in sonewconn_internal() 397 SOF_DELEGATED); in sonewconn_internal() 2755 if (so->so_flags & SOF_DELEGATED) { in soevent_ifdenied() 2780 ((so->so_flags & SOF_DELEGATED) ? in soevent_ifdenied() 2793 ((so->so_flags & SOF_DELEGATED) ? in soevent_ifdenied()
|
| H A D | socket_flows.c | 135 #define SOFLOW_SOCKET_PID(so) ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid) 992 if (so->so_flags & SOF_DELEGATED) { in soflow_nstat_provider_request_vals() 1107 so->so_flags & SOF_DELEGATED ? so->e_pid : so->last_pid, in soflow_nstat_provider_request_extensions()
|
| H A D | uipc_usrreq.c | 865 peerso->so_flags & SOF_DELEGATED) { in uipc_ctloutput() 889 peerso->so_flags & SOF_DELEGATED) { in uipc_ctloutput()
|
| H A D | kern_proc.c | 6404 ((so->so_flags & SOF_DELEGATED) && so->e_pid == pid)) { in networking_defunct_callout()
|
| /xnu-11417.140.69/bsd/netinet6/ |
| H A D | udp6_output.c | 582 if (so->so_flags & SOF_DELEGATED) { in udp6_output()
|
| H A D | raw_ip6.c | 815 if (so->so_flags & SOF_DELEGATED) { in rip6_output()
|
| /xnu-11417.140.69/bsd/net/ |
| H A D | content_filter.c | 618 #define SOCKET_PID(so) ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid) 2281 if (sock->so_flags & SOF_DELEGATED) { in cfil_ctl_getopt() 3248 if (so->so_flags & SOF_DELEGATED) { in cfil_dispatch_data_event_sign() 3315 if (so->so_flags & SOF_DELEGATED) { in cfil_dispatch_closed_event_sign() 3477 if (so->so_flags & SOF_DELEGATED) { in cfil_dispatch_attach_event() 3981 if (so->so_flags & SOF_DELEGATED) { in cfil_dispatch_data_event() 5934 if (so->so_flags & SOF_DELEGATED) { in sysctl_cfil_sock_list()
|
| H A D | necp.c | 9712 info->is_delegated = ((so->so_flags & SOF_DELEGATED) ? true : false); in necp_socket_fillout_info_locked() 9737 …g *existing_mapping = necp_uuid_lookup_app_id_locked(((so->so_flags & SOF_DELEGATED) ? so->e_uuid … in necp_socket_fillout_info_locked() 9755 } else if (!(so->so_flags & SOF_DELEGATED)) { in necp_socket_fillout_info_locked() 9769 ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid); in necp_socket_fillout_info_locked() 10405 ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid); in necp_socket_bypass() 10887 …responsible_pid = (so->so_rpid > 0 && so->so_rpid != ((so->so_flags & SOF_DELEGATED) ? so->e_pid :… in necp_socket_find_policy_match() 10888 …_event(should_report_responsible_pid ? so->so_rpid : ((so->so_flags & SOF_DELEGATED) ? so->e_pid :… in necp_socket_find_policy_match() 10889 …should_report_responsible_pid ? so->so_ruuid : ((so->so_flags & SOF_DELEGATED) ? so->e_uuid : so->… in necp_socket_find_policy_match() 10892 necp_send_network_denied_event(((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid), in necp_socket_find_policy_match() 10893 ((so->so_flags & SOF_DELEGATED) ? so->e_uuid : so->last_uuid), in necp_socket_find_policy_match() [all …]
|
| H A D | ntstat.c | 165 (so && (nstat_debug_pid == (so->so_flags & SOF_DELEGATED ? so->e_pid : so->last_pid))) 172 …NSTAT_LOG_DEBUG("NSTAT_DEBUG_SOCKET <pid %d>: " fmt, (so->so_flags & SOF_DELEGATED ? so->e_pid : s… 1630 so->so_flags & SOF_DELEGATED ? so->e_pid : so->last_pid, in nstat_inp_domain_info() 2099 if (so->so_flags & SOF_DELEGATED) { in nstat_tcp_copy_descriptor() 2186 (filter->npf_pid == (so->so_flags & SOF_DELEGATED)? so->e_upid : so->last_pid)) { in nstat_tcpudp_reporting_allowed() 2192 (memcmp(filter->npf_uuid, (so->so_flags & SOF_DELEGATED)? so->e_uuid : so->last_uuid, in nstat_tcpudp_reporting_allowed() 2486 if (so->so_flags & SOF_DELEGATED) { in nstat_udp_copy_descriptor()
|
| H A D | if_ports_used.c | 831 if (so->so_flags & SOF_DELEGATED) { in if_ports_used_add_inpcb()
|
| H A D | necp_client.c | 228 ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid)
|
| /xnu-11417.140.69/bsd/sys/ |
| H A D | socketvar.h | 272 #define SOF_DELEGATED 0x10000000 /* on behalf of another process */ macro
|