Lines Matching refs:so_flags

639 		so->so_flags |= SOF_NODEFUNCT;
685 if (so->so_flags & SOF_DEFUNCT) {
773 (so->so_flags & SOF_DEFUNCT)) {
775 if (so->so_flags & SOF_DEFUNCT) {
832 if ((!(so->so_flags & SOF_PCBCLEARING)) ||
899 if (!so->so_upcallusecount || !(so->so_flags & SOF_UPCALLCLOSEWAIT))
903 so->so_flags |= SOF_CLOSEWAIT;
907 so->so_flags &= ~SOF_CLOSEWAIT;
947 if (sp->so_flags & SOF_OVERFLOW)
999 so->so_flags |= SOF_PCBCLEARING;
1037 if (so->so_pcb && !(so->so_flags & SOF_PCBCLEARING)) {
1058 if ((so->so_flags & SOF_KNOTE) != 0)
1113 if ((so->so_flags & SOF_ABORTED) == 0) {
1114 so->so_flags |= SOF_ABORTED;
1234 if ((so->so_options & SO_ACCEPTCONN) || (so->so_flags & SOF_DEFUNCT)) {
1236 if (so->so_flags & SOF_DEFUNCT) {
1384 if (so->so_flags & SOF_DEFUNCT)
1396 if (so->so_flags & SOF_DEFUNCT) {
1441 if (so->so_flags & SOF_DEFUNCT)
1602 ((so->so_flags & SOF_MULTIPAGES) ||
1932 if (so->so_flags & SOF_DEFUNCT) {
2179 if (so->so_flags & SOF_DEFUNCT) {
2994 (so->so_flags & SOF_NPX_SETOPTSHUT) == 0) {
3146 so->so_flags |= SOF_NOSIGPIPE;
3148 so->so_flags &= ~SOF_NOSIGPIPE;
3158 so->so_flags |= SOF_NOADDRAVAIL;
3160 so->so_flags &= ~SOF_NOADDRAVAIL;
3170 so->so_flags |= SOF_REUSESHAREUID;
3172 so->so_flags &= ~SOF_REUSESHAREUID;
3185 so->so_flags |= SOF_NOTIFYCONFLICT;
3187 so->so_flags &= ~SOF_NOTIFYCONFLICT;
3223 so->so_flags |= SOF_UPCALLCLOSEWAIT;
3225 so->so_flags &= ~SOF_UPCALLCLOSEWAIT;
3235 so->so_flags |= SOF_BINDRANDOMPORT;
3237 so->so_flags &= ~SOF_BINDRANDOMPORT;
3255 so->so_flags |= SOF_NPX_SETOPTSHUT;
3257 so->so_flags &= ~SOF_NPX_SETOPTSHUT;
3279 so->so_flags &= ~SOF_RECV_TRAFFIC_CLASS;
3281 so->so_flags |= SOF_RECV_TRAFFIC_CLASS;
3308 so->so_flags &= ~SOF_PRIVILEGED_TRAFFIC_CLASS;
3310 so->so_flags |= SOF_PRIVILEGED_TRAFFIC_CLASS;
3316 if (error != 0 || (so->so_flags & SOF_DEFUNCT)) {
3332 so->so_flags &= ~SOF_NODEFUNCT;
3334 so->so_flags |= SOF_NODEFUNCT;
3340 (so->so_flags & SOF_NODEFUNCT) ? "not " : ""));
3571 optval = (so->so_flags & SOF_NOSIGPIPE);
3575 optval = (so->so_flags & SOF_NOADDRAVAIL);
3579 optval = (so->so_flags & SOF_REUSESHAREUID);
3584 optval = (so->so_flags & SOF_NOTIFYCONFLICT);
3622 optval = (so->so_flags & SOF_UPCALLCLOSEWAIT);
3626 optval = (so->so_flags & SOF_BINDRANDOMPORT);
3632 sonpx.npx_flags = (so->so_flags & SOF_NPX_SETOPTSHUT) ? SONPX_SETOPTSHUT : 0;
3644 optval = (so->so_flags & SOF_RECV_TRAFFIC_CLASS);
3656 optval = (so->so_flags & SOF_PRIVILEGED_TRAFFIC_CLASS);
3660 optval = !(so->so_flags & SOF_NODEFUNCT);
3664 optval = (so->so_flags & SOF_DEFUNCT);
3910 so->so_flags |= SOF_KNOTE;
4077 if ((so->so_flags & SOF_NOTSENT_LOWAT) != 0) {
4097 if ((so->so_flags & SOF_KNOTE) != 0)
4099 so->so_flags &= ~SOF_KNOTE;
4146 (so->so_flags & SOF_SUSPENDED))) {
4154 (so->so_flags & SOF_SUSPENDED) == 0)) {
4311 so->so_flags |= SOF_MULTIPAGES;
4313 so->so_flags &= ~SOF_MULTIPAGES;
4334 defunct = (so->so_flags & SOF_DEFUNCT);
4341 if (so->so_flags & SOF_NODEFUNCT) {
4350 so->so_flags &= ~SOF_NODEFUNCT;
4356 so->so_flags |= SOF_DEFUNCT;
4375 if (!(so->so_flags & SOF_DEFUNCT))
4416 if (!(so->so_flags & SS_ISDISCONNECTED))