Lines Matching refs:xt

232 tcpcb_to_xtcpcb_n(struct tcpcb *tp, struct xtcpcb_n *xt)  in tcpcb_to_xtcpcb_n()  argument
234 xt->xt_len = sizeof(struct xtcpcb_n); in tcpcb_to_xtcpcb_n()
235 xt->xt_kind = XSO_TCPCB; in tcpcb_to_xtcpcb_n()
237 xt->t_segq = (uint32_t)VM_KERNEL_ADDRHASH(tp->t_segq.lh_first); in tcpcb_to_xtcpcb_n()
238 xt->t_dupacks = tp->t_dupacks; in tcpcb_to_xtcpcb_n()
239 xt->t_timer[TCPT_REXMT_EXT] = tp->t_timer[TCPT_REXMT]; in tcpcb_to_xtcpcb_n()
240 xt->t_timer[TCPT_PERSIST_EXT] = tp->t_timer[TCPT_PERSIST]; in tcpcb_to_xtcpcb_n()
241 xt->t_timer[TCPT_KEEP_EXT] = tp->t_timer[TCPT_KEEP]; in tcpcb_to_xtcpcb_n()
242 xt->t_timer[TCPT_2MSL_EXT] = tp->t_timer[TCPT_2MSL]; in tcpcb_to_xtcpcb_n()
243 xt->t_state = tp->t_state; in tcpcb_to_xtcpcb_n()
244 xt->t_flags = tp->t_flags; in tcpcb_to_xtcpcb_n()
245 xt->t_force = (tp->t_flagsext & TF_FORCE) ? 1 : 0; in tcpcb_to_xtcpcb_n()
246 xt->snd_una = tp->snd_una; in tcpcb_to_xtcpcb_n()
247 xt->snd_max = tp->snd_max; in tcpcb_to_xtcpcb_n()
248 xt->snd_nxt = tp->snd_nxt; in tcpcb_to_xtcpcb_n()
249 xt->snd_up = tp->snd_up; in tcpcb_to_xtcpcb_n()
250 xt->snd_wl1 = tp->snd_wl1; in tcpcb_to_xtcpcb_n()
251 xt->snd_wl2 = tp->snd_wl2; in tcpcb_to_xtcpcb_n()
252 xt->iss = tp->iss; in tcpcb_to_xtcpcb_n()
253 xt->irs = tp->irs; in tcpcb_to_xtcpcb_n()
254 xt->rcv_nxt = tp->rcv_nxt; in tcpcb_to_xtcpcb_n()
255 xt->rcv_adv = tp->rcv_adv; in tcpcb_to_xtcpcb_n()
256 xt->rcv_wnd = tp->rcv_wnd; in tcpcb_to_xtcpcb_n()
257 xt->rcv_up = tp->rcv_up; in tcpcb_to_xtcpcb_n()
258 xt->snd_wnd = tp->snd_wnd; in tcpcb_to_xtcpcb_n()
259 xt->snd_cwnd = tp->snd_cwnd; in tcpcb_to_xtcpcb_n()
260 xt->snd_ssthresh = tp->snd_ssthresh; in tcpcb_to_xtcpcb_n()
261 xt->t_maxopd = tp->t_maxopd; in tcpcb_to_xtcpcb_n()
262 xt->t_rcvtime = tp->t_rcvtime; in tcpcb_to_xtcpcb_n()
263 xt->t_starttime = tp->t_starttime; in tcpcb_to_xtcpcb_n()
264 xt->t_rtttime = tp->t_rtttime; in tcpcb_to_xtcpcb_n()
265 xt->t_rtseq = tp->t_rtseq; in tcpcb_to_xtcpcb_n()
266 xt->t_rxtcur = tp->t_rxtcur; in tcpcb_to_xtcpcb_n()
267 xt->t_maxseg = tp->t_maxseg; in tcpcb_to_xtcpcb_n()
268 xt->t_srtt = tp->t_srtt; in tcpcb_to_xtcpcb_n()
269 xt->t_rttvar = tp->t_rttvar; in tcpcb_to_xtcpcb_n()
270 xt->t_rxtshift = tp->t_rxtshift; in tcpcb_to_xtcpcb_n()
271 xt->t_rttmin = tp->t_rttmin; in tcpcb_to_xtcpcb_n()
272 xt->t_rttupdated = tp->t_rttupdated; in tcpcb_to_xtcpcb_n()
273 xt->max_sndwnd = tp->max_sndwnd; in tcpcb_to_xtcpcb_n()
274 xt->t_softerror = tp->t_softerror; in tcpcb_to_xtcpcb_n()
275 xt->t_oobflags = tp->t_oobflags; in tcpcb_to_xtcpcb_n()
276 xt->t_iobc = tp->t_iobc; in tcpcb_to_xtcpcb_n()
277 xt->snd_scale = tp->snd_scale; in tcpcb_to_xtcpcb_n()
278 xt->rcv_scale = tp->rcv_scale; in tcpcb_to_xtcpcb_n()
279 xt->request_r_scale = tp->request_r_scale; in tcpcb_to_xtcpcb_n()
280 xt->requested_s_scale = tp->requested_s_scale; in tcpcb_to_xtcpcb_n()
281 xt->ts_recent = tp->ts_recent; in tcpcb_to_xtcpcb_n()
282 xt->ts_recent_age = tp->ts_recent_age; in tcpcb_to_xtcpcb_n()
283 xt->last_ack_sent = tp->last_ack_sent; in tcpcb_to_xtcpcb_n()
284 xt->cc_send = 0; in tcpcb_to_xtcpcb_n()
285 xt->cc_recv = 0; in tcpcb_to_xtcpcb_n()
286 xt->snd_recover = tp->snd_recover; in tcpcb_to_xtcpcb_n()
287 xt->snd_cwnd_prev = tp->snd_cwnd_prev; in tcpcb_to_xtcpcb_n()
288 xt->snd_ssthresh_prev = tp->snd_ssthresh_prev; in tcpcb_to_xtcpcb_n()
427 struct xtcpcb_n *xt = (struct xtcpcb_n *) in get_pcblist_n() local
440 inp->inp_ppcb, xt); in get_pcblist_n()