Lines Matching defs:ha_lso
147 struct socket *ha_lso;
258 if (softc->ha_lso) {
259 SOCKBUF_LOCK(&softc->ha_lso->so_rcv);
260 soupcall_clear(softc->ha_lso, SO_RCV);
261 SOCKBUF_UNLOCK(&softc->ha_lso->so_rcv);
262 soclose(softc->ha_lso);
263 softc->ha_lso = NULL;
465 if (softc->ha_lso->so_rcv.sb_state & SBS_CANTRCVMORE)
466 softc->ha_lso->so_error = ECONNABORTED;
467 if (softc->ha_lso->so_error) {
468 error = softc->ha_lso->so_error;
469 softc->ha_lso->so_error = 0;
474 so = TAILQ_FIRST(&softc->ha_lso->so_comp);
490 TAILQ_REMOVE(&softc->ha_lso->so_comp, so, so_list);
491 softc->ha_lso->so_qlen--;
527 if (softc->ha_lso == NULL) {
528 error = socreate(PF_INET, &softc->ha_lso, SOCK_STREAM,
541 error = sosetopt(softc->ha_lso, &opt);
553 error = sosetopt(softc->ha_lso, &opt);
558 SOCKBUF_LOCK(&softc->ha_lso->so_rcv);
559 soupcall_set(softc->ha_lso, SO_RCV, ctl_ha_lupcall, softc);
560 SOCKBUF_UNLOCK(&softc->ha_lso->so_rcv);
564 error = sobind(softc->ha_lso, (struct sockaddr *)&sa, td);
569 error = solisten(softc->ha_lso, 1, td);
600 if (softc->ha_lso != NULL)