Lines Matching refs:so_state
64 so->so_state = SS_NOFDREF; in socreate()
76 if (so->so_state & SS_PROXIFIED) in sofree()
416 so->so_state, errno)); in sowrite()
442 if ((so->so_state & SS_FWDRAIN) && sb->sb_cc == 0) in sowrite()
609 so->so_state = SS_ISFCONNECTED; /* So that it gets select()ed */ in sosendto()
648 so->so_state = (SS_FACCEPTCONN|flags); in solisten()
733 so->so_state &= ~(SS_NOFDREF|SS_ISFCONNECTED|SS_FCANTRCVMORE| in soisfconnecting()
735 so->so_state |= SS_ISFCONNECTING; /* Clobber other states */ in soisfconnecting()
741 so->so_state &= ~(SS_ISFCONNECTING|SS_FWDRAIN|SS_NOFDREF); in soisfconnected()
742 so->so_state |= SS_ISFCONNECTED; /* Clobber other states */ in soisfconnected()
748 if ((so->so_state & SS_NOFDREF) == 0) { in sofcantrcvmore()
754 so->so_state &= ~(SS_ISFCONNECTING); in sofcantrcvmore()
755 if (so->so_state & SS_FCANTSENDMORE) in sofcantrcvmore()
756 so->so_state = SS_NOFDREF; /* Don't select it */ /* XXX close() here as well? */ in sofcantrcvmore()
758 so->so_state |= SS_FCANTRCVMORE; in sofcantrcvmore()
764 if ((so->so_state & SS_NOFDREF) == 0) { in sofcantsendmore()
773 so->so_state &= ~(SS_ISFCONNECTING); in sofcantsendmore()
774 if (so->so_state & SS_FCANTRCVMORE) in sofcantsendmore()
775 so->so_state = SS_NOFDREF; /* as above */ in sofcantsendmore()
777 so->so_state |= SS_FCANTSENDMORE; in sofcantsendmore()
799 so->so_state |= SS_FWDRAIN; in sofwdrain()