Lines Matching refs:ha_lso
86 struct socket *ha_lso;
197 if (softc->ha_lso) {
198 if (SOLISTENING(softc->ha_lso)) {
199 SOLISTEN_LOCK(softc->ha_lso);
200 solisten_upcall_set(softc->ha_lso, NULL, NULL);
201 SOLISTEN_UNLOCK(softc->ha_lso);
203 soclose(softc->ha_lso);
204 softc->ha_lso = NULL;
406 lso = softc->ha_lso;
444 if (softc->ha_lso == NULL) {
445 error = socreate(PF_INET, &softc->ha_lso, SOCK_STREAM,
458 error = sosetopt(softc->ha_lso, &opt);
470 error = sosetopt(softc->ha_lso, &opt);
478 error = sobind(softc->ha_lso, (struct sockaddr *)&sa, td);
483 error = solisten(softc->ha_lso, 1, td);
488 SOLISTEN_LOCK(softc->ha_lso);
489 softc->ha_lso->so_state |= SS_NBIO;
490 solisten_upcall_set(softc->ha_lso, ctl_ha_lupcall, softc);
491 SOLISTEN_UNLOCK(softc->ha_lso);
518 if (softc->ha_lso != NULL)