Home
last modified time | relevance | path

Searched refs:xt (Results 1 – 3 of 3) sorted by relevance

/xnu-12377.61.12/bsd/netinet/
H A Din_pcblist.c232 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()
[all …]
H A Dtcp_subr.c2268 struct xtcpcb xt; variable
2287 bzero(&xt, sizeof(xt));
2288 xt.xt_len = sizeof(xt);
2290 inpcb_to_compat(inp, &xt.xt_inp);
2294 &xt.xt_tp);
2296 bzero((char *) &xt.xt_tp, sizeof(xt.xt_tp));
2299 sotoxsocket(inp->inp_socket, &xt.xt_socket);
2304 error = SYSCTL_OUT(req, &xt, sizeof(xt));
2453 struct xtcpcb64 xt; variable
2471 bzero(&xt, sizeof(xt));
[all …]
/xnu-12377.61.12/bsd/net/
H A Dntstat.c8204 nstat_userland_to_xtcpcb_n(nstat_flow_data *flow_data, struct xtcpcb_n *xt) in nstat_userland_to_xtcpcb_n() argument
8207 xt->xt_len = sizeof(struct xtcpcb_n); in nstat_userland_to_xtcpcb_n()
8208 xt->xt_kind = XSO_TCPCB; in nstat_userland_to_xtcpcb_n()
8209 xt->t_state = desc->state; in nstat_userland_to_xtcpcb_n()
8210 xt->snd_wnd = desc->txwindow; in nstat_userland_to_xtcpcb_n()
8211 xt->snd_cwnd = desc->txcwindow; in nstat_userland_to_xtcpcb_n()
8302 struct xtcpcb_n *xt = (struct xtcpcb_n *) ADVANCE64(xsostats, sizeof(*xsostats)); in nstat_userland_list_snapshot() local
8316 nstat_userland_to_xtcpcb_n(flow_data, xt); in nstat_userland_list_snapshot()