Lines Matching refs:rt_dst
87 nl_addr_put(r->rt_dst); in route_free_data()
103 if (src->rt_dst) in route_clone()
104 if (!(dst->rt_dst = nl_addr_clone(src->rt_dst))) in route_clone()
145 nl_addr_get_len(r->rt_dst) == 0) in route_dump_line()
148 nl_dump(p, "%s ", nl_addr2str(r->rt_dst, buf, sizeof(buf))); in route_dump_line()
314 if (route->rt_dst) in route_keygen()
315 addr = route->rt_dst; in route_keygen()
363 diff |= ROUTE_DIFF(DST, nl_addr_cmp(a->rt_dst, b->rt_dst)); in route_compare()
679 if (route->rt_dst) in rtnl_route_set_dst()
680 nl_addr_put(route->rt_dst); in rtnl_route_set_dst()
683 route->rt_dst = addr; in rtnl_route_set_dst()
692 return route->rt_dst; in rtnl_route_get_dst()
1194 if (route->rt_dst == NULL) in rtnl_route_build_msg()
1197 rtmsg.rtm_dst_len = nl_addr_get_prefixlen(route->rt_dst); in rtnl_route_build_msg()
1217 if (nl_addr_get_len(route->rt_dst)) in rtnl_route_build_msg()
1218 NLA_PUT_ADDR(msg, RTA_DST, route->rt_dst); in rtnl_route_build_msg()