Logo Search packages:      
Sourcecode: libnl version File versions  Download package

int rtnl_neigh_get_state ( struct rtnl_neigh *  neigh  ) 

Get neighbour states

  • neigh neighbour handle
    Returns:
    Neighbour state or -1 if not set

Definition at line 828 of file neigh.c.

{
      if (neigh->n_mask & NEIGH_ATTR_STATE)
            return neigh->n_state;
      else
            return -1;
}


Generated by  Doxygen 1.6.0   Back to index