Lines Matching refs:nud_state
138 !(n->nud_state & NUD_PERMANENT)) {
162 if ((n->nud_state & NUD_IN_TIMER) &&
209 if (n->nud_state & NUD_VALID)
210 n->nud_state = NUD_NOARP;
212 n->nud_state = NUD_NONE;
264 n->nud_state = NUD_NONE;
664 state = n->nud_state;
710 return (n->nud_state & NUD_PROBE ?
719 n->nud_state);
735 state = neigh->nud_state;
754 neigh->nud_state = NUD_DELAY;
760 neigh->nud_state = NUD_STALE;
769 neigh->nud_state = NUD_REACHABLE;
776 neigh->nud_state = NUD_PROBE;
786 if ((neigh->nud_state & (NUD_INCOMPLETE | NUD_PROBE)) &&
790 neigh->nud_state = NUD_FAILED;
801 while (neigh->nud_state == NUD_FAILED &&
810 if (neigh->nud_state & NUD_IN_TIMER) {
816 if (neigh->nud_state & (NUD_INCOMPLETE | NUD_PROBE)) {
848 if (neigh->nud_state & (NUD_CONNECTED | NUD_DELAY | NUD_PROBE))
853 if (!(neigh->nud_state & (NUD_STALE | NUD_INCOMPLETE))) {
856 neigh->nud_state = NUD_INCOMPLETE;
861 neigh->nud_state = NUD_FAILED;
869 } else if (neigh->nud_state & NUD_STALE) {
872 neigh->nud_state = NUD_DELAY;
878 if (neigh->nud_state == NUD_INCOMPLETE) {
946 old = neigh->nud_state;
957 neigh->nud_state = new;
1022 neigh->nud_state = new;
1044 while (neigh->nud_state & NUD_VALID &&
1107 if (n->nud_state & NUD_CONNECTED)
1979 ndm->ndm_state = neigh->nud_state;
1980 if ((neigh->nud_state & NUD_VALID) &&
2131 if (n->nud_state & ~NUD_NOARP)
2170 if (n->nud_state & ~NUD_NOARP)