Home
last modified time | relevance | path

Searched refs:so_flags1 (Results 1 – 25 of 33) sorted by relevance

12

/xnu-10063.141.1/bsd/kern/
H A Duipc_socket.c490 OSBitOrAtomic(SOF1_CACHED_IN_SOCK_LAYER, &(*so)->so_flags1); in cached_sock_alloc()
968 if (so->so_flags1 & SOF1_CACHED_IN_SOCK_LAYER) { in sodealloc()
1122 if (!(head->so_flags1 & SOF1_ACCEPT_LIST_HELD)) { in so_acquire_accept_list()
1123 head->so_flags1 |= SOF1_ACCEPT_LIST_HELD; in so_acquire_accept_list()
1129 while (head->so_flags1 & SOF1_ACCEPT_LIST_HELD) { in so_acquire_accept_list()
1134 head->so_flags1 |= SOF1_ACCEPT_LIST_HELD; in so_acquire_accept_list()
1151 head->so_flags1 &= ~SOF1_ACCEPT_LIST_HELD; in so_release_accept_list()
1311 if (so->so_flags1 & SOF1_EXTEND_BK_IDLE_INPROG) { in soclose_locked()
1313 so->so_flags1 &= ~SOF1_EXTEND_BK_IDLE_WANTED; in soclose_locked()
1713 if (!(so->so_flags1 & SOF1_KNOWN_TRACKER) && IS_INET(so)) { in soconnectlock()
[all …]
H A Duipc_socket2.c259 (so->so_flags1 & SOF1_PRECONNECT_DATA); in socanwrite()
397 so->so_flags1 |= SOF1_INBOUND; in sonewconn_internal()
406 so->so_flags1 |= in sonewconn_internal()
407 head->so_flags1 & (SOF1_TRAFFIC_MGT_SO_BACKGROUND | SOF1_TC_NET_SERV_TYPE | in sonewconn_internal()
1798 !(sb->sb_so->so_flags1 & SOF1_POST_FALLBACK_SYNC)) { in sbdrop()
1803 (sb->sb_so->so_flags1 & SOF1_POST_FALLBACK_SYNC)) { in sbdrop()
2325 if (so->so_flags1 & SOF1_PRECONNECT_DATA) { in sowriteable()
2586 !(so->so_flags1 & SOF1_DEFUNCTINPROG)) { in sbunlock()
2594 (so->so_flags1 & SOF1_DEFUNCTINPROG)); in sbunlock()
2875 return so->so_flags1 & SOF1_TRAFFIC_MGT_SO_BACKGROUND; in soisthrottled()
[all …]
H A Dkpi_socket.c147 new_so->so_flags1 |= SOF1_IN_KERNEL_SOCKET; in sock_accept_common()
1082 (*new_so)->so_flags1 |= SOF1_IN_KERNEL_SOCKET; in sock_socket_common()
1281 (void) OSBitOrAtomic(soflags1, &sock->so_flags1); in socket_set_traffic_mgt_flags_locked()
1309 (void) OSBitAndAtomic(~soflags1, &sock->so_flags1); in socket_clear_traffic_mgt_flags_locked()
/xnu-10063.141.1/bsd/netinet6/
H A Dudp6_output.c181 bool check_qos_marking_again = (so->so_flags1 & SOF1_QOSMARKING_POLICY_OVERRIDE) ? FALSE : TRUE; in udp6_output()
399 if (fport == htons(53) && !(so->so_flags1 & SOF1_DNS_COUNTED)) { in udp6_output()
400 so->so_flags1 |= SOF1_DNS_COUNTED; in udp6_output()
509 if ((so->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in udp6_output()
588 in6p->inp_socket->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in udp6_output()
590 in6p->inp_socket->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in udp6_output()
H A Dudp6_usrreq.c937 if (!(so->so_flags1 & SOF1_CONNECT_COUNTED)) { in udp6_connect()
938 so->so_flags1 |= SOF1_CONNECT_COUNTED; in udp6_connect()
975 if (!(so->so_flags1 & SOF1_CONNECT_COUNTED)) { in udp6_connect()
976 so->so_flags1 |= SOF1_CONNECT_COUNTED; in udp6_connect()
H A Draw_ip6.c776 if ((so->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in rip6_output()
1148 if (!(so->so_flags1 & SOF1_CONNECT_COUNTED)) { in rip6_connect()
1149 so->so_flags1 |= SOF1_CONNECT_COUNTED; in rip6_connect()
H A Din6_pcb.c741 sin6->sin6_port == htons(53) && !(so->so_flags1 & SOF1_DNS_COUNTED)) { in in6_pcbconnect()
742 so->so_flags1 |= SOF1_DNS_COUNTED; in in6_pcbconnect()
/xnu-10063.141.1/bsd/netinet/
H A Dudp_log.c248 (so->so_flags1 & SOF1_TC_NET_SERV_TYPE) ? so->so_netsvctype : so->so_traffic_class in udp_log_bind()
312 (so->so_flags1 & SOF1_TC_NET_SERV_TYPE) ? so->so_netsvctype : so->so_traffic_class, \ in udp_log_connection()
404 (so->so_flags1 & SOF1_TC_NET_SERV_TYPE) ? so->so_netsvctype : so->so_traffic_class, \ in udp_log_connection_summary()
H A Din_tclass.c358 so->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in set_tclass_for_curr_proc()
360 so->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in set_tclass_for_curr_proc()
529 so->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in set_pid_tclass()
531 so->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in set_pid_tclass()
901 if ((so->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in so_get_netsvc_marking_level()
989 so->so_flags1 |= SOF1_TC_NET_SERV_TYPE; in so_set_net_service_type()
1001 so->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in so_set_default_traffic_class()
H A Dudp_usrreq.c1545 bool check_qos_marking_again = (so->so_flags1 & SOF1_QOSMARKING_POLICY_OVERRIDE) ? FALSE : TRUE; in udp_output()
1829 if (fport == htons(53) && !(so->so_flags1 & SOF1_DNS_COUNTED)) { in udp_output()
1830 so->so_flags1 |= SOF1_DNS_COUNTED; in udp_output()
1958 if ((so->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in udp_output()
2045 inp->inp_socket->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in udp_output()
2047 inp->inp_socket->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in udp_output()
2322 if (!(so->so_flags1 & SOF1_CONNECT_COUNTED)) { in udp_connect()
2323 so->so_flags1 |= SOF1_CONNECT_COUNTED; in udp_connect()
2337 so->so_flags1 |= SOF1_FLOW_DIVERT_SKIP; in udp_connect()
2565 so->so_flags1 |= SOF1_FLOW_DIVERT_SKIP; in udp_send()
H A Dtcp_usrreq.c462 if (so->so_flags1 & SOF1_PRECONNECT_DATA) { in tcp_connect_complete()
655 so->so_flags1 |= SOF1_FLOW_DIVERT_SKIP; in tcp_usr_connect()
697 if ((so->so_flags1 & SOF1_DATA_IDEMPOTENT) && in tcp_usr_connectx_common()
765 so->so_flags1 &= ~SOF1_PRECONNECT_DATA; in tcp_usr_connectx_common()
816 so->so_flags1 |= SOF1_FLOW_DIVERT_SKIP; in tcp6_usr_connect()
1205 if (so->so_flags1 & SOF1_MPKL_SEND_INFO) { in tcp_usr_send()
1241 if (!(flags & PRUS_OOB) || (so->so_flags1 & SOF1_PRECONNECT_DATA)) { in tcp_usr_send()
2955 optval = (so->so_flags1 & in tcp_ctloutput()
3137 so->so_flags1 & SOF1_DEFUNCTINPROG) { in tcp_disconnect()
H A Dmptcp_subr.c1527 if (mp_so->so_flags1 & SOF1_PRECONNECT_DATA) { in mptcp_subflow_socreate()
1528 (*so)->so_flags1 |= SOF1_PRECONNECT_DATA; in mptcp_subflow_socreate()
1530 if (mp_so->so_flags1 & SOF1_DATA_IDEMPOTENT) { in mptcp_subflow_socreate()
1531 (*so)->so_flags1 |= SOF1_DATA_IDEMPOTENT; in mptcp_subflow_socreate()
1533 if (mp_so->so_flags1 & SOF1_DATA_AUTHENTICATED) { in mptcp_subflow_socreate()
1534 (*so)->so_flags1 |= SOF1_DATA_AUTHENTICATED; in mptcp_subflow_socreate()
1883 (mp_so->so_flags1 & SOF1_PRECONNECT_DATA)) { in mptcp_subflow_soconnectx()
2643 if (so->so_flags1 & SOF1_PRECONNECT_DATA) { in mptcp_subflow_add()
3062 (uint32_t)mp_tp->mpt_snduna, mp_tp->mpt_state, mp_so->so_flags1); in mptcp_subflow_output()
3075 (so->so_flags1 & SOF1_PRECONNECT_DATA)) { in mptcp_subflow_output()
[all …]
H A Din_pcblist.c145 xso->so_flags1 = so->so_flags1; in sotoxsocket_n()
584 if (!(so->so_flags1 & SOF1_EXTEND_BK_IDLE_WANTED) && in inpcb_get_if_ports_used()
H A Dtcp_log.c433 (so->so_flags1 & SOF1_TC_NET_SERV_TYPE) ? so->so_netsvctype : so->so_traffic_class, \ in tcp_log_connection()
503 (so->so_flags1 & SOF1_TC_NET_SERV_TYPE) ? so->so_netsvctype : so->so_traffic_class in tcp_log_listen()
647 (so->so_flags1 & SOF1_TC_NET_SERV_TYPE) ? so->so_netsvctype : so->so_traffic_class, \ in tcp_log_connection_summary()
H A Dtcp_subr.c762 …check_qos_marking_again = tp->t_inpcb->inp_socket->so_flags1 & SOF1_QOSMARKING_POLICY_OVERRIDE ? F… in tcp_respond()
971 if ((tp->t_inpcb->inp_socket->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in tcp_respond()
987 inp->inp_socket->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in tcp_respond()
989 inp->inp_socket->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in tcp_respond()
1036 if ((tp->t_inpcb->inp_socket->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in tcp_respond()
1039 if (!(tp->t_inpcb->inp_socket->so_flags1 & SOF1_QOSMARKING_POLICY_OVERRIDE)) { in tcp_respond()
1058 inp->inp_socket->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in tcp_respond()
1060 inp->inp_socket->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in tcp_respond()
1099 if ((so->so_flags1 & SOF1_CACHED_IN_SOCK_LAYER) == 0) { in tcp_newtcpcb()
1665 if (so->so_flags1 & SOF1_CACHED_IN_SOCK_LAYER) { in tcp_close()
[all …]
H A Draw_ip.c640 if ((so->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in rip_output()
1094 if (!(so->so_flags1 & SOF1_CONNECT_COUNTED)) { in rip_connect()
1095 so->so_flags1 |= SOF1_CONNECT_COUNTED; in rip_connect()
H A Dtcp_output.c310 if (so->so_flags1 & SOF1_DATA_AUTHENTICATED) { in tcp_tfo_check()
412 if (so->so_flags1 & SOF1_DATA_AUTHENTICATED) { in tcp_tfo_write_cookie()
3243 bool check_qos_marking_again = (so->so_flags1 & SOF1_QOSMARKING_POLICY_OVERRIDE) ? FALSE : TRUE; in tcp_ip_output()
3335 if ((so->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in tcp_ip_output()
3530 inp->inp_socket->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in tcp_ip_output()
3532 inp->inp_socket->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in tcp_ip_output()
H A Dmptcp.c651 …if (!(mp_so->so_flags1 & SOF1_PRECONNECT_DATA) && MPTCP_SEQ_GEQ(mp_tp->mpt_sndnxt, mp_tp->mpt_sndm… in mptcp_can_send_more()
888 if (so->so_flags1 & SOF1_PRECONNECT_DATA) { in mptcp_get_subflow()
H A Dmptcp_usrreq.c923 (mp_so->so_flags1 & SOF1_DEFUNCTINPROG)) { in mptcp_disconnect()
1079 !(mp_so->so_flags1 & SOF1_PRECONNECT_DATA)) { in mptcp_usr_send()
H A Dflow_divert.c1365 if (so->so_flags1 & SOF1_DATA_IDEMPOTENT) { in flow_divert_create_connect_packet()
1391 } else if (so->so_flags1 & SOF1_CONTENT_FILTER_SKIP) { in flow_divert_create_connect_packet()
2257 so->so_flags1 |= SOF1_FLOW_DIVERT_SKIP; in flow_divert_disable()
3847 if (so->so_flags1 & SOF1_PRECONNECT_DATA) { in flow_divert_connect_out_internal()
H A Din_pcb.c679 if ((so->so_flags1 & SOF1_CACHED_IN_SOCK_LAYER) == 0) { in in_pcballoc()
2148 if ((so->so_flags1 & SOF1_CACHED_IN_SOCK_LAYER) == 0) { in in_pcbdispose()
4246 if (so->so_flags1 & SOF1_EXTEND_BK_IDLE_WANTED) { in inp_update_netns_flags()
/xnu-10063.141.1/bsd/sys/
H A Dsocketvar.h269 u_int32_t so_flags1; member
523 u_int32_t so_flags1; member
/xnu-10063.141.1/bsd/net/
H A Dnecp_client.c3443 if (!(so->so_flags1 & SOF1_HAS_NECP_CLIENT_UUID)) { in necp_client_register_socket_inner()
3444 so->so_flags1 |= SOF1_HAS_NECP_CLIENT_UUID; in necp_client_register_socket_inner()
5943 domain_info->is_silent = !!(so->so_flags1 & SOF1_DOMAIN_INFO_SILENT); in necp_copy_inp_domain_info()
5945 domain_info->is_tracker = !!(so->so_flags1 & SOF1_KNOWN_TRACKER); in necp_copy_inp_domain_info()
5946 domain_info->is_non_app_initiated = !!(so->so_flags1 & SOF1_TRACKER_NON_APP_INITIATED); in necp_copy_inp_domain_info()
11144 if (!(so->so_flags1 & SOF1_KNOWN_TRACKER)) { in necp_set_socket_domain_attributes()
11183 so->so_flags1 & SOF1_KNOWN_TRACKER, in necp_set_socket_domain_attributes()
11184 so->so_flags1 & SOF1_TRACKER_NON_APP_INITIATED, in necp_set_socket_domain_attributes()
11185 so->so_flags1 & SOF1_APPROVED_APP_DOMAIN); in necp_set_socket_domain_attributes()
H A Dcontent_filter.c576 #define IS_INITIAL_TFO_DATA(so) (so && (so->so_flags1 & SOF1_PRECONNECT_DATA) && (so->so_state & SS…
587 (so->so_flags1 & SOF1_CONTENT_FILTER_SKIP) != 0)
2975 if (so->so_flags1 & SOF1_FLOW_DIVERT_SKIP) { in cfil_sock_attach()
4969 so->so_flags1 |= SOF1_CONTENT_FILTER_SKIP; in cfil_action_bless_client()
6239 if ((so->so_flags1 & SOF1_CONTENT_FILTER_SKIP) != 0) { in cfil_sock_udp_handle_data()
H A Dnecp.c8963 if (inp->inp_socket->so_flags1 & SOF1_CELLFALLBACK) { in necp_socket_fillout_info_locked()
8966 if (inp->inp_socket->so_flags1 & SOF1_KNOWN_TRACKER) { in necp_socket_fillout_info_locked()
8969 if (inp->inp_socket->so_flags1 & SOF1_APPROVED_APP_DOMAIN) { in necp_socket_fillout_info_locked()
8972 if (inp->inp_socket->so_flags1 & SOF1_INBOUND || override_is_inbound) { in necp_socket_fillout_info_locked()
11010 bool qos_marking = inp->inp_socket->so_flags1 & SOF1_QOSMARKING_ALLOWED ? TRUE : FALSE; in necp_socket_update_qos_marking()
11018 if ((inp->inp_socket->so_flags1 & SOF1_QOSMARKING_POLICY_OVERRIDE)) { in necp_socket_update_qos_marking()
11025 inp->inp_socket->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in necp_socket_update_qos_marking()
11027 inp->inp_socket->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in necp_socket_update_qos_marking()
12326 return !(inp->inp_socket->so_flags1 & SOF1_FLOW_DIVERT_SKIP) && in necp_socket_should_use_flow_divert()
12338 if (inp->inp_socket->so_flags1 & SOF1_FLOW_DIVERT_SKIP) { in necp_socket_get_flow_divert_control_unit()

12