| /xnu-11215/bsd/netinet/ |
| H A D | in_pcb.c | 1733 inp->inp_flags2 |= INP2_CLAT46_FLOW; in in_pcbladdr() 2833 inp->inp_flags2 |= INP2_INHASHLIST; in in_pcbinshash() 2908 inp->inp_flags2 &= ~INP2_INHASHLIST; in in_pcbrehash() 2913 inp->inp_flags2 |= INP2_INHASHLIST; in in_pcbrehash() 2952 inp->inp_flags2 &= ~INP2_INHASHLIST; in in_pcbremlists() 2961 if (inp->inp_flags2 & INP2_TIMEWAIT) { in in_pcbremlists() 2964 inp->inp_flags2 &= ~INP2_TIMEWAIT; in in_pcbremlists() 2972 if (inp->inp_flags2 & INP2_IN_FCTREE) { in in_pcbremlists() 3478 inp->inp_flags2 |= INP2_IN_FCTREE; in inp_calc_flowhash() 3532 inp->inp_flags2 |= INP2_IN_FCTREE; in inp_calc_flowhash() [all …]
|
| H A D | udp_log.c | 216 inp->inp_flags2 &= ~INP2_LOGGED_SUMMARY; in udp_log_common() 217 inp->inp_flags2 |= INP2_LOGGING_ENABLED; in udp_log_common() 315 if ((inp->inp_flags2 & INP2_LOGGING_ENABLED) == 0) { in udp_log_connection_summary() 319 if (inp->inp_flags2 & INP2_LOGGED_SUMMARY) { in udp_log_connection_summary() 322 inp->inp_flags2 |= INP2_LOGGED_SUMMARY; in udp_log_connection_summary() 323 inp->inp_flags2 &= ~INP2_LOGGING_ENABLED; in udp_log_connection_summary()
|
| H A D | in_pcb.h | 181 uint32_t inp_flags2; /* generic IP/datagram flags #2 */ member 516 u_int32_t inp_flags2; member 557 #define in6p_flags2 inp_flags2 695 (((_inp)->inp_flags2 & INP2_NO_IFF_EXPENSIVE) ? true : false) 697 (((_inp)->inp_flags2 & INP2_NO_IFF_CONSTRAINED) ? true : false) 699 (((_inp)->inp_flags2 & INP2_AWDL_UNRESTRICTED) ? true : false) 701 (((_inp)->inp_flags2 & INP2_INTCOPROC_ALLOWED) ? true : false) 704 (((_inp)->inp_flags2 & (INP2_MANAGEMENT_ALLOWED | INP2_INTCOPROC_ALLOWED)) ? true : false) 706 (((_inp)->inp_flags2 & INP2_ULTRA_CONSTRAINED_ALLOWED) ? true : false)
|
| H A D | tcp_log.c | 395 inp->inp_flags2 |= INP2_LOGGING_ENABLED; in tcp_log_connection() 479 inp->inp_flags2 |= INP2_LOGGING_ENABLED; in tcp_log_listen() 590 if (inp->inp_flags2 & INP2_LOGGED_SUMMARY) { in tcp_log_connection_summary() 593 inp->inp_flags2 |= INP2_LOGGED_SUMMARY; in tcp_log_connection_summary() 594 inp->inp_flags2 &= ~INP2_LOGGING_ENABLED; in tcp_log_connection_summary() 777 if ((inp->inp_flags2 & INP2_LOGGED_SUMMARY) && ((so->so_state & SS_NOFDREF) || in tcp_log_drop_pcb()
|
| H A D | udp_log.h | 112 #define UDP_LOG_CONNECTION_SUMMARY(inp) if ((inp) != NULL && ((inp)->inp_flags2 & INP2_LOGGING_ENAB…
|
| H A D | udp_usrreq.c | 1108 inp->inp_flags2 &= ~INP2_KEEPALIVE_OFFLOAD; in udp_ctloutput() 1140 inp->inp_flags2 |= INP2_KEEPALIVE_OFFLOAD; in udp_ctloutput() 1881 if (inp->inp_flags2 & INP2_DONTFRAG) { in udp_output() 1907 if ((inp->inp_flags2 & INP2_CLAT46_FLOW) || in udp_output() 2098 inp->inp_flags2 |= INP2_LAST_ROUTE_LOCAL; in udp_output() 2100 inp->inp_flags2 &= ~INP2_LAST_ROUTE_LOCAL; in udp_output() 2315 (inp->inp_flags2 & INP2_CONNECT_IN_PROGRESS) && in udp_bind() 2409 ASSERT(!(inp->inp_flags2 & INP2_CONNECT_IN_PROGRESS)); in udp_connectx_common() 2410 inp->inp_flags2 |= INP2_CONNECT_IN_PROGRESS; in udp_connectx_common() 2480 inp->inp_flags2 &= ~INP2_CONNECT_IN_PROGRESS; in udp_connectx_common() [all …]
|
| H A D | in_pcblist.c | 228 xinp->inp_flags2 = inp->inp_flags2; in inpcb_to_xinpcb_n() 548 (inp->inp_flags2 & INP2_CLAT46_FLOW) != 0) { in inpcb_get_if_ports_used() 559 (inp->inp_flags2 & INP2_CLAT46_FLOW) == 0) { in inpcb_get_if_ports_used()
|
| H A D | tcp_usrreq.c | 286 if ((inp->inp_flags2 & INP2_CONNECT_IN_PROGRESS) && in tcp_usr_bind() 701 ASSERT(!(inp->inp_flags2 & INP2_CONNECT_IN_PROGRESS)); in tcp_usr_connectx_common() 702 inp->inp_flags2 |= INP2_CONNECT_IN_PROGRESS; in tcp_usr_connectx_common() 779 inp->inp_flags2 &= ~INP2_CONNECT_IN_PROGRESS; in tcp_usr_connectx_common() 2194 if ((inp->inp_flags2 & INP2_KEEPALIVE_OFFLOAD) == 0) { in tcp_clear_keep_alive_offload() 2212 inp->inp_flags2 &= ~INP2_KEEPALIVE_OFFLOAD; in tcp_clear_keep_alive_offload() 2228 if ((inp->inp_flags2 & INP2_KEEPALIVE_OFFLOAD) != 0) { in tcp_set_keep_alive_offload() 2252 inp->inp_flags2 |= INP2_KEEPALIVE_OFFLOAD; in tcp_set_keep_alive_offload() 2854 optval = !!(inp->inp_flags2 & INP2_KEEPALIVE_OFFLOAD); in tcp_ctloutput()
|
| H A D | tcp_log.h | 167 return (inp->inp_flags2 & INP2_LOGGING_ENABLED) ? true: false; in tcp_log_summary_needed()
|
| H A D | tcp_timer.c | 556 if (!(inp->inp_flags2 & INP2_TIMEWAIT)) { in add_to_time_wait_locked() 558 inp->inp_flags2 |= INP2_TIMEWAIT; in add_to_time_wait_locked() 623 if (inp->inp_flags2 & INP2_TIMEWAIT) { in tcp_remove_from_time_wait() 2464 if (tp->t_inpcb->inp_flags2 & INP2_TIMEWAIT) { in tcp_check_timer_state()
|
| H A D | ip_output.c | 2411 inp->inp_flags2 |= bit; \ in ip_ctloutput() 2413 inp->inp_flags2 &= ~bit; \ in ip_ctloutput() 2672 #define OPTBIT2(bit) (inp->inp_flags2 & bit ? 1 : 0) in ip_ctloutput()
|
| H A D | tcp_input.c | 2551 head_external_port = (inp->inp_flags2 & INP2_EXTERNAL_PORT); in tcp_input() 2772 inp->inp_flags2 |= INP2_EXTERNAL_PORT; in tcp_input() 2862 tp->t_inpcb->inp_flags2 |= in tcp_input() 2863 tp0->t_inpcb->inp_flags2 & INP2_KEEPALIVE_OFFLOAD; in tcp_input() 3502 inp->inp_flags2 |= INP2_LOGGED_SUMMARY; in tcp_input() 3504 if (__improbable(inp->inp_flags2 & INP2_BIND_IN_PROGRESS)) { in tcp_input()
|
| H A D | raw_ip.c | 543 if (inp->inp_flags2 & INP2_DONTFRAG) { in rip_output()
|
| H A D | tcp_subr.c | 1712 !(inp->inp_flags2 & INP2_TIMEWAIT)) { in tcp_close() 4837 if (!(inp->inp_flags2 & INP2_KEEPALIVE_OFFLOAD)) { in tcp_fill_keepalive_offload_frames() 5037 if (!(inp->inp_flags2 & INP2_KEEPALIVE_OFFLOAD)) { in tcp_notify_kao_timeout()
|
| /xnu-11215/bsd/netinet6/ |
| H A D | in6_pcb.c | 316 if (inp->inp_flags2 & INP2_EXTERNAL_PORT) { in in6_pcbbind() 374 !(inp->inp_flags2 & INP2_EXTERNAL_PORT)) { in in6_pcbbind() 409 (!(t->inp_flags2 & INP2_EXTERNAL_PORT) || in in6_pcbbind() 410 !(inp->inp_flags2 & INP2_EXTERNAL_PORT) || in in6_pcbbind() 431 (!(t->inp_flags2 & INP2_EXTERNAL_PORT) || in in6_pcbbind() 464 (!(t->inp_flags2 & INP2_EXTERNAL_PORT) || in in6_pcbbind() 465 !(inp->inp_flags2 & INP2_EXTERNAL_PORT) || in in6_pcbbind() 486 (!(t->inp_flags2 & INP2_EXTERNAL_PORT) || in in6_pcbbind() 487 !(inp->inp_flags2 & INP2_EXTERNAL_PORT) || in in6_pcbbind() 519 !(inp->inp_flags2 & INP2_EXTERNAL_PORT)) { in in6_pcbbind() [all …]
|
| H A D | in6_src.c | 1664 VERIFY(inp->inp_flags2 & INP2_INHASHLIST); in in6_pcbsetport() 1779 !(inp->inp_flags2 & INP2_EXTERNAL_PORT)) { in in6_pcbsetport()
|
| H A D | ip6_output.c | 2499 in6p->inp_flags2 |= (bit); \ in ip6_ctloutput() 2501 in6p->inp_flags2 &= ~(bit); \ in ip6_ctloutput()
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | net.py | 1594 if (pcb.inp_flags2 & INP2_TIMEWAIT): 1596 if (pcb.inp_flags2 & INP2_IN_FCTREE): 1598 if (pcb.inp_flags2 & INP2_WANT_APP_POLICY):
|
| /xnu-11215/bsd/net/ |
| H A D | necp.c | 9720 …if (inp->inp_flags2 & INP2_WANT_APP_POLICY && necp_kernel_socket_policies_condition_mask & NECP_KE… in necp_socket_fillout_info_locked() 9982 inp->inp_flags2 & INP2_EXTERNAL_PORT) { in necp_socket_fillout_info_locked() 10435 …ult.results.result == NECP_KERNEL_POLICY_RESULT_SOCKET_SCOPED && (inp->inp_flags2 & INP2_SCOPED_BY… in necp_unscope() 10525 … (!(inp->inp_flags2 & INP2_WANT_APP_POLICY) && necp_kernel_socket_policies_non_app_count == 0))) { in necp_socket_find_policy_match() 12776 … (!(inp->inp_flags2 & INP2_WANT_APP_POLICY) && necp_kernel_socket_policies_non_app_count == 0))) { in necp_socket_is_allowed_to_send_recv_internal()
|
| H A D | ntstat.c | 738 (inp->inp_flags2 & INP2_LAST_ROUTE_LOCAL))) { in nstat_update_local_flag_from_inpcb_route()
|
| H A D | necp_client.c | 4023 !(inp->inp_flags2 & INP2_EXTERNAL_PORT) || in necp_socket_is_allowed_to_recv_on_interface()
|
| /xnu-11215/bsd/kern/ |
| H A D | uipc_socket.c | 5538 inp->inp_flags2 |= INP2_EXTERNAL_PORT; in sosetoptlock() 6215 if (sotoinpcb(so)->inp_flags2 & INP2_EXTERNAL_PORT) { in sogetoptlock()
|