Home
last modified time | relevance | path

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

/xnu-11215.81.4/bsd/netinet/
H A Dtcp_timer.c1001 struct tcp_respond_args tra; in tcp_send_keep_alive() local
1003 bzero(&tra, sizeof(tra)); in tcp_send_keep_alive()
1004 tra.nocell = INP_NO_CELLULAR(inp) ? 1 : 0; in tcp_send_keep_alive()
1005 tra.noexpensive = INP_NO_EXPENSIVE(inp) ? 1 : 0; in tcp_send_keep_alive()
1006 tra.noconstrained = INP_NO_CONSTRAINED(inp) ? 1 : 0; in tcp_send_keep_alive()
1007 tra.awdl_unrestricted = INP_AWDL_UNRESTRICTED(inp) ? 1 : 0; in tcp_send_keep_alive()
1008 tra.intcoproc_allowed = INP_INTCOPROC_ALLOWED(inp) ? 1 : 0; in tcp_send_keep_alive()
1009 tra.management_allowed = INP_MANAGEMENT_ALLOWED(inp) ? 1 : 0; in tcp_send_keep_alive()
1010 tra.keep_alive = 1; in tcp_send_keep_alive()
1012 tra.ifscope = tp->t_inpcb->inp_boundifp->if_index; in tcp_send_keep_alive()
[all …]
H A Dtcp_subr.c757 tcp_seq ack, tcp_seq seq, uint8_t flags, struct tcp_respond_args *tra) in tcp_respond() argument
879 if (tra->keep_alive) { in tcp_respond()
954 ip6oa.ip6oa_boundif = tra->ifscope; in tcp_respond()
959 if (tra->ifscope != IFSCOPE_NONE) { in tcp_respond()
962 if (tra->nocell) { in tcp_respond()
965 if (tra->noexpensive) { in tcp_respond()
968 if (tra->noconstrained) { in tcp_respond()
971 if (tra->awdl_unrestricted) { in tcp_respond()
974 if (tra->intcoproc_allowed) { in tcp_respond()
977 if (tra->management_allowed) { in tcp_respond()
[all …]
H A Dtcp_input.c2050 struct tcp_respond_args tra; in tcp_input() local
6058 bzero(&tra, sizeof(tra)); in tcp_input()
6059 tra.ifscope = ifscope; in tcp_input()
6060 tra.awdl_unrestricted = 1; in tcp_input()
6061 tra.intcoproc_allowed = 1; in tcp_input()
6062 tra.management_allowed = 1; in tcp_input()
6066 TH_RST, &tra); in tcp_input()
6073 (tcp_seq)0, TH_RST | TH_ACK, &tra); in tcp_input()
H A Dmptcp_subr.c4335 struct tcp_respond_args tra; in mptcp_subflow_mustrst_ev() local
4337 bzero(&tra, sizeof(tra)); in mptcp_subflow_mustrst_ev()
4339 tra.ifscope = inp->inp_boundifp->if_index; in mptcp_subflow_mustrst_ev()
4341 tra.ifscope = IFSCOPE_NONE; in mptcp_subflow_mustrst_ev()
4343 tra.awdl_unrestricted = 1; in mptcp_subflow_mustrst_ev()
4347 tp->rcv_nxt, tp->snd_una, TH_RST, &tra); in mptcp_subflow_mustrst_ev()