Home
last modified time | relevance | path

Searched refs:RTA_DST (Results 1 – 8 of 8) sorted by relevance

/third_party/libnl/src/
Dnl-route-get.c74 if (nla_put_addr(m, RTA_DST, dst) < 0) in main()
/third_party/ltp/testcases/network/stress/route/
Droute-change-netlink.c226 mnl_attr_put(nlh, RTA_DST, sizeof(struct in6_addr), &dst_in6); in rtnl_route()
229 mnl_attr_put_u32(nlh, RTA_DST, dst_ip); in rtnl_route()
/third_party/toybox/toys/pending/
Dip.c1616 if (attr[RTA_DST]) { in display_route_info()
1617 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_DST]), in display_route_info()
1620 memcmp(RTA_DATA(attr[RTA_DST]), &gfilter.rdst.addr, gfilter.rdst.len)) in display_route_info()
1623 memcmp(RTA_DATA(attr[RTA_DST]), &gfilter.mdst.addr, gfilter.mdst.len)) in display_route_info()
1812 (!idx ? RTA_SRC : RTA_DST), addr, len); in route_get()
2098 if (len) add_string_to_rtattr(&req.hdr, sizeof(req),RTA_DST, addr, len); in route_update()
2224 (idx ? RTA_DST : RTA_SRC), addr, len); in ruleupdate()
2357 if (attr[RTA_DST]) { in show_rules()
2359 ? inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_DST]), in show_rules()
/third_party/libnl/lib/route/
Droute_obj.c1159 if (tb[RTA_DST]) { in rtnl_route_parse()
1160 if (!(dst = nl_addr_alloc_attr(tb[RTA_DST], family))) in rtnl_route_parse()
1390 NLA_PUT_ADDR(msg, RTA_DST, route->rt_dst); in rtnl_route_build_msg()
/third_party/libnl/include/linux-private/linux/
Drtnetlink.h316 RTA_DST, enumerator
/third_party/libwebsockets/lib/roles/netlink/
Dops-netlink.c261 case RTA_DST: in rops_handle_POLLIN_netlink()
/third_party/glib/gio/
Dgnetworkmonitornetlink.c374 if (attr->rta_type == RTA_DST) in read_netlink_messages()
/third_party/ltp/lib/
Dtst_netdevice.c420 if (dstaddr && !tst_rtnl_add_attr(file, lineno, ctx, RTA_DST, dstaddr, in modify_route()