Lines Matching defs:nh
100 const struct nexthop *nh) in nh_notifier_single_info_init()
180 const struct nexthop *nh) in nh_notifier_grp_info_init()
192 const struct nexthop *nh) in nh_notifier_grp_info_fini()
203 const struct nexthop *nh) in nh_notifier_info_init()
214 const struct nexthop *nh) in nh_notifier_info_fini()
224 struct nexthop *nh, in call_nexthop_notifiers()
257 struct nexthop *nh; in nh_notifier_res_bucket_idle_timer_get() local
389 static int call_nexthop_res_table_notifiers(struct net *net, struct nexthop *nh, in call_nexthop_res_table_notifiers()
425 struct nexthop *nh, in call_nexthop_notifier()
466 static void nexthop_free_group(struct nexthop *nh) in nexthop_free_group()
488 static void nexthop_free_single(struct nexthop *nh) in nexthop_free_single()
506 struct nexthop *nh = container_of(head, struct nexthop, rcu); in nexthop_free_rcu() local
519 struct nexthop *nh; in nexthop_alloc() local
579 struct nexthop *nh; in nexthop_find_by_id() local
692 static int nh_fill_node(struct sk_buff *skb, struct nexthop *nh, in nh_fill_node()
782 static size_t nh_nlmsg_size_grp(struct nexthop *nh) in nh_nlmsg_size_grp()
795 static size_t nh_nlmsg_size_single(struct nexthop *nh) in nh_nlmsg_size_single()
826 static size_t nh_nlmsg_size(struct nexthop *nh) in nh_nlmsg_size()
840 static void nexthop_notify(int event, struct nexthop *nh, struct nl_info *info) in nexthop_notify()
913 static int nh_fill_res_bucket(struct sk_buff *skb, struct nexthop *nh, in nh_fill_res_bucket()
965 struct nexthop *nh = nhge->nh_parent; in nexthop_bucket_notify() local
988 static bool valid_group_nh(struct nexthop *nh, unsigned int npaths, in valid_group_nh()
1020 static int nh_check_attr_fdb_group(struct nexthop *nh, u8 *nh_family, in nh_check_attr_fdb_group()
1083 struct nexthop *nh; in nh_check_attr_group() local
1121 static bool ipv6_good_nh(const struct fib6_nh *nh) in ipv6_good_nh()
1137 static bool ipv4_good_nh(const struct fib_nh *nh) in ipv4_good_nh()
1207 struct nexthop *nexthop_select_path(struct nexthop *nh, int hash) in nexthop_select_path()
1225 int nexthop_for_each_fib6_nh(struct nexthop *nh, in nexthop_for_each_fib6_nh()
1226 int (*cb)(struct fib6_nh *nh, void *arg), in nexthop_for_each_fib6_nh()
1266 int fib6_check_nexthop(struct nexthop *nh, struct fib6_config *cfg, in fib6_check_nexthop()
1347 int fib_check_nexthop(struct nexthop *nh, u8 scope, in fib_check_nexthop()
1738 struct nexthop *nh = nhge->nh; in remove_nh_grp_entry() local
1808 static void remove_nexthop_from_groups(struct net *net, struct nexthop *nh, in remove_nexthop_from_groups()
1820 static void remove_nexthop_group(struct nexthop *nh, struct nl_info *nlinfo) in remove_nexthop_group()
1842 static void __remove_nexthop_fib(struct net *net, struct nexthop *nh) in __remove_nexthop_fib()
1864 static void __remove_nexthop(struct net *net, struct nexthop *nh, in __remove_nexthop()
1882 static void remove_nexthop(struct net *net, struct nexthop *nh, in remove_nexthop()
1902 static void nh_rt_cache_flush(struct net *net, struct nexthop *nh, in nh_rt_cache_flush()
2181 static void __nexthop_replace_notify(struct net *net, struct nexthop *nh, in __nexthop_replace_notify()
2210 static void nexthop_replace_notify(struct net *net, struct nexthop *nh, in nexthop_replace_notify()
2294 struct nexthop *nh; in insert_nexthop() local
2399 struct nexthop *nh; in flush_all_nexthops() local
2415 struct nexthop *nh; in nexthop_create_group() local
2506 static int nh_create_ipv4(struct net *net, struct nexthop *nh, in nh_create_ipv4()
2545 static int nh_create_ipv6(struct net *net, struct nexthop *nh, in nh_create_ipv6()
2584 struct nexthop *nh; in nexthop_create() local
2640 struct nexthop *nh; in nexthop_add() local
2933 struct nexthop *nh; in rtm_new_nexthop() local
2996 struct nexthop *nh; in rtm_del_nexthop() local
3019 struct nexthop *nh; in rtm_get_nexthop() local
3061 static bool nh_dump_filtered(struct nexthop *nh, in nh_dump_filtered()
3168 struct nexthop *nh, void *data), in rtm_dump_walk_nexthops()
3177 struct nexthop *nh; in rtm_dump_walk_nexthops() local
3194 struct nexthop *nh, void *data) in rtm_dump_nexthop_cb()
3241 struct nexthop *nh; in nexthop_find_group_resilient() local
3319 struct rtm_dump_nh_ctx nh; member
3340 struct nexthop *nh, in rtm_dump_nexthop_bucket_nh()
3393 struct nexthop *nh, void *data) in rtm_dump_nexthop_bucket_cb()
3415 struct nexthop *nh; in rtm_dump_nexthop_bucket() local
3508 struct nexthop *nh; in rtm_get_nexthop_bucket() local
3603 struct nexthop *nh; in nexthops_dump() local