Home
last modified time | relevance | path

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

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