Lines Matching defs:so
233 calc_opt2a(struct socket *so, struct toepcb *toep)
235 struct tcpcb *tp = so_sototcpcb(so);
316 t4_connect(struct toedev *tod, struct socket *so, struct rtentry *rt,
326 struct inpcb *inp = sotoinpcb(so);
363 if (sc->tt.ddp && (so->so_options & SO_NO_DDP) == 0)
367 SOCKBUF_LOCK(&so->so_rcv);
369 toep->rx_credits = min(select_rcv_wnd(so) >> 10, M_RCV_BUFSIZ);
370 SOCKBUF_UNLOCK(&so->so_rcv);
417 cpl->opt0 = calc_opt0(so, pi, toep->l2te, mtu_idx, rscale,
419 cpl->opt2 = calc_opt2a(so, toep);
437 cpl->opt0 = calc_opt0(so, pi, toep->l2te, mtu_idx, rscale,
439 cpl->opt2 = calc_opt2a(so, toep);
445 offload_socket(so, toep);
452 undo_offload_socket(so);