Searched refs:odev (Results 1 – 4 of 4) sorted by relevance
149 struct net_device *odev; in pg_setup_inject() local153 odev = __dev_get_by_name(pg_outdev); in pg_setup_inject()154 if (!odev) { in pg_setup_inject()159 if (odev->type != ARPHRD_ETHER) { in pg_setup_inject()164 if (!netif_running(odev)) { in pg_setup_inject()169 for(p1=6,p2=0; p1 < odev->addr_len+6;p1++) in pg_setup_inject()170 hh[p1]=odev->dev_addr[p2++]; in pg_setup_inject()173 if (odev->ip_ptr) { in pg_setup_inject()174 struct in_device *in_dev = odev->ip_ptr; in pg_setup_inject()179 atomic_inc(&odev->refcnt); in pg_setup_inject()[all …]
1355 char *odev = NULL; in iproute_get() local1406 odev = *argv; in iproute_get()1440 if (idev || odev) { in iproute_get()1450 if (odev) { in iproute_get()1451 if ((idx = ll_name_to_index(odev)) == 0) { in iproute_get()1452 fprintf(stderr, "Cannot find device \"%s\"\n", odev); in iproute_get()1496 if (!odev && tb[RTA_OIF]) in iproute_get()
1450 int tb,idev,odev,proto; member1552 if (gfilter.odev != 0) if (!attr[RTA_OIF]) return 0; in display_route_info()1554 if (gfilter.odev !=0 && gfilter.odev != *(int*)RTA_DATA(attr[RTA_OIF])) in display_route_info()1675 char *idev = NULL, *odev = NULL; in route_get() local1712 else odev = *argv, flag = RTA_OIF; in route_get()1749 if (!odev && attr[RTA_OIF]) attr[RTA_OIF]->rta_type = 0; in route_get()1795 else gfilter.odev = dev; in route_show_flush()
47 <term><option>odev <replaceable/DEVICE/</option></term>