Home
last modified time | relevance | path

Searched refs:inp_flags2 (Results 1 – 22 of 22) sorted by relevance

/xnu-11215/bsd/netinet/
H A Din_pcb.c1733 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 Dudp_log.c216 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 Din_pcb.h181 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 Dtcp_log.c395 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 Dudp_log.h112 #define UDP_LOG_CONNECTION_SUMMARY(inp) if ((inp) != NULL && ((inp)->inp_flags2 & INP2_LOGGING_ENAB…
H A Dudp_usrreq.c1108 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 Din_pcblist.c228 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 Dtcp_usrreq.c286 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 Dtcp_log.h167 return (inp->inp_flags2 & INP2_LOGGING_ENABLED) ? true: false; in tcp_log_summary_needed()
H A Dtcp_timer.c556 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 Dip_output.c2411 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 Dtcp_input.c2551 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 Draw_ip.c543 if (inp->inp_flags2 & INP2_DONTFRAG) { in rip_output()
H A Dtcp_subr.c1712 !(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 Din6_pcb.c316 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 Din6_src.c1664 VERIFY(inp->inp_flags2 & INP2_INHASHLIST); in in6_pcbsetport()
1779 !(inp->inp_flags2 & INP2_EXTERNAL_PORT)) { in in6_pcbsetport()
H A Dip6_output.c2499 in6p->inp_flags2 |= (bit); \ in ip6_ctloutput()
2501 in6p->inp_flags2 &= ~(bit); \ in ip6_ctloutput()
/xnu-11215/tools/lldbmacros/
H A Dnet.py1594 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 Dnecp.c9720 …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 Dntstat.c738 (inp->inp_flags2 & INP2_LAST_ROUTE_LOCAL))) { in nstat_update_local_flag_from_inpcb_route()
H A Dnecp_client.c4023 !(inp->inp_flags2 & INP2_EXTERNAL_PORT) || in necp_socket_is_allowed_to_recv_on_interface()
/xnu-11215/bsd/kern/
H A Duipc_socket.c5538 inp->inp_flags2 |= INP2_EXTERNAL_PORT; in sosetoptlock()
6215 if (sotoinpcb(so)->inp_flags2 & INP2_EXTERNAL_PORT) { in sogetoptlock()