Searched refs:RTA_DST (Results 1 – 8 of 8) sorted by relevance
/third_party/libnl/src/ |
D | nl-route-get.c | 74 if (nla_put_addr(m, RTA_DST, dst) < 0) in main()
|
/third_party/ltp/testcases/network/stress/route/ |
D | route-change-netlink.c | 226 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/ |
D | ip.c | 1616 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/ |
D | route_obj.c | 1159 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/ |
D | rtnetlink.h | 316 RTA_DST, enumerator
|
/third_party/libwebsockets/lib/roles/netlink/ |
D | ops-netlink.c | 261 case RTA_DST: in rops_handle_POLLIN_netlink()
|
/third_party/glib/gio/ |
D | gnetworkmonitornetlink.c | 374 if (attr->rta_type == RTA_DST) in read_netlink_messages()
|
/third_party/ltp/lib/ |
D | tst_netdevice.c | 420 if (dstaddr && !tst_rtnl_add_attr(file, lineno, ctx, RTA_DST, dstaddr, in modify_route()
|