Lines Matching defs:so
136 * Max out at half the ephemeral port range so that TIME_WAIT
225 struct socket *so;
256 * after this point so modifying it in place is not a problem.
328 so = inp->inp_socket;
329 soisdisconnected(so);
330 tw->tw_cred = crhold(so->so_cred);
331 SOCK_LOCK(so);
332 tw->tw_so_options = so->so_options;
333 SOCK_UNLOCK(so);
345 KASSERT(so->so_state & SS_PROTOREF,
350 SOCK_LOCK(so);
351 so->so_state &= ~SS_PROTOREF;
352 sofree(so);
363 * Most other new OSes use semi-randomized ISN values, so we
370 * sequence number used by the previous connection. If so, indicate
488 struct socket *so;
510 so = inp->inp_socket;
511 if (so != NULL) {
522 SOCK_LOCK(so);
523 KASSERT(so->so_state & SS_PROTOREF,
525 so->so_state &= ~SS_PROTOREF;
526 sofree(so);