Home
last modified time | relevance | path

Searched refs:SOF_DELEGATED (Results 1 – 20 of 20) sorted by relevance

/xnu-8020.140.41/bsd/netinet/
H A Din_pcb.c1387 if (so->so_flags & SOF_DELEGATED) { in apn_fallback_trigger()
1927 if (so->so_flags & SOF_DELEGATED) { in in_pcbdetach()
3493 if (so->so_flags & SOF_DELEGATED) { in inp_get_soprocinfo()
3556 if (so->so_flags & SOF_DELEGATED) { in inp_update_cellular_policy()
3571 (so->so_flags & SOF_DELEGATED) ? in inp_update_cellular_policy()
3601 if (so->so_flags & SOF_DELEGATED) { in inp_update_necp_want_app_policy()
3613 (so->so_flags & SOF_DELEGATED) ? in inp_update_necp_want_app_policy()
3657 if (so->last_pid == 0 && !(so->so_flags & SOF_DELEGATED)) { in inp_update_policy()
3669 lookup_uuid = ((so->so_flags & SOF_DELEGATED) ? so->e_uuid : so->last_uuid); in inp_update_policy()
4010 if (so->so_flags & SOF_DELEGATED) { in inp_update_last_owner()
H A Draw_ip.c628 if (so->so_flags & SOF_DELEGATED) { in rip_output()
H A Dmptcp_subr.c1803 if (mp_so->so_flags & SOF_DELEGATED) { in mptcp_subflow_socreate()
6505 if (mp_so->so_flags & SOF_DELEGATED && in mptcp_allow_uuid()
6508 } else if (!(mp_so->so_flags & SOF_DELEGATED) && in mptcp_allow_uuid()
6638 if (mp_so->so_flags & SOF_DELEGATED) { in mptcp_ask_symptoms()
H A Dmptcp_usrreq.c244 if (mp_so->so_flags & SOF_DELEGATED && in mptcp_entitlement_check()
H A Dtcp_output.c2635 if (so->so_flags & SOF_DELEGATED) { in tcp_output()
H A Dudp_usrreq.c1963 if (so->so_flags & SOF_DELEGATED) { in udp_output()
H A Dflow_divert.c1083 if (so->so_flags & SOF_DELEGATED) { in flow_divert_add_all_proc_info()
/xnu-8020.140.41/bsd/kern/
H A Duipc_socket.c714 so->so_flags |= SOF_DELEGATED; in socreate_internal()
1703 …if (tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, nam, &metadata) == 0… in soconnectlock()
1822 …if (tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, dst, &metadata) == 0… in soconnectxlocked()
4996 if (ignore_delegate == false && so->so_flags & SOF_DELEGATED) { in soopt_cred_check()
7495 } else if (so->so_flags & SOF_DELEGATED) { in sosetdefunct()
7745 } else if (so->so_flags & SOF_DELEGATED) { in so_set_extended_bk_idle()
8003 so->so_flags &= ~SOF_DELEGATED; in so_set_effective_pid()
8008 so->so_flags |= SOF_DELEGATED; in so_set_effective_pid()
8040 ((so->so_flags & SOF_DELEGATED) ? " [delegated]" : "")); in so_set_effective_pid()
8120 so->so_flags &= ~SOF_DELEGATED; in so_set_effective_uuid()
[all …]
H A Duipc_socket2.c384 if (head->so_flags & SOF_DELEGATED) { in sonewconn_internal()
394 SOF_DELEGATED); in sonewconn_internal()
2657 if (so->so_flags & SOF_DELEGATED) { in soevent_ifdenied()
2682 ((so->so_flags & SOF_DELEGATED) ? in soevent_ifdenied()
2695 ((so->so_flags & SOF_DELEGATED) ? in soevent_ifdenied()
H A Dsocket_flows.c131 #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()
H A Duipc_usrreq.c802 peerso->so_flags & SOF_DELEGATED) { in uipc_ctloutput()
822 peerso->so_flags & SOF_DELEGATED) { in uipc_ctloutput()
/xnu-8020.140.41/bsd/netinet6/
H A Dudp6_output.c541 if (so->so_flags & SOF_DELEGATED) { in udp6_output()
H A Draw_ip6.c789 if (so->so_flags & SOF_DELEGATED) { in rip6_output()
/xnu-8020.140.41/bsd/net/
H A Dcontent_filter.c612 #define SOCKET_PID(so) ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid)
2236 if (sock->so_flags & SOF_DELEGATED) { in cfil_ctl_getopt()
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()
3188 if (so->so_flags & SOF_DELEGATED) { in cfil_dispatch_attach_event()
5565 if (so->so_flags & SOF_DELEGATED) { in sysctl_cfil_sock_list()
H A Dntstat.c146 (so && (nstat_debug_pid == (so->so_flags & SOF_DELEGATED ? so->e_pid : so->last_pid)))
153 …printf("NSTAT_DEBUG_SOCKET <pid %d>: " fmt "\n", (so->so_flags & SOF_DELEGATED ? so->e_pid : so->l…
1262 so->so_flags & SOF_DELEGATED ? so->e_pid : so->last_pid, in nstat_inp_domain_info()
1762 if (so->so_flags & SOF_DELEGATED) { in nstat_tcp_copy_descriptor()
1835 (filter->npf_pid == (so->so_flags & SOF_DELEGATED)? so->e_upid : so->last_pid)) { in nstat_tcpudp_reporting_allowed()
1841 (memcmp(filter->npf_uuid, (so->so_flags & SOF_DELEGATED)? so->e_uuid : so->last_uuid, in nstat_tcpudp_reporting_allowed()
2134 if (so->so_flags & SOF_DELEGATED) { in nstat_udp_copy_descriptor()
H A Dnecp.c8460 info->is_delegated = ((so->so_flags & SOF_DELEGATED) ? true : false); in necp_socket_fillout_info_locked()
8515 …g *existing_mapping = necp_uuid_lookup_app_id_locked(((so->so_flags & SOF_DELEGATED) ? so->e_uuid … in necp_socket_fillout_info_locked()
8533 } else if (!(so->so_flags & SOF_DELEGATED)) { in necp_socket_fillout_info_locked()
8555 ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid); in necp_socket_fillout_info_locked()
9373 necp_send_network_denied_event(((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid), in necp_socket_find_policy_match()
9374 ((so->so_flags & SOF_DELEGATED) ? so->e_uuid : so->last_uuid), in necp_socket_find_policy_match()
11228 necp_send_network_denied_event(((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid), in necp_socket_is_allowed_to_send_recv_internal()
11229 ((so->so_flags & SOF_DELEGATED) ? so->e_uuid : so->last_uuid), in necp_socket_is_allowed_to_send_recv_internal()
H A Dif_ports_used.c769 if (so->so_flags & SOF_DELEGATED) { in if_ports_used_add_inpcb()
H A Dnecp_client.c222 ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid)
/xnu-8020.140.41/bsd/sys/
H A Dsocketvar.h257 #define SOF_DELEGATED 0x10000000 /* on behalf of another process */ macro
/xnu-8020.140.41/bsd/vm/
H A Dvm_unix.c1835 ((so->so_flags & SOF_DELEGATED) && so->e_pid == pid)) { in networking_defunct_callout()