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

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

Get the preferred source address of a route

  • route route handle
    Preferred source address or NULL if not set

Definition at line 1148 of file route.c.

      if (route->rt_mask & ROUTE_ATTR_PREF_SRC)
            return route->rt_pref_src;
            return NULL;

Generated by  Doxygen 1.6.0   Back to index