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

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

Completed in 185 milliseconds