Searched refs:RTA_SRC (Results 1 - 7 of 7) sorted by relevance

/external/iproute2/ip/
H A Dipmroute.c110 if (tb[RTA_SRC] && filter.msrc.bitlen > 0) {
115 memcpy(&src.data, RTA_DATA(tb[RTA_SRC]), RTA_PAYLOAD(tb[RTA_SRC]));
125 if (tb[RTA_SRC])
128 RTA_PAYLOAD(tb[RTA_SRC]),
129 RTA_DATA(tb[RTA_SRC]),
H A Diproute.c218 if (tb[RTA_SRC])
219 memcpy(&src.data, RTA_DATA(tb[RTA_SRC]), (r->rtm_src_len+7)/8);
383 if (tb[RTA_SRC]) {
386 RTA_PAYLOAD(tb[RTA_SRC]),
387 RTA_DATA(tb[RTA_SRC]),
393 RTA_PAYLOAD(tb[RTA_SRC]),
394 RTA_DATA(tb[RTA_SRC]),
898 addattr_l(&req.n, sizeof(req), RTA_SRC, &addr.data, addr.bytelen);
1625 addattr_l(&req.n, sizeof(req), RTA_SRC, &addr.data, addr.bytelen);
1722 tb[RTA_PREFSRC]->rta_type = RTA_SRC;
[all...]
/external/libnl/include/linux-private/linux/
H A Drtnetlink.h271 RTA_SRC, enumerator in enum:rtattr_type_t
/external/toybox/toys/pending/
H A Dip.c1522 if (attr[RTA_SRC]) {
1523 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_SRC]),
1526 memcmp(RTA_DATA(attr[RTA_SRC]), &gfilter.rsrc.addr, gfilter.rsrc.len))
1529 memcmp(RTA_DATA(attr[RTA_SRC]), &gfilter.msrc.addr, gfilter.msrc.len))
1700 (!idx ? RTA_SRC : RTA_DST), addr, len);
1741 attr[RTA_PREFSRC]->rta_type = RTA_SRC;
1743 } else if (!attr[RTA_SRC]) error_exit("can't connect the route");
2114 (idx ? RTA_DST : RTA_SRC), addr, len);
2238 if (attr[RTA_SRC]) {
2240 ? inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_SRC]),
[all...]
/external/libnl/lib/route/
H A Droute_obj.c1059 if (tb[RTA_SRC]) {
1060 if (!(src = nl_addr_alloc_attr(tb[RTA_SRC], family)))
1222 NLA_PUT_ADDR(msg, RTA_SRC, route->rt_src);
/external/iproute2/include/linux/
H A Drtnetlink.h293 RTA_SRC, enumerator in enum:rtattr_type_t
/external/kernel-headers/original/uapi/linux/
H A Drtnetlink.h298 RTA_SRC, enumerator in enum:rtattr_type_t

Completed in 464 milliseconds