Lines Matching defs:nh

114 					const struct nexthop *nh)  in nh_notifier_single_info_init()
195 const struct nexthop *nh) in nh_notifier_grp_info_init()
207 const struct nexthop *nh) in nh_notifier_grp_info_fini()
218 const struct nexthop *nh) in nh_notifier_info_init()
229 const struct nexthop *nh) in nh_notifier_info_fini()
239 struct nexthop *nh, in call_nexthop_notifiers()
272 struct nexthop *nh; in nh_notifier_res_bucket_idle_timer_get() local
404 static int call_nexthop_res_table_notifiers(struct net *net, struct nexthop *nh, in call_nexthop_res_table_notifiers()
441 struct nexthop *nh, in call_nexthop_notifier()
482 static void nexthop_free_group(struct nexthop *nh) in nexthop_free_group()
505 static void nexthop_free_single(struct nexthop *nh) in nexthop_free_single()
523 struct nexthop *nh = container_of(head, struct nexthop, rcu); in nexthop_free_rcu() local
536 struct nexthop *nh; in nexthop_alloc() local
596 struct nexthop *nh; in nexthop_find_by_id() local
707 const struct nexthop *nh) in nh_notifier_grp_hw_stats_init()
747 static void nh_grp_hw_stats_apply_update(struct nexthop *nh, in nh_grp_hw_stats_apply_update()
763 static int nh_grp_hw_stats_update(struct nexthop *nh, bool *hw_stats_used) in nh_grp_hw_stats_update()
825 static int nla_put_nh_group_stats(struct sk_buff *skb, struct nexthop *nh, in nla_put_nh_group_stats()
867 static int nla_put_nh_group(struct sk_buff *skb, struct nexthop *nh, in nla_put_nh_group()
917 static int nh_fill_node(struct sk_buff *skb, struct nexthop *nh, in nh_fill_node()
1010 static size_t nh_nlmsg_size_grp(struct nexthop *nh) in nh_nlmsg_size_grp()
1023 static size_t nh_nlmsg_size_single(struct nexthop *nh) in nh_nlmsg_size_single()
1054 static size_t nh_nlmsg_size(struct nexthop *nh) in nh_nlmsg_size()
1070 static void nexthop_notify(int event, struct nexthop *nh, struct nl_info *info) in nexthop_notify()
1142 static int nh_fill_res_bucket(struct sk_buff *skb, struct nexthop *nh, in nh_fill_res_bucket()
1194 struct nexthop *nh = nhge->nh_parent; in nexthop_bucket_notify() local
1216 static bool valid_group_nh(struct nexthop *nh, unsigned int npaths, in valid_group_nh()
1248 static int nh_check_attr_fdb_group(struct nexthop *nh, u8 *nh_family, in nh_check_attr_fdb_group()
1314 struct nexthop *nh; in nh_check_attr_group() local
1353 static bool ipv6_good_nh(const struct fib6_nh *nh) in ipv6_good_nh()
1369 static bool ipv4_good_nh(const struct fib_nh *nh) in ipv4_good_nh()
1386 static bool nexthop_is_good_nh(const struct nexthop *nh) in nexthop_is_good_nh()
1468 struct nexthop *nexthop_select_path(struct nexthop *nh, int hash) in nexthop_select_path()
1486 int nexthop_for_each_fib6_nh(struct nexthop *nh, in nexthop_for_each_fib6_nh()
1487 int (*cb)(struct fib6_nh *nh, void *arg), in nexthop_for_each_fib6_nh()
1527 int fib6_check_nexthop(struct nexthop *nh, struct fib6_config *cfg, in fib6_check_nexthop()
1608 int fib_check_nexthop(struct nexthop *nh, u8 scope, in fib_check_nexthop()
2000 struct nexthop *nh = nhge->nh; in remove_nh_grp_entry() local
2072 static void remove_nexthop_from_groups(struct net *net, struct nexthop *nh, in remove_nexthop_from_groups()
2084 static void remove_nexthop_group(struct nexthop *nh, struct nl_info *nlinfo) in remove_nexthop_group()
2106 static void __remove_nexthop_fib(struct net *net, struct nexthop *nh) in __remove_nexthop_fib()
2128 static void __remove_nexthop(struct net *net, struct nexthop *nh, in __remove_nexthop()
2146 static void remove_nexthop(struct net *net, struct nexthop *nh, in remove_nexthop()
2166 static void nh_rt_cache_flush(struct net *net, struct nexthop *nh, in nh_rt_cache_flush()
2443 static void __nexthop_replace_notify(struct net *net, struct nexthop *nh, in __nexthop_replace_notify()
2472 static void nexthop_replace_notify(struct net *net, struct nexthop *nh, in nexthop_replace_notify()
2556 struct nexthop *nh; in insert_nexthop() local
2662 struct nexthop *nh; in flush_all_nexthops() local
2678 struct nexthop *nh; in nexthop_create_group() local
2781 static int nh_create_ipv4(struct net *net, struct nexthop *nh, in nh_create_ipv4()
2820 static int nh_create_ipv6(struct net *net, struct nexthop *nh, in nh_create_ipv6()
2859 struct nexthop *nh; in nexthop_create() local
2915 struct nexthop *nh; in nexthop_add() local
3215 struct nexthop *nh; in rtm_new_nexthop() local
3267 struct nexthop *nh; in rtm_del_nexthop() local
3297 struct nexthop *nh; in rtm_get_nexthop() local
3347 static bool nh_dump_filtered(struct nexthop *nh, in nh_dump_filtered()
3456 struct nexthop *nh, void *data), in rtm_dump_walk_nexthops()
3465 struct nexthop *nh; in rtm_dump_walk_nexthops() local
3481 struct nexthop *nh, void *data) in rtm_dump_nexthop_cb()
3520 struct nexthop *nh; in nexthop_find_group_resilient() local
3598 struct rtm_dump_nh_ctx nh; member
3618 struct nexthop *nh, in rtm_dump_nexthop_bucket_nh()
3661 struct nexthop *nh, void *data) in rtm_dump_nexthop_bucket_cb()
3683 struct nexthop *nh; in rtm_dump_nexthop_bucket() local
3767 struct nexthop *nh; in rtm_get_nexthop_bucket() local
3862 struct nexthop *nh; in nexthops_dump() local