| /xnu-11417.140.69/bsd/kern/ |
| H A D | uipc_socket.c | 493 OSBitOrAtomic(SOF1_CACHED_IN_SOCK_LAYER, &(*so)->so_flags1); in cached_sock_alloc() 962 if (so->so_flags1 & SOF1_CACHED_IN_SOCK_LAYER) { in sodealloc() 1116 if (!(head->so_flags1 & SOF1_ACCEPT_LIST_HELD)) { in so_acquire_accept_list() 1117 head->so_flags1 |= SOF1_ACCEPT_LIST_HELD; in so_acquire_accept_list() 1123 while (head->so_flags1 & SOF1_ACCEPT_LIST_HELD) { in so_acquire_accept_list() 1128 head->so_flags1 |= SOF1_ACCEPT_LIST_HELD; in so_acquire_accept_list() 1145 head->so_flags1 &= ~SOF1_ACCEPT_LIST_HELD; in so_release_accept_list() 1305 if (so->so_flags1 & SOF1_EXTEND_BK_IDLE_INPROG) { in soclose_locked() 1307 so->so_flags1 &= ~SOF1_EXTEND_BK_IDLE_WANTED; in soclose_locked() 1710 if (!(so->so_flags1 & SOF1_KNOWN_TRACKER) && IS_INET(so)) { in soconnectlock() [all …]
|
| H A D | uipc_socket2.c | 260 (so->so_flags1 & SOF1_PRECONNECT_DATA); in socanwrite() 398 so->so_flags1 |= SOF1_INBOUND; in sonewconn_internal() 407 so->so_flags1 |= in sonewconn_internal() 408 head->so_flags1 & (SOF1_TRAFFIC_MGT_SO_BACKGROUND | SOF1_TC_NET_SERV_TYPE | in sonewconn_internal() 1852 !(sb->sb_so->so_flags1 & SOF1_POST_FALLBACK_SYNC)) { in sbdrop() 1857 (sb->sb_so->so_flags1 & SOF1_POST_FALLBACK_SYNC)) { in sbdrop() 2380 if (so->so_flags1 & SOF1_PRECONNECT_DATA) { in sowriteable() 2641 !(so->so_flags1 & SOF1_DEFUNCTINPROG)) { in sbunlock() 2649 (so->so_flags1 & SOF1_DEFUNCTINPROG)); in sbunlock() 2914 return so->so_flags1 & SOF1_TRAFFIC_MGT_SO_BACKGROUND; in soisthrottled() [all …]
|
| H A D | kpi_socket.c | 148 new_so->so_flags1 |= SOF1_IN_KERNEL_SOCKET; in sock_accept_common() 1081 (*new_so)->so_flags1 |= SOF1_IN_KERNEL_SOCKET; in sock_socket_common() 1280 (void) OSBitOrAtomic(soflags1, &sock->so_flags1); in socket_set_traffic_mgt_flags_locked() 1308 (void) OSBitAndAtomic(~soflags1, &sock->so_flags1); in socket_clear_traffic_mgt_flags_locked()
|
| /xnu-11417.140.69/bsd/netinet6/ |
| H A D | udp6_output.c | 183 bool check_qos_marking_again = (so->so_flags1 & SOF1_QOSMARKING_POLICY_OVERRIDE) ? FALSE : TRUE; in udp6_output() 432 if (fport == htons(53) && !(so->so_flags1 & SOF1_DNS_COUNTED)) { in udp6_output() 433 so->so_flags1 |= SOF1_DNS_COUNTED; in udp6_output() 546 if ((so->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in udp6_output() 627 in6p->inp_socket->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in udp6_output() 629 in6p->inp_socket->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in udp6_output()
|
| H A D | udp6_usrreq.c | 963 if (!(so->so_flags1 & SOF1_CONNECT_COUNTED)) { in udp6_connect() 964 so->so_flags1 |= SOF1_CONNECT_COUNTED; in udp6_connect() 1010 if (!(so->so_flags1 & SOF1_CONNECT_COUNTED)) { in udp6_connect() 1011 so->so_flags1 |= SOF1_CONNECT_COUNTED; in udp6_connect()
|
| H A D | raw_ip6.c | 787 if ((so->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in rip6_output() 1165 if (!(so->so_flags1 & SOF1_CONNECT_COUNTED)) { in rip6_connect() 1166 so->so_flags1 |= SOF1_CONNECT_COUNTED; in rip6_connect()
|
| H A D | in6_pcb.c | 739 sin6->sin6_port == htons(53) && !(so->so_flags1 & SOF1_DNS_COUNTED)) { in in6_pcbconnect() 740 so->so_flags1 |= SOF1_DNS_COUNTED; in in6_pcbconnect()
|
| /xnu-11417.140.69/bsd/netinet/ |
| H A D | in_tclass.c | 359 so->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in set_tclass_for_curr_proc() 361 so->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in set_tclass_for_curr_proc() 527 so->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in set_pid_tclass() 529 so->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in set_pid_tclass() 899 if ((so->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in so_get_netsvc_marking_level() 987 so->so_flags1 |= SOF1_TC_NET_SERV_TYPE; in so_set_net_service_type() 999 so->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in so_set_default_traffic_class()
|
| H A D | udp_usrreq.c | 1581 bool check_qos_marking_again = (so->so_flags1 & SOF1_QOSMARKING_POLICY_OVERRIDE) ? FALSE : TRUE; in udp_output() 1881 if (fport == htons(53) && !(so->so_flags1 & SOF1_DNS_COUNTED)) { in udp_output() 1882 so->so_flags1 |= SOF1_DNS_COUNTED; in udp_output() 2014 if ((so->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in udp_output() 2104 inp->inp_socket->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in udp_output() 2106 inp->inp_socket->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in udp_output() 2385 if (!(so->so_flags1 & SOF1_CONNECT_COUNTED)) { in udp_connect() 2386 so->so_flags1 |= SOF1_CONNECT_COUNTED; in udp_connect() 2399 so->so_flags1 |= SOF1_FLOW_DIVERT_SKIP; in udp_connect() 2631 so->so_flags1 |= SOF1_FLOW_DIVERT_SKIP; in udp_send()
|
| H A D | udp_log.c | 247 (so->so_flags1 & SOF1_TC_NET_SERV_TYPE) ? so->so_netsvctype : so->so_traffic_class, \ in udp_log_common() 386 (so->so_flags1 & SOF1_TC_NET_SERV_TYPE) ? so->so_netsvctype : so->so_traffic_class, \ in udp_log_connection_summary()
|
| H A D | tcp_usrreq.c | 445 if (so->so_flags1 & SOF1_PRECONNECT_DATA) { in tcp_connect_complete() 667 so->so_flags1 |= SOF1_FLOW_DIVERT_SKIP; in tcp_usr_connect() 708 if ((so->so_flags1 & SOF1_DATA_IDEMPOTENT) && in tcp_usr_connectx_common() 776 so->so_flags1 &= ~SOF1_PRECONNECT_DATA; in tcp_usr_connectx_common() 826 so->so_flags1 |= SOF1_FLOW_DIVERT_SKIP; in tcp6_usr_connect() 1204 if (so->so_flags1 & SOF1_MPKL_SEND_INFO) { in tcp_usr_send() 1240 if (!(flags & PRUS_OOB) || (so->so_flags1 & SOF1_PRECONNECT_DATA)) { in tcp_usr_send() 2974 optval = (so->so_flags1 & in tcp_ctloutput() 3156 so->so_flags1 & SOF1_DEFUNCTINPROG) { in tcp_disconnect()
|
| H A D | mptcp_subr.c | 1533 if (mp_so->so_flags1 & SOF1_PRECONNECT_DATA) { in mptcp_subflow_socreate() 1534 (*so)->so_flags1 |= SOF1_PRECONNECT_DATA; in mptcp_subflow_socreate() 1536 if (mp_so->so_flags1 & SOF1_DATA_IDEMPOTENT) { in mptcp_subflow_socreate() 1537 (*so)->so_flags1 |= SOF1_DATA_IDEMPOTENT; in mptcp_subflow_socreate() 1539 if (mp_so->so_flags1 & SOF1_DATA_AUTHENTICATED) { in mptcp_subflow_socreate() 1540 (*so)->so_flags1 |= SOF1_DATA_AUTHENTICATED; in mptcp_subflow_socreate() 1897 (mp_so->so_flags1 & SOF1_PRECONNECT_DATA)) { in mptcp_subflow_soconnectx() 2668 if (so->so_flags1 & SOF1_PRECONNECT_DATA) { in mptcp_subflow_add() 3087 (uint32_t)mp_tp->mpt_snduna, mp_tp->mpt_state, mp_so->so_flags1); in mptcp_subflow_output() 3100 (so->so_flags1 & SOF1_PRECONNECT_DATA)) { in mptcp_subflow_output() [all …]
|
| H A D | in_pcblist.c | 145 xso->so_flags1 = so->so_flags1; in sotoxsocket_n() 587 if (!(so->so_flags1 & SOF1_EXTEND_BK_IDLE_WANTED) && in inpcb_get_if_ports_used()
|
| H A D | tcp_log.c | 432 (so->so_flags1 & SOF1_TC_NET_SERV_TYPE) ? so->so_netsvctype : so->so_traffic_class, \ in tcp_log_connection() 504 (so->so_flags1 & SOF1_TC_NET_SERV_TYPE) ? so->so_netsvctype : so->so_traffic_class in tcp_log_listen() 650 (so->so_flags1 & SOF1_TC_NET_SERV_TYPE) ? so->so_netsvctype : so->so_traffic_class, \ in tcp_log_connection_summary()
|
| H A D | raw_ip.c | 649 if ((so->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in rip_output() 1106 if (!(so->so_flags1 & SOF1_CONNECT_COUNTED)) { in rip_connect() 1107 so->so_flags1 |= SOF1_CONNECT_COUNTED; in rip_connect()
|
| H A D | tcp_subr.c | 785 …check_qos_marking_again = tp->t_inpcb->inp_socket->so_flags1 & SOF1_QOSMARKING_POLICY_OVERRIDE ? F… in tcp_respond() 991 if ((tp->t_inpcb->inp_socket->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in tcp_respond() 1007 inp->inp_socket->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in tcp_respond() 1009 inp->inp_socket->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in tcp_respond() 1056 if ((tp->t_inpcb->inp_socket->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in tcp_respond() 1059 if (!(tp->t_inpcb->inp_socket->so_flags1 & SOF1_QOSMARKING_POLICY_OVERRIDE)) { in tcp_respond() 1078 inp->inp_socket->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in tcp_respond() 1080 inp->inp_socket->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in tcp_respond() 1119 if ((so->so_flags1 & SOF1_CACHED_IN_SOCK_LAYER) == 0) { in tcp_newtcpcb() 1696 if (so->so_flags1 & SOF1_CACHED_IN_SOCK_LAYER) { in tcp_close() [all …]
|
| H A D | tcp_output.c | 327 if (so->so_flags1 & SOF1_DATA_AUTHENTICATED) { in tcp_tfo_check() 430 if (so->so_flags1 & SOF1_DATA_AUTHENTICATED) { in tcp_tfo_write_cookie() 3427 bool check_qos_marking_again = (so->so_flags1 & SOF1_QOSMARKING_POLICY_OVERRIDE) ? FALSE : TRUE; in tcp_ip_output() 3526 if ((so->so_flags1 & SOF1_QOSMARKING_ALLOWED)) { in tcp_ip_output() 3721 inp->inp_socket->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in tcp_ip_output() 3723 inp->inp_socket->so_flags1 &= ~SOF1_QOSMARKING_ALLOWED; in tcp_ip_output()
|
| H A D | mptcp.c | 654 …if (!(mp_so->so_flags1 & SOF1_PRECONNECT_DATA) && MPTCP_SEQ_GEQ(mp_tp->mpt_sndnxt, mp_tp->mpt_sndm… in mptcp_can_send_more() 891 if (so->so_flags1 & SOF1_PRECONNECT_DATA) { in mptcp_get_subflow()
|
| H A D | mptcp_usrreq.c | 925 (mp_so->so_flags1 & SOF1_DEFUNCTINPROG)) { in mptcp_disconnect() 1081 !(mp_so->so_flags1 & SOF1_PRECONNECT_DATA)) { in mptcp_usr_send()
|
| H A D | flow_divert.c | 1382 if (so->so_flags1 & SOF1_DATA_IDEMPOTENT) { in flow_divert_create_connect_packet() 1402 } else if (so->so_flags1 & SOF1_CONTENT_FILTER_SKIP) { in flow_divert_create_connect_packet() 2263 so->so_flags1 |= SOF1_FLOW_DIVERT_SKIP; in flow_divert_disable() 3833 if (so->so_flags1 & SOF1_PRECONNECT_DATA) { in flow_divert_connect_out_internal()
|
| H A D | in_pcb.c | 695 if ((so->so_flags1 & SOF1_CACHED_IN_SOCK_LAYER) == 0) { in in_pcballoc() 2180 if ((so->so_flags1 & SOF1_CACHED_IN_SOCK_LAYER) == 0) { in in_pcbdispose() 4343 if (so->so_flags1 & SOF1_EXTEND_BK_IDLE_WANTED) { in inp_update_netns_flags()
|
| /xnu-11417.140.69/bsd/sys/ |
| H A D | socketvar.h | 275 u_int32_t so_flags1; member 530 u_int32_t so_flags1; member
|
| /xnu-11417.140.69/bsd/net/ |
| H A D | necp.c | 9257 socket->so_flags1 |= SOF1_DOMAIN_MATCHED_POLICY; in necp_socket_check_policy() 9275 socket->so_flags1 |= SOF1_DOMAIN_MATCHED_POLICY; in necp_socket_check_policy() 9308 socket->so_flags1 |= SOF1_DOMAIN_MATCHED_POLICY; in necp_socket_check_policy() 9970 if (inp->inp_socket->so_flags1 & SOF1_CELLFALLBACK) { in necp_socket_fillout_info_locked() 9973 if (inp->inp_socket->so_flags1 & SOF1_KNOWN_TRACKER) { in necp_socket_fillout_info_locked() 9976 if (inp->inp_socket->so_flags1 & SOF1_APPROVED_APP_DOMAIN) { in necp_socket_fillout_info_locked() 9991 if (inp->inp_socket->so_flags1 & SOF1_INBOUND) { in necp_socket_fillout_info_locked() 11990 bool qos_marking = inp->inp_socket->so_flags1 & SOF1_QOSMARKING_ALLOWED ? TRUE : FALSE; in necp_socket_update_qos_marking() 11998 if ((inp->inp_socket->so_flags1 & SOF1_QOSMARKING_POLICY_OVERRIDE)) { in necp_socket_update_qos_marking() 12005 inp->inp_socket->so_flags1 |= SOF1_QOSMARKING_ALLOWED; in necp_socket_update_qos_marking() [all …]
|
| H A D | content_filter.c | 580 #define IS_INITIAL_TFO_DATA(so) (so && (so->so_flags1 & SOF1_PRECONNECT_DATA) && (so->so_state & SS… 591 (so->so_flags1 & SOF1_CONTENT_FILTER_SKIP) != 0) 2991 if (so->so_flags1 & SOF1_FLOW_DIVERT_SKIP) { in cfil_sock_attach() 5042 so->so_flags1 |= SOF1_CONTENT_FILTER_SKIP; in cfil_action_bless_client() 6177 …ULL ? proc_best_name(sock_proc) : ""), IS_UDP(so) ? "UDP" : "TCP", (so->so_flags1 & SOF1_INBOUND) … in cfil_inp_log() 6402 if ((so->so_flags1 & SOF1_CONTENT_FILTER_SKIP) != 0) { in cfil_sock_udp_handle_data()
|
| H A D | necp_client.c | 3555 if (!(so->so_flags1 & SOF1_HAS_NECP_CLIENT_UUID)) { in necp_client_register_socket_inner() 3556 so->so_flags1 |= SOF1_HAS_NECP_CLIENT_UUID; in necp_client_register_socket_inner() 6064 domain_info->is_silent = !!(so->so_flags1 & SOF1_DOMAIN_INFO_SILENT); in necp_copy_inp_domain_info() 6066 domain_info->is_tracker = !!(so->so_flags1 & SOF1_KNOWN_TRACKER); in necp_copy_inp_domain_info() 6067 domain_info->is_non_app_initiated = !!(so->so_flags1 & SOF1_TRACKER_NON_APP_INITIATED); in necp_copy_inp_domain_info() 11333 if (!(so->so_flags1 & SOF1_KNOWN_TRACKER)) { in necp_set_socket_domain_attributes() 11374 so->so_flags1 & SOF1_KNOWN_TRACKER, in necp_set_socket_domain_attributes() 11375 so->so_flags1 & SOF1_TRACKER_NON_APP_INITIATED, in necp_set_socket_domain_attributes() 11376 so->so_flags1 & SOF1_APPROVED_APP_DOMAIN); in necp_set_socket_domain_attributes()
|