Home
last modified time | relevance | path

Searched refs:RTA_PREFSRC (Results 1 – 25 of 27) sorted by relevance

12

/external/strace/xlat/
Drtnl_route_attrs.h55 #if defined(RTA_PREFSRC) || (defined(HAVE_DECL_RTA_PREFSRC) && HAVE_DECL_RTA_PREFSRC)
57 static_assert((RTA_PREFSRC) == (7), "RTA_PREFSRC != 7");
60 # define RTA_PREFSRC 7
234 XLAT(RTA_PREFSRC),
Drtnl_route_attrs.in8 RTA_PREFSRC 7
/external/iproute2/ip/
Diproute.c238 if (tb[RTA_PREFSRC]) in filter_nlmsg()
239 memcpy(&prefsrc.data, RTA_DATA(tb[RTA_PREFSRC]), host_len/8); in filter_nlmsg()
436 if (tb[RTA_PREFSRC] && filter.rprefsrc.bitlen != host_len) { in print_route()
441 rt_addr_n2a_rta(r->rtm_family, tb[RTA_PREFSRC])); in print_route()
889 addattr_l(&req.n, sizeof(req), RTA_PREFSRC, &addr.data, addr.bytelen); in iproute_modify()
1828 if (tb[RTA_PREFSRC]) { in iproute_get()
1829 tb[RTA_PREFSRC]->rta_type = RTA_SRC; in iproute_get()
1830 r->rtm_src_len = 8*RTA_PAYLOAD(tb[RTA_PREFSRC]); in iproute_get()
1882 if (!prio && !tb[RTA_GATEWAY] && (!tb[RTA_PREFSRC] || in restore_handler()
1883 !rtattr_cmp(tb[RTA_PREFSRC], tb[RTA_DST]))) in restore_handler()
[all …]
/external/syzkaller/sys/linux/
Dsocket_netlink_route_amd64.const313 RTA_PREFSRC = 7
Dsocket_netlink_route_arm.const313 RTA_PREFSRC = 7
Dsocket_netlink_route_386.const313 RTA_PREFSRC = 7
Dsocket_netlink_route_ppc64le.const313 RTA_PREFSRC = 7
Dsocket_netlink_route_arm64.const313 RTA_PREFSRC = 7
Dsocket_netlink_route.txt430 RTA_PREFSRC nlattr[RTA_PREFSRC, ipv4_addr]
/external/strace/
Drtnl_route.c232 [RTA_PREFSRC] = decode_route_addr,
/external/libnl/lib/route/
Droute_obj.c1081 if (tb[RTA_PREFSRC]) { in rtnl_route_parse()
1082 if (!(addr = nl_addr_alloc_attr(tb[RTA_PREFSRC], family))) in rtnl_route_parse()
1225 NLA_PUT_ADDR(msg, RTA_PREFSRC, route->rt_pref_src); in rtnl_route_build_msg()
/external/libnl/include/linux-private/linux/
Drtnetlink.h276 RTA_PREFSRC, enumerator
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dztypes_linux_sparc64.go453 RTA_PREFSRC = 0x7 const
Dztypes_linux_s390x.go502 RTA_PREFSRC = 0x7 const
Dztypes_linux_386.go498 RTA_PREFSRC = 0x7 const
Dztypes_linux_mips.go499 RTA_PREFSRC = 0x7 const
Dztypes_linux_amd64.go502 RTA_PREFSRC = 0x7 const
Dztypes_linux_ppc64.go504 RTA_PREFSRC = 0x7 const
Dztypes_linux_mips64.go503 RTA_PREFSRC = 0x7 const
Dztypes_linux_mipsle.go499 RTA_PREFSRC = 0x7 const
Dztypes_linux_arm.go501 RTA_PREFSRC = 0x7 const
Dztypes_linux_arm64.go503 RTA_PREFSRC = 0x7 const
/external/iproute2/include/uapi/linux/
Drtnetlink.h310 RTA_PREFSRC, enumerator
/external/toybox/toys/pending/
Dip.c1556 if (attr[RTA_PREFSRC] && hlen) { in display_route_info()
1557 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_PREFSRC]), in display_route_info()
1740 if (attr[RTA_PREFSRC]) { in route_get()
1741 attr[RTA_PREFSRC]->rta_type = RTA_SRC; in route_get()
1742 msg->rtm_src_len = 8*RTA_PAYLOAD(attr[RTA_PREFSRC]); in route_get()
1933 add_string_to_rtattr(&req.hdr, sizeof(req), RTA_PREFSRC, addr, len); in route_update()
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h322 RTA_PREFSRC, enumerator

12