Home
last modified time | relevance | path

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

/external/strace/xlat/
Drtnl_route_attrs.h13 #if defined(RTA_DST) || (defined(HAVE_DECL_RTA_DST) && HAVE_DECL_RTA_DST)
15 static_assert((RTA_DST) == (1), "RTA_DST != 1");
18 # define RTA_DST 1
228 XLAT(RTA_DST),
Drtnl_route_attrs.in2 RTA_DST 1
/external/iproute2/ip/
Dipmroute.c99 if (tb[RTA_DST] && filter.mdst.bitlen > 0) { in print_mroute()
102 memcpy(&dst.data, RTA_DATA(tb[RTA_DST]), RTA_PAYLOAD(tb[RTA_DST])); in print_mroute()
125 if (tb[RTA_DST]) in print_mroute()
127 "%s)", rt_addr_n2a_rta(family, tb[RTA_DST])); in print_mroute()
Diproute.c220 if (tb[RTA_DST]) in filter_nlmsg()
221 memcpy(&dst.data, RTA_DATA(tb[RTA_DST]), (r->rtm_dst_len+7)/8); in filter_nlmsg()
372 if (tb[RTA_DST]) { in print_route()
376 rt_addr_n2a_rta(family, tb[RTA_DST]), in print_route()
380 format_host_rta(family, tb[RTA_DST])); in print_route()
1243 addattr_l(&req.n, sizeof(req), RTA_DST, &dst.data, dst.bytelen); in iproute_modify()
1764 addattr_l(&req.n, sizeof(req), RTA_DST, &addr.data, addr.bytelen); in iproute_get()
1883 !rtattr_cmp(tb[RTA_PREFSRC], tb[RTA_DST]))) in restore_handler()
1886 rtattr_cmp(tb[RTA_PREFSRC], tb[RTA_DST])) in restore_handler()
/external/strace/tests-m32/
Dnlattr_rtmsg.c101 RTA_DST, 4, pattern, 4, in main()
141 nla.nla_type = RTA_DST; in main()
/external/strace/tests/
Dnlattr_rtmsg.c101 RTA_DST, 4, pattern, 4, in main()
141 nla.nla_type = RTA_DST; in main()
/external/strace/tests-mx32/
Dnlattr_rtmsg.c101 RTA_DST, 4, pattern, 4, in main()
141 nla.nla_type = RTA_DST; in main()
/external/libnl/src/
Dnl-route-get.c72 if (nla_put_addr(m, RTA_DST, dst) < 0) in main()
/external/strace/
Drtnl_route.c226 [RTA_DST] = decode_route_addr,
DChangeLog12150 (main): Check decoding of RTA_DST, RTA_OIF, RTA_METRICS, RTA_MULTIPATH,
/external/toybox/toys/pending/
Dip.c1617 if (attr[RTA_DST]) { in display_route_info()
1618 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_DST]), in display_route_info()
1621 memcmp(RTA_DATA(attr[RTA_DST]), &gfilter.rdst.addr, gfilter.rdst.len)) in display_route_info()
1624 memcmp(RTA_DATA(attr[RTA_DST]), &gfilter.mdst.addr, gfilter.mdst.len)) in display_route_info()
1813 (!idx ? RTA_SRC : RTA_DST), addr, len); in route_get()
2099 if (len) add_string_to_rtattr(&req.hdr, sizeof(req),RTA_DST, addr, len); in route_update()
2225 (idx ? RTA_DST : RTA_SRC), addr, len); in ruleupdate()
2358 if (attr[RTA_DST]) { in show_rules()
2360 ? inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_DST]), in show_rules()
/external/libnl/lib/route/
Droute_obj.c1043 if (tb[RTA_DST]) { in rtnl_route_parse()
1044 if (!(dst = nl_addr_alloc_attr(tb[RTA_DST], family))) in rtnl_route_parse()
1218 NLA_PUT_ADDR(msg, RTA_DST, route->rt_dst); in rtnl_route_build_msg()
/external/libnl/include/linux-private/linux/
Drtnetlink.h270 RTA_DST, enumerator
/external/iproute2/include/uapi/linux/
Drtnetlink.h304 RTA_DST, enumerator
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h330 RTA_DST, enumerator
/external/linux-kselftest/tools/testing/selftests/net/
Dudpgso.c394 rta->rta_type = RTA_DST; in set_route_mtu()
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs2144 pub const RTA_DST: ::c_ushort = 1; constant
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs2919 pub const RTA_DST: ::c_int = 0x1; constant