Lines Matching refs:fib_nh

70 	int nhsel; const struct fib_nh *nh;				\
71 for (nhsel = 0, nh = (fi)->fib_nh; \
76 int nhsel; struct fib_nh *nexthop_nh; \
77 for (nhsel = 0, nexthop_nh = (struct fib_nh *)((fi)->fib_nh); \
86 int nhsel; const struct fib_nh *nh = (fi)->fib_nh; \
91 struct fib_nh *nexthop_nh = (struct fib_nh *)((fi)->fib_nh); \
223 void fib_nh_release(struct net *net, struct fib_nh *fib_nh) in fib_nh_release() argument
226 if (fib_nh->nh_tclassid) in fib_nh_release()
229 fib_nh_common_release(&fib_nh->nh_common); in fib_nh_release()
290 const struct fib_nh *onh; in nh_comp()
445 struct fib_nh *nh; in ip_fib_check_default()
622 int fib_nh_init(struct net *net, struct fib_nh *nh, in fib_nh_init()
697 struct fib_nh *nh; in fib_get_nhs()
857 const struct fib_nh *nh, in fib_encap_match()
901 struct fib_nh *nh; in fib_nh_match()
1051 static int fib_check_nh_v6_gw(struct net *net, struct fib_nh *nh, in fib_check_nh_v6_gw()
1120 static int fib_check_nh_v4_gw(struct net *net, struct fib_nh *nh, u32 table, in fib_check_nh_v4_gw()
1214 static int fib_check_nh_nongw(struct net *net, struct fib_nh *nh, in fib_check_nh_nongw()
1249 int fib_check_nh(struct net *net, struct fib_nh *nh, u32 table, u8 scope, in fib_check_nh()
1327 struct fib_nh *nh; in fib_info_update_nhc_saddr()
1333 nh = container_of(nhc, struct fib_nh, nh_common); in fib_info_update_nhc_saddr()
1350 struct fib_nh *nh; in fib_result_prefsrc()
1352 nh = container_of(nhc, struct fib_nh, nh_common); in fib_result_prefsrc()
1459 fi = kzalloc(struct_size(fi, fib_nh, nhs), GFP_KERNEL); in fib_create_info()
1497 err = fib_nh_init(net, fi->fib_nh, cfg, 1, extack); in fib_create_info()
1534 struct fib_nh *nh = fi->fib_nh; in fib_create_info()
1841 struct fib_nh *nh; in fib_dump_info()
1843 nh = container_of(nhc, struct fib_nh, nh_common); in fib_dump_info()
1901 static int call_fib_nh_notifiers(struct fib_nh *nh, in call_fib_nh_notifiers()
1906 .fib_nh = nh, in call_fib_nh_notifiers()
1971 struct fib_nh *nh; in fib_sync_mtu()
1992 struct fib_nh *nh; in fib_sync_down_dev()
2140 struct fib_nh *nh; in fib_sync_up()
2195 static bool fib_good_nh(const struct fib_nh *nh) in fib_good_nh()