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

int rtnl_route_get_type ( struct rtnl_route *  route  ) 

Get the type of a route

  • route route handle
    Returns:
    Type of route or -1 if not set

Definition at line 871 of file route.c.

{
      if (route->rt_mask & ROUTE_ATTR_TYPE)
            return route->rt_type;
      else
            return -1;
}


Generated by  Doxygen 1.6.0   Back to index