Lines Matching refs:nhc
176 struct fib_nh_common *nhc;
203 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc,
207 #define FIB_RES_NHC(res) ((res).nhc)
459 static inline bool nhc_l3mdev_matches_dev(const struct fib_nh_common *nhc,
462 if (nhc->nhc_dev == dev ||
463 l3mdev_master_ifindex_rcu(nhc->nhc_dev) == dev->ifindex)
475 void fib_nhc_update_mtu(struct fib_nh_common *nhc, u32 new, u32 orig);
534 int fib_nh_common_init(struct net *net, struct fib_nh_common *nhc,
538 void fib_nh_common_release(struct fib_nh_common *nhc);
544 bool fib_lookup_good_nhc(const struct fib_nh_common *nhc, int fib_flags,
550 struct fib_nh_common *nhc = res->nhc;
554 if (nhc->nhc_family == AF_INET) {
557 nh = container_of(nhc, struct fib_nh, nh_common);