Home | History | Annotate | Download | only in route

Lines Matching refs:STATE

48  *  - state (rtnl_neigh_set_state())
131 * // its state to "permanent" in order to avoid having it overwritten.
134 * // Secondly the state can be modified allowing normal neighbours to be
136 * rtnl_neigh_set_state(neigh, state);
215 diff |= NEIGH_DIFF(STATE,
220 diff |= NEIGH_DIFF(STATE, a->n_state != b->n_state);
231 __ADD(NEIGH_ATTR_STATE, state)
336 char state[128], flags[64];
345 state, sizeof(state)));
353 rtnl_neigh_state2str(n->n_state, state, sizeof(state));
356 if (state[0])
357 nl_dump(p, "<%s", state);
359 nl_dump(p, "%s%s", state[0] ? "," : "<", flags);
360 if (state[0] || flags[0])
549 * - State (rtnl_neigh_set_state())
573 * - State (rtnl_neigh_set_state())
669 char * rtnl_neigh_state2str(int state, char *buf, size_t len)
671 return __flags2str(state, buf, len, neigh_states,
710 void rtnl_neigh_set_state(struct rtnl_neigh *neigh, int state)
712 neigh->n_state_mask |= state;
713 neigh->n_state |= state;
725 void rtnl_neigh_unset_state(struct rtnl_neigh *neigh, int state)
727 neigh->n_state_mask |= state;
728 neigh->n_state &= ~state;