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

realm_t rtnl_route_get_realms ( struct rtnl_route *  route  ) 

Get realms of route object.

  • route Route object.
    Returns:
    Realms value or 0 if not set.

Definition at line 723 of file route.c.

{
      if (route->rt_mask & ROUTE_ATTR_REALMS)
            return route->rt_realms;
      else
            return 0;
}


Generated by  Doxygen 1.6.0   Back to index