Lines Matching refs:xt
1163 struct xtcpcb xt;
1166 bzero(&xt, sizeof(xt));
1167 xt.xt_len = sizeof xt;
1169 bcopy(inp, &xt.xt_inp, sizeof *inp);
1172 bzero((char *) &xt.xt_tp, sizeof xt.xt_tp);
1174 bzero((char *) &xt.xt_tp, sizeof xt.xt_tp);
1175 xt.xt_tp.t_state = TCPS_TIME_WAIT;
1177 bcopy(inp_ppcb, &xt.xt_tp, sizeof xt.xt_tp);
1178 if (xt.xt_tp.t_timers)
1179 tcp_timer_to_xtimer(&xt.xt_tp, xt.xt_tp.t_timers, &xt.xt_timer);
1182 sotoxsocket(inp->inp_socket, &xt.xt_socket);
1184 bzero(&xt.xt_socket, sizeof xt.xt_socket);
1185 xt.xt_socket.xso_protocol = IPPROTO_TCP;
1187 xt.xt_inp.inp_gencnt = inp->inp_gencnt;
1189 error = SYSCTL_OUT(req, &xt, sizeof xt);