Searched refs:FIB_RES_NH (Results 1 – 3 of 3) sorted by relevance
162 #define FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel]) macro164 #define FIB_RES_NH(res) ((res).fi->fib_nh[0]) macro176 ((FIB_RES_NH(res).nh_saddr_genid == \178 FIB_RES_NH(res).nh_saddr : \179 fib_info_update_nh_saddr((net), &FIB_RES_NH(res)))180 #define FIB_RES_GW(res) (FIB_RES_NH(res).nh_gw)181 #define FIB_RES_DEV(res) (FIB_RES_NH(res).nh_dev)182 #define FIB_RES_OIF(res) (FIB_RES_NH(res).nh_oif)346 *itag = FIB_RES_NH(*res).nh_tclassid<<16; in fib_combine_itag()
756 struct fib_nh *nh = &FIB_RES_NH(res); in __ip_do_redirect()987 struct fib_nh *nh = &FIB_RES_NH(res); in __ip_rt_update_pmtu()1404 struct fib_nh *nh = &FIB_RES_NH(*res); in rt_set_nexthop()1641 fnhe = find_exception(&FIB_RES_NH(*res), daddr); in __mkroute_input()1647 ip_del_fnhe(&FIB_RES_NH(*res), daddr); in __mkroute_input()1654 rth = rcu_dereference(FIB_RES_NH(*res).nh_rth_input); in __mkroute_input()1884 rth = rcu_dereference(FIB_RES_NH(res).nh_rth_input); in ip_route_input_slow()1914 if (unlikely(!rt_cache_route(&FIB_RES_NH(res), rth))) { in ip_route_input_slow()2066 struct fib_nh *nh = &FIB_RES_NH(*res); in __mkroute_output()
378 ret = FIB_RES_NH(res).nh_scope >= RT_SCOPE_HOST; in __fib_validate_source()390 ret = FIB_RES_NH(res).nh_scope >= RT_SCOPE_HOST; in __fib_validate_source()