Searched refs:fib_nhc (Results 1 – 2 of 2) sorted by relevance
66 struct fib_nh_common fib_nhc; member325 struct fib_nh_common *nhc = &nhi->fib_nhc; in nexthop_mpath_fill_node()361 res->nhc = &nhi->fib_nhc; in nexthop_path_fib_result()385 return &nhi->fib_nhc; in nexthop_fib_nhc()405 if (fib_lookup_good_nhc(&nhi->fib_nhc, fib_flags, flp)) { in nexthop_get_nhc_lookup()407 return &nhi->fib_nhc; in nexthop_get_nhc_lookup()412 if (fib_lookup_good_nhc(&nhi->fib_nhc, fib_flags, flp)) { in nexthop_get_nhc_lookup()414 return &nhi->fib_nhc; in nexthop_get_nhc_lookup()434 if (nhc_l3mdev_matches_dev(&nhi->fib_nhc, dev)) in nexthop_uses_dev()439 if (nhc_l3mdev_matches_dev(&nhi->fib_nhc, dev)) in nexthop_uses_dev()[all …]
88 nh_info->dev = nhi->fib_nhc.nhc_dev; in __nh_notifier_single_info_init()89 nh_info->gw_family = nhi->fib_nhc.nhc_gw_family; in __nh_notifier_single_info_init()91 nh_info->ipv4 = nhi->fib_nhc.nhc_gw.ipv4; in __nh_notifier_single_info_init()93 nh_info->ipv6 = nhi->fib_nhc.nhc_gw.ipv6; in __nh_notifier_single_info_init()97 nh_info->has_encap = !!nhi->fib_nhc.nhc_lwtstate; in __nh_notifier_single_info_init()456 struct net_device *dev = nhi->fib_nhc.nhc_dev; in nexthop_devhash_add()738 dev = nhi->fib_nhc.nhc_dev; in nh_fill_node()743 nhm->nh_scope = nhi->fib_nhc.nhc_scope; in nh_fill_node()760 if (nhi->fib_nhc.nhc_lwtstate && in nh_fill_node()761 lwtunnel_fill_encap(skb, nhi->fib_nhc.nhc_lwtstate, in nh_fill_node()[all …]