Searched refs:FIB_RES_NH (Results 1 – 4 of 4) sorted by relevance
159 #define FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel]) macro161 #define FIB_RES_NH(res) ((res).fi->fib_nh[0]) macro173 ((FIB_RES_NH(res).nh_saddr_genid == \175 FIB_RES_NH(res).nh_saddr : \176 fib_info_update_nh_saddr((net), &FIB_RES_NH(res)))177 #define FIB_RES_GW(res) (FIB_RES_NH(res).nh_gw)178 #define FIB_RES_DEV(res) (FIB_RES_NH(res).nh_dev)179 #define FIB_RES_OIF(res) (FIB_RES_NH(res).nh_oif)324 *itag = FIB_RES_NH(*res).nh_tclassid<<16; in fib_combine_itag()
65 return FIB_RES_NH(res).nh_scope <= RT_SCOPE_HOST; in rpfilter_lookup_reverse()
754 struct fib_nh *nh = &FIB_RES_NH(res); in __ip_do_redirect()982 struct fib_nh *nh = &FIB_RES_NH(res); in __ip_rt_update_pmtu()1399 struct fib_nh *nh = &FIB_RES_NH(*res); in rt_set_nexthop()1624 fnhe = find_exception(&FIB_RES_NH(*res), daddr); in __mkroute_input()1630 ip_del_fnhe(&FIB_RES_NH(*res), daddr); in __mkroute_input()1637 rth = rcu_dereference(FIB_RES_NH(*res).nh_rth_input); in __mkroute_input()1807 rth = rcu_dereference(FIB_RES_NH(res).nh_rth_input); in ip_route_input_slow()1844 if (unlikely(!rt_cache_route(&FIB_RES_NH(res), rth))) { in ip_route_input_slow()1985 struct fib_nh *nh = &FIB_RES_NH(*res); in __mkroute_output()
347 ret = FIB_RES_NH(res).nh_scope >= RT_SCOPE_HOST; in __fib_validate_source()359 ret = FIB_RES_NH(res).nh_scope >= RT_SCOPE_HOST; in __fib_validate_source()