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

int rtnl_route_get_prio ( struct rtnl_route *  route  ) 

Get the priority of a route

  • route route handle
    Returns:
    Priority or -1 if not set

Definition at line 771 of file route.c.

{
      if (route->rt_mask & ROUTE_ATTR_PRIO)
            return route->rt_prio;
      else
            return -1;
}


Generated by  Doxygen 1.6.0   Back to index