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

int rtnl_route_get_family ( struct rtnl_route *  route  ) 

Get the address family of a route

  • route route handle
    Address family or AF_UNSPEC if not set

Definition at line 795 of file route.c.

      if (route->rt_mask & ROUTE_ATTR_FAMILY)
            return route->rt_family;
            return AF_UNSPEC;

Generated by  Doxygen 1.6.0   Back to index