Lines Matching refs:nh_dev
149 if (nexthop_nh->nh_dev)
150 dev_put(nexthop_nh->nh_dev);
151 nexthop_nh->nh_dev = NULL;
166 if (!nexthop_nh->nh_dev)
265 if (nh->nh_dev == dev &&
543 nh->nh_dev = dev;
570 if ((nh->nh_dev = FIB_RES_DEV(res)) == NULL)
572 dev_hold(nh->nh_dev);
574 if (!(nh->nh_dev->flags & IFF_UP))
593 nh->nh_dev = in_dev->dev;
594 dev_hold(nh->nh_dev);
803 nh->nh_dev = dev_get_by_index(net, fi->fib_nh->nh_oif);
805 if (nh->nh_dev == NULL)
844 if (!nexthop_nh->nh_dev)
846 hash = fib_devindex_hashfn(nexthop_nh->nh_dev->ifindex);
1076 if (nh->nh_dev != dev || fi == prev_fi)
1083 else if (nexthop_nh->nh_dev == dev &&
1095 if (force > 1 && nexthop_nh->nh_dev == dev) {
1139 if (nh->nh_dev != dev || fi == prev_fi)
1149 if (nexthop_nh->nh_dev == NULL ||
1150 !(nexthop_nh->nh_dev->flags&IFF_UP))
1152 if (nexthop_nh->nh_dev != dev ||