Searched refs:nh_info (Results 1 – 2 of 2) sorted by relevance
60 struct nh_info { struct164 struct nh_info __rcu *nh_info; member291 const struct nh_info *nhi; in nexthop_is_fdb()293 nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_is_fdb()358 struct nh_info *nhi = rcu_dereference_rtnl(nhe->nh_info); in nexthop_mpath_fill_node()372 const struct nh_info *nhi; in nexthop_is_blackhole()384 nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_is_blackhole()390 struct nh_info *nhi; in nexthop_path_fib_result()394 nhi = rcu_dereference(nh->nh_info); in nexthop_path_fib_result()402 struct nh_info *nhi; in nexthop_fib_nhc()[all …]
98 __nh_notifier_single_info_init(struct nh_notifier_single_info *nh_info, in __nh_notifier_single_info_init() argument99 const struct nh_info *nhi) in __nh_notifier_single_info_init()101 nh_info->dev = nhi->fib_nhc.nhc_dev; in __nh_notifier_single_info_init()102 nh_info->gw_family = nhi->fib_nhc.nhc_gw_family; in __nh_notifier_single_info_init()103 if (nh_info->gw_family == AF_INET) in __nh_notifier_single_info_init()104 nh_info->ipv4 = nhi->fib_nhc.nhc_gw.ipv4; in __nh_notifier_single_info_init()105 else if (nh_info->gw_family == AF_INET6) in __nh_notifier_single_info_init()106 nh_info->ipv6 = nhi->fib_nhc.nhc_gw.ipv6; in __nh_notifier_single_info_init()108 nh_info->id = nhi->nh_parent->id; in __nh_notifier_single_info_init()109 nh_info->is_reject = nhi->reject_nh; in __nh_notifier_single_info_init()[all …]