Lines Matching defs:so
660 * Packet is associated with a socket, so allow the
667 * Packet is not associated with a socket, so possibly
795 * Init srtt to TCPTV_SRTTBASE (0), so we can tell that we have no
796 * rtt estimate. Set rttvar so that srtt + 4 * rttvar gives
823 * way for this to occur with this implementation so we always return zero.
887 struct socket *so = tp->t_inpcb->inp_socket;
900 so->so_error = errno;
908 struct socket *so = inp->inp_socket;
924 * test to see if callout_drain() is required, and if so, defer some
957 * XXXRW: 'so' may be NULL here, and/or socket buffer may be
958 * being torn down. Ideally this code would not use 'so'.
961 if (ssthresh != 0 && ssthresh < so->so_snd.sb_hiwat / 2) {
1023 struct socket *so;
1035 so = inp->inp_socket;
1036 soisdisconnected(so);
1038 KASSERT(so->so_state & SS_PROTOREF,
1043 SOCK_LOCK(so);
1044 so->so_state &= ~SS_PROTOREF;
1045 sofree(so);
1136 wakeup( &so->so_timeo);
1137 sorwakeup(so);
1138 sowwakeup(so);
1595 * unguessable so as to prevent connection hijacking. To satisfy
1601 * Time is based off the system timer, and is corrected so that it
1611 * and increments isn_offset as necessary so that sequence numbers
1743 struct socket *so;
1755 so = inp->inp_socket;
1756 SOCKBUF_LOCK(&so->so_snd);
1758 if (so->so_snd.sb_hiwat < tp->t_maxseg)
1759 tp->t_maxseg = so->so_snd.sb_hiwat;
1760 SOCKBUF_UNLOCK(&so->so_snd);