NUD_VALID
if (!(n->nud_state & NUD_VALID)) {
if (neigh->nud_state & NUD_VALID) {
if (neigh->nud_state & NUD_VALID)
if (neigh->nud_state & NUD_VALID)
if (neigh->nud_state & NUD_VALID)
if (neigh->nud_state & NUD_VALID) {
if (neigh->nud_state & NUD_VALID) {
!(nud_state & NUD_VALID))
!(nud_state & NUD_VALID))
if (n->nud_state & NUD_VALID && !n->dead) {
neigh_connected = (nud_state & NUD_VALID) && !dead;
if (!(nud_state & NUD_VALID)) {
if (!(nud_state & NUD_VALID)) {
if (!(nud_state & NUD_VALID)) {
if (!(nud_state & NUD_VALID)) {
if (event != NETEVENT_NEIGH_UPDATE || !(n->nud_state & NUD_VALID))
entry_connected = nud_state & NUD_VALID && !dead;
entry_connected = nud_state & NUD_VALID && !dead;
__mlxsw_sp_nexthop_neigh_update(nh, !(nud_state & NUD_VALID && !dead));
if ((neigh->nud_state & NUD_VALID) && !neigh->dead)
bool neigh_invalid = !(neigh->nud_state & NUD_VALID) || neigh->dead;
neigh_invalid = !(n->nud_state & NUD_VALID) || n->dead;
if (n->nud_state & NUD_VALID)
int flags = (n->nud_state & NUD_VALID ? 0 : OFDPA_OP_FLAG_REMOVE) |
neigh->n_valid = n->nud_state & NUD_VALID;
n_valid = (n->nud_state & NUD_VALID) && !n->dead;
if (!(n->nud_state & NUD_VALID))
if (!(n->nud_state & NUD_VALID))
if (!(READ_ONCE(n->nud_state) & NUD_VALID)) {
if (!(READ_ONCE(n->nud_state) & NUD_VALID)) {
if (!neigh || !(READ_ONCE(neigh->nud_state) & NUD_VALID))
if (!neigh || !(READ_ONCE(neigh->nud_state) & NUD_VALID))
while (neigh->nud_state & NUD_VALID &&
if (!(new & NUD_VALID)) {
notify = old & NUD_VALID;
if ((old & NUD_VALID) &&
if (!(old & NUD_VALID)) {
if (old & NUD_VALID) {
if (!(old & NUD_VALID))
if (!(state & NUD_VALID)) {
if (!(state & NUD_VALID)) {
if (neigh->nud_state & NUD_VALID) {
if (n->nud_state & NUD_VALID)
else if (neigh->nud_state&NUD_VALID)
if ((READ_ONCE(neigh->nud_state) & NUD_VALID) && !force) {
if (neigh->nud_state & NUD_VALID)
if (!(READ_ONCE(neigh->nud_state) & NUD_VALID))
return !!(state & NUD_VALID);
if ((state & NUD_VALID) && order != dflt)
if ((state & NUD_VALID) ||
return !!(state & NUD_VALID);
return !!(state & NUD_VALID);
if (!(READ_ONCE(n->nud_state) & NUD_VALID)) {
err = n && !(READ_ONCE(n->nud_state) & NUD_VALID) ? -EINVAL : 0;
if (neigh->nud_state & NUD_VALID) {
if (neigh->nud_state&NUD_VALID)
if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) {
if (READ_ONCE(neigh->nud_state) & NUD_VALID)
if (!(neigh->nud_state & NUD_VALID) &&
if (nud_state & NUD_VALID)
if (!(nud_state & NUD_VALID))
if (!(nud_state & NUD_VALID))