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

struct nl_addr* rtnl_route_get_dst ( struct rtnl_route *  route  )  [read]

Get the destination address of a route

  • route route handle
    Returns:
    Destination address or NULL if not set

Definition at line 1006 of file route.c.

{
      if (route->rt_mask & ROUTE_ATTR_DST)
            return route->rt_dst;
      else
            return NULL;
}


Generated by  Doxygen 1.6.0   Back to index