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

int rtnl_neigh_get_type ( struct rtnl_neigh *  neigh  ) 

Get RTN type of a neighbour

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

Definition at line 1017 of file neigh.c.

{
      if (neigh->n_mask & NEIGH_ATTR_TYPE)
            return neigh->n_type;
      else
            return -1;
}


Generated by  Doxygen 1.6.0   Back to index