Searched refs:nh_dev (Results 1 – 4 of 4) sorted by relevance
87 if (nh->nh_dev) in dn_fib_free_info()88 dev_put(nh->nh_dev); in dn_fib_free_info()89 nh->nh_dev = NULL; in dn_fib_free_info()210 nh->nh_dev = dev; in dn_fib_check_nh()229 nh->nh_dev = DN_FIB_RES_DEV(res); in dn_fib_check_nh()230 if (nh->nh_dev) in dn_fib_check_nh()231 atomic_inc(&nh->nh_dev->refcnt); in dn_fib_check_nh()244 nh->nh_dev = dev; in dn_fib_check_nh()245 atomic_inc(&nh->nh_dev->refcnt); in dn_fib_check_nh()319 nh->nh_dev = dev_get_by_index(fi->fib_nh->nh_oif); in dn_fib_create_info()[all …]
115 if (nh->nh_dev) in free_fib_info()116 dev_put(nh->nh_dev); in free_fib_info()117 nh->nh_dev = NULL; in free_fib_info()187 if (nh->nh_dev == dev && nh->nh_gw == gw && in ip_fib_check_default()370 nh->nh_dev = dev; in fib_check_nh()390 if ((nh->nh_dev = FIB_RES_DEV(res)) == NULL) in fib_check_nh()392 dev_hold(nh->nh_dev); in fib_check_nh()394 if (!(nh->nh_dev->flags & IFF_UP)) in fib_check_nh()413 nh->nh_dev = in_dev->dev; in fib_check_nh()414 dev_hold(nh->nh_dev); in fib_check_nh()[all …]
45 struct net_device *nh_dev; member67 #define fib_dev fib_nh[0].nh_dev74 #define DN_FIB_RES_DEV(res) (DN_FIB_RES_NH(res).nh_dev)
39 struct net_device *nh_dev; member78 #define fib_dev fib_nh[0].nh_dev113 #define FIB_RES_DEV(res) (FIB_RES_NH(res).nh_dev)