Lines Matching refs:xt
2674 struct xtcpcb xt;
2676 tcp_inptoxtp(inp, &xt);
2678 error = SYSCTL_OUT(req, &xt, sizeof xt);
3947 tcp_inptoxtp(const struct inpcb *inp, struct xtcpcb *xt)
3953 bzero(xt, sizeof(*xt));
3955 xt->t_state = TCPS_TIME_WAIT;
3956 xt->xt_encaps_port = tw->t_port;
3958 xt->t_state = tp->t_state;
3959 xt->t_logstate = tp->t_logstate;
3960 xt->t_flags = tp->t_flags;
3961 xt->t_sndzerowin = tp->t_sndzerowin;
3962 xt->t_sndrexmitpack = tp->t_sndrexmitpack;
3963 xt->t_rcvoopack = tp->t_rcvoopack;
3964 xt->t_rcv_wnd = tp->rcv_wnd;
3965 xt->t_snd_wnd = tp->snd_wnd;
3966 xt->t_snd_cwnd = tp->snd_cwnd;
3967 xt->t_snd_ssthresh = tp->snd_ssthresh;
3968 xt->t_maxseg = tp->t_maxseg;
3969 xt->xt_ecn = (tp->t_flags2 & TF2_ECN_PERMIT) ? 1 : 0 +
3975 xt->ttt = (tp->t_timers->ttt.c_time - now) / \
3978 xt->ttt = 0; \
3986 xt->t_rcvtime = 1000 * (ticks - tp->t_rcvtime) / hz;
3988 xt->xt_encaps_port = tp->t_port;
3989 bcopy(tp->t_fb->tfb_tcp_block_name, xt->xt_stack,
3991 bcopy(CC_ALGO(tp)->name, xt->xt_cc,
3994 (void)tcp_log_get_id(tp, xt->xt_logid);
3998 xt->xt_len = sizeof(struct xtcpcb);
3999 in_pcbtoxinpcb(inp, &xt->xt_inp);
4001 xt->xt_inp.xi_socket.xso_protocol = IPPROTO_TCP;