| /xnu-8020.101.4/bsd/netinet/ |
| H A D | tcp_log.c | 226 struct inpcb *inp = tp->t_inpcb; in tcp_log_rtt_info() 260 struct inpcb *inp = tp->t_inpcb; in tcp_log_rt_rtt() 304 struct inpcb *inp = tp->t_inpcb; in tcp_log_rtt_change() 341 struct inpcb *inp = tp->t_inpcb; in tcp_log_keepalive() 368 tp->t_inpcb->inp_socket->so_options & SO_KEEPALIVE, in tcp_log_keepalive() 390 if (tp == NULL || tp->t_inpcb == NULL || tp->t_inpcb->inp_socket == NULL || event == NULL) { in tcp_log_connection() 398 inp = tp->t_inpcb; in tcp_log_connection() 466 struct inpcb *inp = tp->t_inpcb; in tcp_log_listen() 474 if (tp == NULL || tp->t_inpcb == NULL || tp->t_inpcb->inp_socket == NULL) { in tcp_log_listen() 482 inp = tp->t_inpcb; in tcp_log_listen() [all …]
|
| H A D | tcp_log.h | 103 if (tp == NULL || tp->t_inpcb == NULL) { in tcp_is_log_enabled() 107 if (ntohs(tp->t_inpcb->inp_lport) != tcp_log_port && in tcp_is_log_enabled() 108 ntohs(tp->t_inpcb->inp_fport) != tcp_log_port) { in tcp_is_log_enabled() 116 if (tp->t_inpcb->inp_vflag & INP_IPV6) { in tcp_is_log_enabled() 117 if (IN6_IS_ADDR_LOOPBACK(&tp->t_inpcb->in6p_laddr) || in tcp_is_log_enabled() 118 IN6_IS_ADDR_LOOPBACK(&tp->t_inpcb->in6p_faddr)) { in tcp_is_log_enabled() 122 if (ntohl(tp->t_inpcb->inp_laddr.s_addr) == INADDR_LOOPBACK || in tcp_is_log_enabled() 123 ntohl(tp->t_inpcb->inp_faddr.s_addr) == INADDR_LOOPBACK) { in tcp_is_log_enabled()
|
| H A D | tcp_subr.c | 645 struct inpcb *inp = tp->t_inpcb; in tcp_fillheaders() 758 …check_qos_marking_again = tp->t_inpcb->inp_socket->so_flags1 & SOF1_QOSMARKING_POLICY_OVERRIDE ? F… in tcp_respond() 759 sifscope = tp->t_inpcb->inp_lifscope; in tcp_respond() 760 fifscope = tp->t_inpcb->inp_fifscope; in tcp_respond() 768 ro6 = &tp->t_inpcb->in6p_route; in tcp_respond() 770 ro = &tp->t_inpcb->inp_route; in tcp_respond() 879 ip6->ip6_hlim = in6_selecthlim(tp ? tp->t_inpcb : NULL, in tcp_respond() 888 if (tp == NULL || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) { in tcp_respond() 894 necp_mark_packet_from_socket(m, tp ? tp->t_inpcb : NULL, 0, 0, 0, 0); in tcp_respond() 898 if (tp != NULL && tp->t_inpcb->inp_sp != NULL && in tcp_respond() [all …]
|
| H A D | tcp_timer.c | 549 struct inpcb *inp = tp->t_inpcb; in add_to_time_wait_locked() 583 if (tp->t_inpcb->inp_socket->so_options & SO_NOWAKEFROMSLEEP) { in add_to_time_wait() 584 socket_post_kev_msg_closed(tp->t_inpcb->inp_socket); in add_to_time_wait() 590 nstat_pcb_detach(tp->t_inpcb); in add_to_time_wait() 593 socket_unlock(tp->t_inpcb->inp_socket, 0); in add_to_time_wait() 595 socket_lock(tp->t_inpcb->inp_socket, 0); in add_to_time_wait() 833 if (tcp_garbage_collect(tw_tp->t_inpcb, 1)) { in tcp_gc() 940 if (TCP_USE_RLEDBAT(tp, tp->t_inpcb->inp_socket) && in tcp_pmtud_revert_segment_size() 949 tcp_update_mss_locked(tp->t_inpcb->inp_socket, NULL); in tcp_pmtud_revert_segment_size() 959 if (tp->t_inpcb->inp_vflag & INP_IPV4) { in tcp_pmtud_black_holed_next_mss() [all …]
|
| H A D | tcp_cc.c | 192 struct inpcb *inp = tp->t_inpcb; in tcp_ccdbg_trace() 263 sb = &tp->t_inpcb->inp_socket->so_snd; in tcp_cc_resize_sndbuf() 277 sb = &tp->t_inpcb->inp_socket->so_snd; in tcp_bad_rexmt_fix_sndbuf() 379 tp->t_inpcb->inp_socket->so_rcv.sb_cc > tp->t_inpcb->inp_socket->so_rcv.sb_lowat && in tcp_cc_delay_ack() 449 struct socket *so = tp->t_inpcb->inp_socket; in tcp_cc_is_cwnd_nonvalidated()
|
| H A D | mptcp_opt.c | 244 struct socket *so = tp->t_inpcb->inp_socket; in mptcp_send_infinite_mapping() 345 struct inpcb *inp = (struct inpcb *)tp->t_inpcb; in mptcp_setup_opts() 1048 if (tp->t_inpcb->inp_socket != NULL) { \ in mptcp_do_mpjoin_opt() 1049 soevent(tp->t_inpcb->inp_socket, \ in mptcp_do_mpjoin_opt() 1159 tp->t_inpcb->inp_socket->so_flags1 |= in mptcp_data_ack_rcvd() 1192 sowwakeup(tp->t_inpcb->inp_socket); in mptcp_update_window_wakeup() 1227 mptcp_notify_mpready(tp->t_inpcb->inp_socket); in mptcp_do_dss_opt_ack_meat() 1229 mptcp_notify_close(tp->t_inpcb->inp_socket); in mptcp_do_dss_opt_ack_meat() 1533 if (tp->t_inpcb->inp_socket != NULL) { in mptcp_do_fastclose_opt() 1534 soevent(tp->t_inpcb->inp_socket, in mptcp_do_fastclose_opt() [all …]
|
| H A D | tcp_input.c | 561 struct inpcb *inp = tp->t_inpcb; in tcp_reass() 877 struct ifnet *outifp = tp->t_inpcb->inp_last_outifp; in tcp_adaptive_rwtimo_check() 909 ASSERT((tp->t_inpcb->inp_socket->so_state & (SS_CANTRCVMORE)) == SS_CANTRCVMORE); in tcp_set_finwait_timeout() 1257 struct socket *so = tp->t_inpcb->inp_socket; in tcp_sbrcv_tstmp_check() 1544 struct socket *so = tp->t_inpcb->inp_socket; in tcp_early_rexmt_check() 1655 tcp_tfo_gen_cookie(tp->t_inpcb, out, sizeof(out)); in tcp_tfo_syn() 1795 if (tp->t_inpcb->inp_socket->so_flags & SOF_MP_SUBFLOW) { in tcp_update_window() 1840 if (tp->t_inpcb->inp_stat->rxbytes > INT32_MAX) { in tcp_syn_data_valid() 2685 tp->t_inpcb->inp_ip_ttl = tp0->t_inpcb->inp_ip_ttl; in tcp_input() 2689 tp->t_inpcb->inp_flags2 |= in tcp_input() [all …]
|
| H A D | tcp_var.h | 284 struct inpcb *t_inpcb; /* back pointer to internet pcb */ member 703 if (INP_IS_FLOW_CONTROLLED((_tp_)->t_inpcb)) \ 704 inp_reset_fc_state((_tp_)->t_inpcb); \ 787 (probe_if_index > 0 && tp->t_inpcb->inp_last_outifp != NULL && \ 788 probe_if_index == tp->t_inpcb->inp_last_outifp->if_index) 874 _TCPCB_PTR(struct inpcb *) t_inpcb; /* back pointer to internet pcb */
|
| H A D | tcp_output.c | 291 struct socket *so = tp->t_inpcb->inp_socket; in tcp_tfo_check() 377 tcp_tfo_gen_cookie(tp->t_inpcb, out, sizeof(out)); in tcp_tfo_write_cookie_rep() 398 struct socket *so = tp->t_inpcb->inp_socket; in tcp_tfo_write_cookie() 493 inbound = (tp->t_inpcb->inp_socket->so_head != NULL); in tcp_set_ecn() 580 struct inpcb *inp = tp->t_inpcb; in tcp_output() 699 if (rt != NULL && ROUTE_UNUSABLE(&tp->t_inpcb->inp_route)) { in tcp_output() 2870 struct inpcb *inp = tp->t_inpcb; in tcp_ip_output() 3181 tp->t_inpcb->inp_route.ro_rt != NULL) { in tcp_ip_output() 3185 tcp_getrt_rtt(tp, tp->t_inpcb->in6p_route.ro_rt); in tcp_ip_output() 3231 struct sockbuf *sbrcv = &tp->t_inpcb->inp_socket->so_rcv; in tcp_recv_throttle()
|
| H A D | tcp_timer.h | 303 ((tp)->t_inpcb->inp_socket->so_options & SO_KEEPALIVE) ? \
|
| H A D | tcp_cache.c | 401 struct inpcb *inp = tp->t_inpcb; in tcp_cache_key_src_create() 583 struct inpcb *inp = tp->t_inpcb; in tcp_cache_update_mptcp_version() 1069 IFNET_IS_WIFI(tp->t_inpcb->inp_last_outifp)) { in tcp_heuristic_tfo_loss() 1109 IFNET_IS_WIFI(tp->t_inpcb->inp_last_outifp)) { in tcp_heuristic_mptcp_loss() 1124 IFNET_IS_WIFI(tp->t_inpcb->inp_last_outifp)) { in tcp_heuristic_ecn_loss()
|
| H A D | tcp_cubic.c | 158 if (tp->t_inpcb->inp_stat->txbytes <= tcp_initial_cwnd(tp) && in tcp_cubic_cwnd_init_or_reset() 250 ((!soissrcrealtime((_tp_)->t_inpcb->inp_socket) && \
|
| H A D | tcp_usrreq.c | 1012 struct inpcb *inp = tp->t_inpcb; in mpkl_tcp_send() 1394 struct inpcb *inp = tp->t_inpcb, *oinp; in tcp_connect() 1526 struct inpcb *inp = tp->t_inpcb, *oinp; in tcp6_connect() 1661 struct inpcb *inp = tp->t_inpcb; in tcp_fill_info() 1924 struct inpcb *inp = tp->t_inpcb; in tcp_connection_fill_info() 2998 struct socket *so = tp->t_inpcb->inp_socket; in tcp_disconnect() 3052 struct inpcb *, tp->t_inpcb, in tcp_usrclosed() 3061 struct inpcb *, tp->t_inpcb, in tcp_usrclosed() 3069 soisdisconnected(tp->t_inpcb->inp_socket); in tcp_usrclosed()
|
| H A D | mptcp.c | 1199 mptcp_notify_mpfail(tp->t_inpcb->inp_socket); in mptcp_update_rcv_state_meat() 1203 mptcp_notify_mpready(tp->t_inpcb->inp_socket); in mptcp_update_rcv_state_meat() 1243 if (mptcp_validate_dss_map(tp->t_inpcb->inp_socket, tp, m, in mptcp_input_preproc() 1310 mptcp_notify_mpfail(tp->t_inpcb->inp_socket); in mptcp_validate_csum()
|
| H A D | tcp_sack.c | 385 INP_INC_IFNET_STAT(tp->t_inpcb, ecn_fallback_reorder); in tcp_sack_detect_reordering()
|
| H A D | mptcp_usrreq.c | 1993 ti->tcpi_last_outif = (acttp->t_inpcb->inp_last_outifp == NULL) ? 0 : in mptcp_fill_info() 1994 acttp->t_inpcb->inp_last_outifp->if_index; in mptcp_fill_info()
|
| H A D | mptcp_subr.c | 7070 inp = tp->t_inpcb; in mptcp_reset_rexmit_state()
|