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

int rtnl_route_get_table ( struct rtnl_route *  route  ) 

Get the table of a route

  • route route handle
    Returns:
    Table id or -1 if not set

Definition at line 651 of file route.c.

{
      if (route->rt_mask & ROUTE_ATTR_TABLE)
            return route->rt_table;
      else
            return -1;
}


Generated by  Doxygen 1.6.0   Back to index