Lines Matching refs:DST
99 struct rtnl_route *dst = (struct rtnl_route *) _dst;
104 if (!(dst->rt_dst = nl_addr_clone(src->rt_dst)))
108 if (!(dst->rt_src = nl_addr_clone(src->rt_src)))
112 if (!(dst->rt_pref_src = nl_addr_clone(src->rt_pref_src)))
116 dst->rt_nr_nh = 0;
118 nl_init_list_head(&dst->rt_nexthops);
124 rtnl_route_add_nexthop(dst, new);
363 diff |= ROUTE_DIFF(DST, nl_addr_cmp(a->rt_dst, b->rt_dst));
554 __ADD(ROUTE_ATTR_DST, dst)
1012 struct nl_addr *src = NULL, *dst = NULL, *addr;
1044 if (!(dst = nl_addr_alloc_attr(tb[RTA_DST], family)))
1047 if (!(dst = nl_addr_alloc(0)))
1049 nl_addr_set_family(dst, rtm->rtm_family);
1052 nl_addr_set_prefixlen(dst, rtm->rtm_dst_len);
1053 err = rtnl_route_set_dst(route, dst);
1057 nl_addr_put(dst);