Searched refs:FIB_RES_NH (Results 1 – 3 of 3) sorted by relevance
165 #define FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel]) macro167 #define FIB_RES_NH(res) ((res).fi->fib_nh[0]) macro179 ((FIB_RES_NH(res).nh_saddr_genid == \181 FIB_RES_NH(res).nh_saddr : \182 fib_info_update_nh_saddr((net), &FIB_RES_NH(res)))183 #define FIB_RES_GW(res) (FIB_RES_NH(res).nh_gw)184 #define FIB_RES_DEV(res) (FIB_RES_NH(res).nh_dev)185 #define FIB_RES_OIF(res) (FIB_RES_NH(res).nh_oif)417 *itag = FIB_RES_NH(*res).nh_tclassid<<16; in fib_combine_itag()
779 struct fib_nh *nh = &FIB_RES_NH(res); in __ip_do_redirect()1025 struct fib_nh *nh = &FIB_RES_NH(res); in __ip_rt_update_pmtu()1531 struct fib_nh *nh = &FIB_RES_NH(*res); in rt_set_nexthop()1748 fnhe = find_exception(&FIB_RES_NH(*res), daddr); in __mkroute_input()1753 rth = rcu_dereference(FIB_RES_NH(*res).nh_rth_input); in __mkroute_input()2043 rth = rcu_dereference(FIB_RES_NH(*res).nh_rth_input); in ip_route_input_slow()2073 struct fib_nh *nh = &FIB_RES_NH(*res); in ip_route_input_slow()2253 struct fib_nh *nh = &FIB_RES_NH(*res); in __mkroute_output()
383 ret = FIB_RES_NH(res).nh_scope >= RT_SCOPE_HOST; in __fib_validate_source()395 ret = FIB_RES_NH(res).nh_scope >= RT_SCOPE_HOST; in __fib_validate_source()