Home
last modified time | relevance | path

Searched refs:tra (Results 1 – 4 of 4) sorted by relevance

/xnu-8796.141.3/bsd/netinet/
H A Dtcp_timer.c989 struct tcp_respond_args tra; in tcp_send_keep_alive() local
991 bzero(&tra, sizeof(tra)); in tcp_send_keep_alive()
992 tra.nocell = INP_NO_CELLULAR(inp) ? 1 : 0; in tcp_send_keep_alive()
993 tra.noexpensive = INP_NO_EXPENSIVE(inp) ? 1 : 0; in tcp_send_keep_alive()
994 tra.noconstrained = INP_NO_CONSTRAINED(inp) ? 1 : 0; in tcp_send_keep_alive()
995 tra.awdl_unrestricted = INP_AWDL_UNRESTRICTED(inp) ? 1 : 0; in tcp_send_keep_alive()
996 tra.intcoproc_allowed = INP_INTCOPROC_ALLOWED(inp) ? 1 : 0; in tcp_send_keep_alive()
997 tra.management_allowed = INP_MANAGEMENT_ALLOWED(inp) ? 1 : 0; in tcp_send_keep_alive()
998 tra.keep_alive = 1; in tcp_send_keep_alive()
1000 tra.ifscope = tp->t_inpcb->inp_boundifp->if_index; in tcp_send_keep_alive()
[all …]
H A Dtcp_subr.c736 tcp_seq ack, tcp_seq seq, uint8_t flags, struct tcp_respond_args *tra) in tcp_respond() argument
858 if (tra->keep_alive) { in tcp_respond()
939 ip6oa.ip6oa_boundif = tra->ifscope; in tcp_respond()
944 if (tra->ifscope != IFSCOPE_NONE) { in tcp_respond()
947 if (tra->nocell) { in tcp_respond()
950 if (tra->noexpensive) { in tcp_respond()
953 if (tra->noconstrained) { in tcp_respond()
956 if (tra->awdl_unrestricted) { in tcp_respond()
959 if (tra->intcoproc_allowed) { in tcp_respond()
962 if (tra->management_allowed) { in tcp_respond()
[all …]
H A Dtcp_input.c1909 struct tcp_respond_args tra; in tcp_input() local
5726 bzero(&tra, sizeof(tra)); in tcp_input()
5727 tra.ifscope = ifscope; in tcp_input()
5728 tra.awdl_unrestricted = 1; in tcp_input()
5729 tra.intcoproc_allowed = 1; in tcp_input()
5730 tra.management_allowed = 1; in tcp_input()
5734 TH_RST, &tra); in tcp_input()
5741 (tcp_seq)0, TH_RST | TH_ACK, &tra); in tcp_input()
H A Dmptcp_subr.c4326 struct tcp_respond_args tra; in mptcp_subflow_mustrst_ev() local
4328 bzero(&tra, sizeof(tra)); in mptcp_subflow_mustrst_ev()
4330 tra.ifscope = inp->inp_boundifp->if_index; in mptcp_subflow_mustrst_ev()
4332 tra.ifscope = IFSCOPE_NONE; in mptcp_subflow_mustrst_ev()
4334 tra.awdl_unrestricted = 1; in mptcp_subflow_mustrst_ev()
4338 tp->rcv_nxt, tp->snd_una, TH_RST, &tra); in mptcp_subflow_mustrst_ev()