Lines Matching refs:tp
86 toedev_listen_start(struct toedev *tod __unused, struct tcpcb *tp __unused)
93 toedev_listen_stop(struct toedev *tod __unused, struct tcpcb *tp __unused)
100 toedev_input(struct toedev *tod __unused, struct tcpcb *tp __unused,
109 toedev_rcvd(struct toedev *tod __unused, struct tcpcb *tp __unused)
116 toedev_output(struct toedev *tod __unused, struct tcpcb *tp __unused)
123 toedev_pcb_detach(struct toedev *tod __unused, struct tcpcb *tp __unused)
178 toedev_ctloutput(struct toedev *tod __unused, struct tcpcb *tp __unused,
186 toedev_tcp_info(struct toedev *tod __unused, struct tcpcb *tp __unused,
200 struct tcpcb *tp;
209 tp = intotcpcb(inp);
210 if (tp->t_state != TCPS_LISTEN)
217 tod->tod_listen_start(tod, tp);
223 toe_listen_start_event(void *arg __unused, struct tcpcb *tp)
225 struct inpcb *inp = tp->t_inpcb;
228 KASSERT(tp->t_state == TCPS_LISTEN,
229 ("%s: t_state %s", __func__, tcpstates[tp->t_state]));
235 toe_listen_stop_event(void *arg __unused, struct tcpcb *tp)
239 struct inpcb *inp = tp->t_inpcb;
243 KASSERT(tp->t_state == TCPS_LISTEN,
244 ("%s: t_state %s", __func__, tcpstates[tp->t_state]));
248 tod->tod_listen_stop(tod, tp);
501 struct tcpcb *tp = intotcpcb(inp);
503 KASSERT(tp->t_flags & TF_TOE,
504 ("%s: tp %p not offloaded.", __func__, tp));
515 tod->tod_pcb_detach(tod, tp);
516 KASSERT(!(tp->t_flags & TF_TOE),
517 ("%s: tp %p still offloaded.", __func__, tp));
518 tcp_timer_activate(tp, TT_KEEP, TP_KEEPINIT(tp));
519 (void) tp->t_fb->tfb_tcp_output(tp);
523 tp = tcp_drop(tp, err);
524 if (tp == NULL)