Home
last modified time | relevance | path

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

/external/iproute2/ip/
Diproute.c243 if (tb[RTA_OIF]) in filter_nlmsg()
244 oif = *(int*)RTA_DATA(tb[RTA_OIF]); in filter_nlmsg()
385 if (tb[RTA_OIF] && filter.oifmask != -1) in print_route()
386 fprintf(fp, "dev %s ", ll_index_to_name(*(int*)RTA_DATA(tb[RTA_OIF]))); in print_route()
977 addattr32(&req.n, sizeof(req), RTA_OIF, idx); in iproute_modify()
1455 addattr32(&req.n, sizeof(req), RTA_OIF, idx); in iproute_get()
1496 if (!odev && tb[RTA_OIF]) in iproute_get()
1497 tb[RTA_OIF]->rta_type = 0; in iproute_get()
/external/dhcpcd/
Dif-linux.c271 case RTA_OIF: in link_route()
590 add_attr_32(&nlm->hdr, sizeof(*nlm), RTA_OIF, ifindex); in if_route()
/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.c1552 if (gfilter.odev != 0) if (!attr[RTA_OIF]) return 0; in display_route_info()
1553 if (attr[RTA_OIF]) { in display_route_info()
1554 if (gfilter.odev !=0 && gfilter.odev != *(int*)RTA_DATA(attr[RTA_OIF])) in display_route_info()
1557 if_indextoname(*(int*)RTA_DATA(attr[RTA_OIF]), toybuf)); in display_route_info()
1712 else odev = *argv, flag = RTA_OIF; in route_get()
1749 if (!odev && attr[RTA_OIF]) attr[RTA_OIF]->rta_type = 0; in route_get()
1998 RTA_OIF, (char*)&idx, sizeof(idx)); in route_update()
/external/libnl/include/linux/
Drtnetlink.h264 RTA_OIF, enumerator
/external/iproute2/include/linux/
Drtnetlink.h273 RTA_OIF, enumerator
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h286 RTA_OIF, enumerator