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

int rtnl_route_get_tos ( struct rtnl_route *  route  ) 

Get the TOS of a route

  • route route handle
    TOS value or -1 if not set

Definition at line 699 of file route.c.

      if (route->rt_mask & ROUTE_ATTR_TOS)
            return route->rt_tos;
            return -1;

Generated by  Doxygen 1.6.0   Back to index