Lines Matching defs:nhc
181 struct fib_nh_common *nhc;
208 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc,
212 #define FIB_RES_NHC(res) ((res).nhc)
482 static inline bool nhc_l3mdev_matches_dev(const struct fib_nh_common *nhc,
485 if (nhc->nhc_dev == dev ||
486 l3mdev_master_ifindex_rcu(nhc->nhc_dev) == dev->ifindex)
498 void fib_nhc_update_mtu(struct fib_nh_common *nhc, u32 new, u32 orig);
586 int fib_nh_common_init(struct net *net, struct fib_nh_common *nhc,
590 void fib_nh_common_release(struct fib_nh_common *nhc);
596 bool fib_lookup_good_nhc(const struct fib_nh_common *nhc, int fib_flags,
602 struct fib_nh_common *nhc = res->nhc;
606 if (nhc->nhc_family == AF_INET) {
609 nh = container_of(nhc, struct fib_nh, nh_common);