Lines Matching refs:ha_so
84 struct socket *ha_so; member
156 struct socket *so = softc->ha_so; in ctl_ha_close()
178 softc->ha_so = NULL; in ctl_ha_close()
209 struct socket *so = softc->ha_so; in ctl_ha_rx_thread()
244 error = soreceive(softc->ha_so, NULL, &uio, NULL, in ctl_ha_rx_thread()
270 struct socket *so = softc->ha_so; in ctl_ha_send()
290 error = sosend(softc->ha_so, NULL, NULL, softc->ha_sending, in ctl_ha_send()
304 struct socket *so = softc->ha_so; in ctl_ha_sock_setup()
379 softc->ha_so = so; in ctl_ha_connect()
418 softc->ha_so = so; in ctl_ha_accept()
505 } else if (softc->ha_so != NULL && in ctl_ha_conn_thread()
506 (softc->ha_so->so_error || in ctl_ha_conn_thread()
507 softc->ha_so->so_rcv.sb_state & SBS_CANTRCVMORE)) in ctl_ha_conn_thread()
509 if (softc->ha_so == NULL) { in ctl_ha_conn_thread()
517 if (softc->ha_so != NULL) { in ctl_ha_conn_thread()
519 softc->ha_so->so_error == 0 && in ctl_ha_conn_thread()
520 (softc->ha_so->so_state & SS_ISCONNECTING) == 0) { in ctl_ha_conn_thread()
538 if (softc->ha_so != NULL && in ctl_ha_conn_thread()
539 (softc->ha_so->so_error || in ctl_ha_conn_thread()
540 softc->ha_so->so_rcv.sb_state & SBS_CANTRCVMORE)) in ctl_ha_conn_thread()
648 error = soreceive(softc->ha_so, NULL, &uio, NULL, NULL, &flags); in ctl_ha_msg_recv()