Home
last modified time | relevance | path

Searched refs:RTA_SRC (Results 1 – 25 of 32) sorted by relevance

12

/external/strace/xlat/
Drtnl_route_attrs.h20 #if defined(RTA_SRC) || (defined(HAVE_DECL_RTA_SRC) && HAVE_DECL_RTA_SRC)
22 static_assert((RTA_SRC) == (2), "RTA_SRC != 2");
25 # define RTA_SRC 2
229 XLAT(RTA_SRC),
Drtnl_route_attrs.in3 RTA_SRC 2
/external/iproute2/ip/
Dipmroute.c107 if (tb[RTA_SRC] && filter.msrc.bitlen > 0) { in print_mroute()
110 memcpy(&src.data, RTA_DATA(tb[RTA_SRC]), RTA_PAYLOAD(tb[RTA_SRC])); in print_mroute()
120 if (tb[RTA_SRC]) in print_mroute()
122 "(%s, ", rt_addr_n2a_rta(family, tb[RTA_SRC])); in print_mroute()
Diproute.c223 if (tb[RTA_SRC]) in filter_nlmsg()
224 memcpy(&src.data, RTA_DATA(tb[RTA_SRC]), (r->rtm_src_len+7)/8); in filter_nlmsg()
387 if (tb[RTA_SRC]) { in print_route()
391 rt_addr_n2a_rta(family, tb[RTA_SRC]), in print_route()
395 format_host_rta(family, tb[RTA_SRC])); in print_route()
933 addattr_l(&req.n, sizeof(req), RTA_SRC, &addr.data, addr.bytelen); in iproute_modify()
1711 addattr_l(&req.n, sizeof(req), RTA_SRC, &addr.data, addr.bytelen); in iproute_get()
1829 tb[RTA_PREFSRC]->rta_type = RTA_SRC; in iproute_get()
1831 } else if (!tb[RTA_SRC]) { in iproute_get()
/external/syzkaller/sys/linux/
Dsocket_netlink_route.txt425 RTA_SRC nlattr[RTA_SRC, ipv4_addr]
509 FRA_SRC nlattr[RTA_SRC, ipv4_addr]
516 FRA_SRC nlattr[RTA_SRC, ipv6_addr]
Dsocket_netlink_route_ppc64le.const315 RTA_SRC = 2
Dsocket_netlink_route_386.const315 RTA_SRC = 2
Dsocket_netlink_route_arm64.const315 RTA_SRC = 2
Dsocket_netlink_route_amd64.const315 RTA_SRC = 2
Dsocket_netlink_route_arm.const315 RTA_SRC = 2
/external/toybox/toys/pending/
Dip.c1522 if (attr[RTA_SRC]) { in display_route_info()
1523 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_SRC]), in display_route_info()
1526 memcmp(RTA_DATA(attr[RTA_SRC]), &gfilter.rsrc.addr, gfilter.rsrc.len)) in display_route_info()
1529 memcmp(RTA_DATA(attr[RTA_SRC]), &gfilter.msrc.addr, gfilter.msrc.len)) in display_route_info()
1700 (!idx ? RTA_SRC : RTA_DST), addr, len); in route_get()
1741 attr[RTA_PREFSRC]->rta_type = RTA_SRC; in route_get()
1743 } else if (!attr[RTA_SRC]) error_exit("can't connect the route"); in route_get()
2114 (idx ? RTA_DST : RTA_SRC), addr, len); in ruleupdate()
2238 if (attr[RTA_SRC]) { in show_rules()
2240 ? inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_SRC]), in show_rules()
/external/strace/
Drtnl_route.c227 [RTA_SRC] = decode_route_addr,
/external/libnl/lib/route/
Droute_obj.c1059 if (tb[RTA_SRC]) { in rtnl_route_parse()
1060 if (!(src = nl_addr_alloc_attr(tb[RTA_SRC], family))) in rtnl_route_parse()
1222 NLA_PUT_ADDR(msg, RTA_SRC, route->rt_src); in rtnl_route_build_msg()
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dztypes_linux_sparc64.go448 RTA_SRC = 0x2 const
Dzerrors_solaris_amd64.go747 RTA_SRC = 0x100 const
Dztypes_linux_mips.go494 RTA_SRC = 0x2 const
Dztypes_linux_arm.go496 RTA_SRC = 0x2 const
Dztypes_linux_arm64.go498 RTA_SRC = 0x2 const
Dztypes_linux_ppc64.go499 RTA_SRC = 0x2 const
Dztypes_linux_ppc64le.go499 RTA_SRC = 0x2 const
Dztypes_linux_amd64.go497 RTA_SRC = 0x2 const
Dztypes_linux_mips64le.go498 RTA_SRC = 0x2 const
/external/libnl/include/linux-private/linux/
Drtnetlink.h271 RTA_SRC, enumerator
/external/iproute2/include/uapi/linux/
Drtnetlink.h305 RTA_SRC, enumerator
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h317 RTA_SRC, enumerator

12