| /xnu-12377.41.6/bsd/netinet/ |
| H A D | tcp_log.h | 122 if (tp == NULL || tp->t_inpcb == NULL) { in tcp_is_log_enabled() 125 inp = tp->t_inpcb; in tcp_is_log_enabled() 128 ntohs(tp->t_inpcb->inp_fport) != tcp_log_port) { in tcp_is_log_enabled() 137 if (IN6_IS_ADDR_LOOPBACK(&tp->t_inpcb->in6p_laddr) || in tcp_is_log_enabled() 138 IN6_IS_ADDR_LOOPBACK(&tp->t_inpcb->in6p_faddr) || in tcp_is_log_enabled() 139 IN6_IS_ADDR_V4MAPPED_LOOPBACK(&tp->t_inpcb->in6p_laddr) || in tcp_is_log_enabled() 140 IN6_IS_ADDR_V4MAPPED_LOOPBACK(&tp->t_inpcb->in6p_faddr)) { in tcp_is_log_enabled() 142 } else if (!IN6_IS_ADDR_UNSPECIFIED(&tp->t_inpcb->in6p_laddr) || in tcp_is_log_enabled() 143 !IN6_IS_ADDR_UNSPECIFIED(&tp->t_inpcb->in6p_faddr)) { in tcp_is_log_enabled() 182 if (tp == NULL || tp->t_inpcb == NULL) { in tcp_log_summary_needed() [all …]
|
| H A D | tcp_log.c | 222 struct inpcb *inp = tp->t_inpcb; in tcp_log_rtt_info() 256 struct inpcb *inp = tp->t_inpcb; in tcp_log_rt_rtt() 300 struct inpcb *inp = tp->t_inpcb; in tcp_log_rtt_change() 337 struct inpcb *inp = tp->t_inpcb; in tcp_log_keepalive() 365 tp->t_inpcb->inp_socket->so_options & SO_KEEPALIVE, in tcp_log_keepalive() 387 if (tp == NULL || tp->t_inpcb == NULL || tp->t_inpcb->inp_socket == NULL || event == NULL) { in tcp_log_connection() 395 inp = tp->t_inpcb; in tcp_log_connection() 463 struct inpcb *inp = tp->t_inpcb; in tcp_log_listen() 471 if (tp == NULL || tp->t_inpcb == NULL || tp->t_inpcb->inp_socket == NULL) { in tcp_log_listen() 479 inp = tp->t_inpcb; in tcp_log_listen() [all …]
|
| H A D | tcp_cc.c | 84 sb = &tp->t_inpcb->inp_socket->so_snd; in tcp_cc_resize_sndbuf() 98 sb = &tp->t_inpcb->inp_socket->so_snd; in tcp_bad_rexmt_fix_sndbuf() 189 tp->t_inpcb->inp_socket->so_rcv.sb_cc > tp->t_inpcb->inp_socket->so_rcv.sb_lowat && in tcp_cc_delay_ack() 224 struct socket *so = tp->t_inpcb->inp_socket; in tcp_cc_is_cwnd_nonvalidated() 226 if (tp->t_inpcb->inp_max_pacing_rate != UINT64_MAX) { in tcp_cc_is_cwnd_nonvalidated() 235 if (tp->t_inpcb->inp_max_pacing_rate < (rate >> 1)) { in tcp_cc_is_cwnd_nonvalidated()
|
| H A D | tcp_timer.c | 546 struct inpcb *inp = tp->t_inpcb; in add_to_time_wait_locked() 579 if (tp->t_inpcb->inp_socket->so_options & SO_NOWAKEFROMSLEEP) { in add_to_time_wait() 580 socket_post_kev_msg_closed(tp->t_inpcb->inp_socket); in add_to_time_wait() 586 nstat_pcb_detach(tp->t_inpcb); in add_to_time_wait() 589 if ((tp->t_inpcb->inp_socket->so_flags & SOF_CONTENT_FILTER) != 0) { in add_to_time_wait() 591 (void) cfil_sock_tcp_add_time_wait(tp->t_inpcb->inp_socket); in add_to_time_wait() 605 socket_unlock(tp->t_inpcb->inp_socket, 0); in add_to_time_wait_now() 607 socket_lock(tp->t_inpcb->inp_socket, 0); in add_to_time_wait_now() 842 if (tcp_garbage_collect(tw_tp->t_inpcb, 1)) { in tcp_gc() 944 if (TCP_USE_RLEDBAT(tp, tp->t_inpcb->inp_socket) && in tcp_pmtud_revert_segment_size() [all …]
|
| H A D | tcp_subr.c | 764 struct inpcb *inp = tp->t_inpcb; in tcp_fillheaders() 953 …check_qos_marking_again = tp->t_inpcb->inp_socket->so_flags1 & SOF1_QOSMARKING_POLICY_OVERRIDE ? F… in tcp_respond() 954 sifscope = tp->t_inpcb->inp_lifscope; in tcp_respond() 955 fifscope = tp->t_inpcb->inp_fifscope; in tcp_respond() 963 ro6 = &tp->t_inpcb->in6p_route; in tcp_respond() 965 ro = &tp->t_inpcb->inp_route; in tcp_respond() 1085 ip6->ip6_hlim = in6_selecthlim(tp ? tp->t_inpcb : NULL, in tcp_respond() 1100 necp_mark_packet_from_socket(m, tp ? tp->t_inpcb : NULL, 0, 0, 0, 0); in tcp_respond() 1104 if (tp != NULL && tp->t_inpcb->inp_sp != NULL && in tcp_respond() 1105 ipsec_setsocket(m, tp ? tp->t_inpcb->inp_socket : NULL) != 0) { in tcp_respond() [all …]
|
| H A D | mptcp_opt.c | 237 struct socket *so = tp->t_inpcb->inp_socket; in mptcp_send_infinite_mapping() 325 struct inpcb *inp = (struct inpcb *)tp->t_inpcb; in mptcp_setup_opts() 1044 if (tp->t_inpcb->inp_socket != NULL) { in mptcp_do_mpjoin_opt() 1045 soevent(tp->t_inpcb->inp_socket, in mptcp_do_mpjoin_opt() 1121 tp->t_inpcb->inp_socket->so_flags1 |= in mptcp_data_ack_rcvd() 1154 sowwakeup(tp->t_inpcb->inp_socket); in mptcp_update_window_wakeup() 1189 mptcp_notify_mpready(tp->t_inpcb->inp_socket); in mptcp_do_dss_opt_ack_meat() 1191 mptcp_notify_close(tp->t_inpcb->inp_socket); in mptcp_do_dss_opt_ack_meat() 1517 if (tp->t_inpcb->inp_socket != NULL) { in mptcp_do_fastclose_opt() 1518 soevent(tp->t_inpcb->inp_socket, in mptcp_do_fastclose_opt() [all …]
|
| H A D | tcp_syncookie.c | 336 struct inpcb *inp = tp->t_inpcb; in syncookie_respond() 362 if (tp->t_inpcb->inp_flags & INP_BOUND_IF) { in syncookie_respond() 363 tra.ifscope = tp->t_inpcb->inp_boundifp->if_index; in syncookie_respond()
|
| H A D | tcp_var.h | 429 struct inpcb *t_inpcb; /* back pointer to internet pcb */ member 920 #define LOOPBACK_INTERFACE(tp) (tp->t_inpcb->inp_boundifp != NULL && \ 921 (tp->t_inpcb->inp_boundifp->if_flags & IFF_LOOPBACK)) 957 if (INP_IS_FLOW_CONTROLLED((_tp_)->t_inpcb)) \ 958 inp_reset_fc_state((_tp_)->t_inpcb); \ 1049 (probe_if_index > 0 && tp->t_inpcb->inp_last_outifp != NULL && \ 1050 probe_if_index == tp->t_inpcb->inp_last_outifp->if_index) 1124 _TCPCB_PTR(struct inpcb *) t_inpcb; /* back pointer to internet pcb */
|
| H A D | tcp_pacing.c | 145 struct inpcb *inp = tp->t_inpcb; in tcp_update_pacer_state()
|
| H A D | tcp_input.c | 545 struct inpcb *inp = tp->t_inpcb; in tcp_reass() 891 struct ifnet *outifp = tp->t_inpcb->inp_last_outifp; in tcp_adaptive_rwtimo_check() 923 ASSERT((tp->t_inpcb->inp_socket->so_state & (SS_CANTRCVMORE)) == SS_CANTRCVMORE); in tcp_set_finwait_timeout() 1214 struct socket *so = tp->t_inpcb->inp_socket; in tcp_sbrcv_tstmp_check() 1408 struct socket *so = tp->t_inpcb->inp_socket; in tcp_early_rexmt_check() 1514 tcp_tfo_gen_cookie(tp->t_inpcb, out, sizeof(out)); in tcp_tfo_syn() 1656 if (tp->t_inpcb->inp_socket->so_flags & SOF_MP_SUBFLOW) { in tcp_update_window() 1698 if (tp->t_inpcb->inp_mstat.ms_total.ts_rxbytes > INT32_MAX) { in tcp_syn_data_valid() 2509 tp->t_inpcb->inp_ip_ttl = otp->t_inpcb->inp_ip_ttl; in tcp_create_server_socket() 2516 tp->t_inpcb->inp_flags2 |= in tcp_create_server_socket() [all …]
|
| H A D | tcp_cubic.c | 123 if (tp->t_inpcb->inp_mstat.ms_total.ts_txbytes <= tcp_initial_cwnd(tp) && in tcp_cubic_cwnd_init_or_reset() 215 ((!soissrcrealtime((_tp_)->t_inpcb->inp_socket) && \
|
| H A D | tcp_timer.h | 289 ((tp)->t_inpcb->inp_socket->so_options & SO_KEEPALIVE) ? \
|
| H A D | tcp_ccdbg.c | 87 struct inpcb *__single inp = tp->t_inpcb; in tcp_ccdbg_trace()
|
| H A D | tcp_output.c | 272 struct socket *__single so = tp->t_inpcb->inp_socket; in tcp_tfo_check() 359 tcp_tfo_gen_cookie(tp->t_inpcb, out, sizeof(out)); 380 struct socket *__single so = tp->t_inpcb->inp_socket; in tcp_tfo_write_cookie() 956 struct inpcb *__single inp = tp->t_inpcb; in tcp_output() 1089 if (rt != NULL && ROUTE_UNUSABLE(&tp->t_inpcb->inp_route)) { in tcp_output() 1180 if (rt->rt_ifp != tp->t_inpcb->inp_last_outifp) { in tcp_output() 3516 struct inpcb *__single inp = tp->t_inpcb; in tcp_ip_output() 3861 tp->t_inpcb->inp_route.ro_rt != NULL) { in tcp_ip_output() 3865 tcp_getrt_rtt(tp, tp->t_inpcb->in6p_route.ro_rt); in tcp_ip_output() 3911 struct sockbuf *__single sbrcv = &tp->t_inpcb->inp_socket->so_rcv; in tcp_recv_throttle()
|
| H A D | tcp_usrreq.c | 1099 struct inpcb *inp = tp->t_inpcb; in mpkl_tcp_send() 1485 struct inpcb *inp = tp->t_inpcb, *oinp; in tcp_connect() 1618 struct inpcb *inp = tp->t_inpcb, *oinp; in tcp6_connect() 1756 struct inpcb *inp = tp->t_inpcb; in tcp_fill_info() 2047 struct inpcb *inp = tp->t_inpcb; in tcp_connection_fill_info() 3150 struct socket *so = tp->t_inpcb->inp_socket; in tcp_disconnect() 3205 struct inpcb *, tp->t_inpcb, in tcp_usrclosed() 3215 struct inpcb *, tp->t_inpcb, in tcp_usrclosed() 3224 soisdisconnected(tp->t_inpcb->inp_socket); in tcp_usrclosed()
|
| H A D | tcp_cache.c | 387 struct inpcb *inp = tp->t_inpcb; in tcp_cache_key_src_create() 567 struct inpcb *inp = tp->t_inpcb; in tcp_cache_update_mptcp_version() 1031 IFNET_IS_WIFI(tp->t_inpcb->inp_last_outifp)) { in tcp_heuristic_tfo_loss() 1071 IFNET_IS_WIFI(tp->t_inpcb->inp_last_outifp)) { in tcp_heuristic_mptcp_loss() 1086 IFNET_IS_WIFI(tp->t_inpcb->inp_last_outifp)) { in tcp_heuristic_ecn_loss()
|
| H A D | mptcp.c | 1142 mptcp_notify_mpfail(tp->t_inpcb->inp_socket); in mptcp_update_rcv_state_meat() 1146 mptcp_notify_mpready(tp->t_inpcb->inp_socket); in mptcp_update_rcv_state_meat() 1216 mptcp_notify_mpfail(tp->t_inpcb->inp_socket); in mptcp_validate_csum()
|
| H A D | tcp_prague.c | 615 if (tp->t_inpcb->inp_mstat.ms_total.ts_txbytes <= tcp_initial_cwnd(tp) && in tcp_prague_cwnd_init_or_reset()
|
| H A D | mptcp_usrreq.c | 2021 ti->tcpi_last_outif = (acttp->t_inpcb->inp_last_outifp == NULL) ? 0 : in mptcp_fill_info() 2022 acttp->t_inpcb->inp_last_outifp->if_index; in mptcp_fill_info()
|
| H A D | mptcp_subr.c | 6883 inp = tp->t_inpcb; in mptcp_reset_rexmit_state()
|
| /xnu-12377.41.6/tools/lldbmacros/ |
| H A D | net.py | 2146 unsigned(tp.t_inpcb) 2151 print(GetInPcb(tp.t_inpcb, IPPROTO_TCP))
|