Lines Matching refs:nhc
172 struct fib_nh_common *nhc; member
199 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc,
203 #define FIB_RES_NHC(res) ((res).nhc)
450 static inline bool nhc_l3mdev_matches_dev(const struct fib_nh_common *nhc, in nhc_l3mdev_matches_dev() argument
453 if (nhc->nhc_dev == dev || in nhc_l3mdev_matches_dev()
454 l3mdev_master_ifindex_rcu(nhc->nhc_dev) == dev->ifindex) in nhc_l3mdev_matches_dev()
466 void fib_nhc_update_mtu(struct fib_nh_common *nhc, u32 new, u32 orig);
482 int fib_nh_common_init(struct net *net, struct fib_nh_common *nhc,
486 void fib_nh_common_release(struct fib_nh_common *nhc);
492 bool fib_lookup_good_nhc(const struct fib_nh_common *nhc, int fib_flags,
498 struct fib_nh_common *nhc = res->nhc; in fib_combine_itag() local
502 if (nhc->nhc_family == AF_INET) { in fib_combine_itag()
505 nh = container_of(nhc, struct fib_nh, nh_common); in fib_combine_itag()