Home
last modified time | relevance | path

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

/external/iproute2/ip/
Dipmroute.c100 if (tb[RTA_DST] && filter.mdst.bitlen > 0) { in print_mroute()
105 memcpy(&dst.data, RTA_DATA(tb[RTA_DST]), RTA_PAYLOAD(tb[RTA_DST])); in print_mroute()
133 if (tb[RTA_DST]) in print_mroute()
136 RTA_PAYLOAD(tb[RTA_DST]), in print_mroute()
137 RTA_DATA(tb[RTA_DST]), in print_mroute()
Diproute.c213 if (tb[RTA_DST]) in filter_nlmsg()
214 memcpy(&dst.data, RTA_DATA(tb[RTA_DST]), (r->rtm_dst_len+7)/8); in filter_nlmsg()
363 if (tb[RTA_DST]) { in print_route()
366 RTA_PAYLOAD(tb[RTA_DST]), in print_route()
367 RTA_DATA(tb[RTA_DST]), in print_route()
373 RTA_PAYLOAD(tb[RTA_DST]), in print_route()
374 RTA_DATA(tb[RTA_DST]), in print_route()
1160 addattr_l(&req.n, sizeof(req), RTA_DST, &dst.data, dst.bytelen); in iproute_modify()
1656 addattr_l(&req.n, sizeof(req), RTA_DST, &addr.data, addr.bytelen); in iproute_get()
/external/libnl/src/
Dnl-route-get.c69 nla_put_addr(m, RTA_DST, dst); in main()
/external/libnl/lib/route/
Drule.c123 if (tb[RTA_DST]) { in rule_msg_parser()
124 if (!(rule->r_dst = nl_addr_alloc_attr(tb[RTA_DST], family))) in rule_msg_parser()
426 NLA_PUT_ADDR(msg, RTA_DST, tmpl->r_dst); in build_rule_msg()
Droute_obj.c946 if (tb[RTA_DST]) { in rtnl_route_parse()
947 if (!(dst = nl_addr_alloc_attr(tb[RTA_DST], family))) in rtnl_route_parse()
1112 NLA_PUT_ADDR(msg, RTA_DST, route->rt_dst); in rtnl_route_build_msg()
/external/dhcpcd-6.8.2/
Dif-bsd.c498 if (~rtm->rtm_addrs & (RTA_DST | RTA_GATEWAY)) in if_copyrt()
586 rtm.hdr.rtm_addrs = RTA_DST; in if_route()
844 if (~rtm->rtm_addrs & (RTA_DST | RTA_GATEWAY)) in if_copyrt6()
978 rtm.hdr.rtm_addrs = RTA_DST | RTA_NETMASK; in if_route6()
1235 if (~rtm->rtm_addrs & (RTA_DST | RTA_GATEWAY)) in if_managelink()
Dif-linux.c422 case RTA_DST: in if_copyrt()
487 case RTA_DST: in if_copyrt6()
1367 add_attr_l(&nlm.hdr, sizeof(nlm), RTA_DST, in if_route()
1562 add_attr_l(&nlm.hdr, sizeof(nlm), RTA_DST, in if_route6()
/external/toybox/toys/pending/
Dip.c1508 if (attr[RTA_DST]) { in display_route_info()
1509 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_DST]), in display_route_info()
1512 memcmp(RTA_DATA(attr[RTA_DST]), &gfilter.rdst.addr, gfilter.rdst.len)) in display_route_info()
1515 memcmp(RTA_DATA(attr[RTA_DST]), &gfilter.mdst.addr, gfilter.mdst.len)) in display_route_info()
1700 (!idx ? RTA_SRC : RTA_DST), addr, len); in route_get()
1987 if (len) add_string_to_rtattr(&req.hdr, sizeof(req),RTA_DST, addr, len); in route_update()
2114 (idx ? RTA_DST : RTA_SRC), addr, len); in ruleupdate()
2247 if (attr[RTA_DST]) { in show_rules()
2249 ? inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_DST]), in show_rules()
/external/avahi/avahi-autoipd/
Diface-bsd.c399 SKIPRTA(ifam, RTA_DST, sa); in rtm_dispatch_newdeladdr()
/external/libnl/include/linux/
Drtnetlink.h261 RTA_DST, enumerator
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h292 RTA_DST, enumerator
/external/iproute2/include/linux/
Drtnetlink.h292 RTA_DST, enumerator