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

/external/dhcpcd-6.8.2/
H A Dif-linux.c434 case RTA_OIF:
450 * loopback interface in RTA_OIF? Lets find it by
495 case RTA_OIF:
1380 add_attr_32(&nlm.hdr, sizeof(nlm), RTA_OIF, rt->iface->index);
1415 add_attr_32(&nlm.hdr, sizeof(nlm), RTA_OIF, ifp->index);
1570 add_attr_32(&nlm.hdr, sizeof(nlm), RTA_OIF, rt->iface->index);
1617 add_attr_32(&nlm.hdr, sizeof(nlm), RTA_OIF, ifp->index);
/external/iproute2/ip/
H A Diproute.c272 if (tb[RTA_OIF])
273 oif = *(int*)RTA_DATA(tb[RTA_OIF]);
432 if (tb[RTA_OIF] && filter.oifmask != -1)
433 fprintf(fp, "dev %s ", ll_index_to_name(*(int*)RTA_DATA(tb[RTA_OIF])));
1176 addattr32(&req.n, sizeof(req), RTA_OIF, idx);
1682 addattr32(&req.n, sizeof(req), RTA_OIF, idx);
1725 if (!odev && tb[RTA_OIF])
1726 tb[RTA_OIF]->rta_type = 0;
/external/libnl/include/linux/
H A Drtnetlink.h264 RTA_OIF, enumerator in enum:rtattr_type_t
/external/libnl/lib/route/
H A Droute_obj.c842 [RTA_OIF] = { .type = NLA_U32 },
1015 if (tb[RTA_OIF]) {
1019 rtnl_route_nh_set_ifindex(old_nh, nla_get_u32(tb[RTA_OIF]));
/external/iproute2/include/linux/
H A Drtnetlink.h295 RTA_OIF, enumerator in enum:rtattr_type_t
/external/kernel-headers/original/uapi/linux/
H A Drtnetlink.h295 RTA_OIF, enumerator in enum:rtattr_type_t
/external/toybox/toys/pending/
H A Dip.c1548 if (gfilter.odev != 0) if (!attr[RTA_OIF]) return 0;
1549 if (attr[RTA_OIF]) {
1550 if (gfilter.odev !=0 && gfilter.odev != *(int*)RTA_DATA(attr[RTA_OIF]))
1553 if_indextoname(*(int*)RTA_DATA(attr[RTA_OIF]), toybuf));
1708 else odev = *argv, flag = RTA_OIF;
1745 if (!odev && attr[RTA_OIF]) attr[RTA_OIF]->rta_type = 0;
1994 RTA_OIF, (char*)&idx, sizeof(idx));

Completed in 643 milliseconds