Lines Matching defs:nh

101 					const struct nexthop *nh)  in nh_notifier_single_info_init()
181 const struct nexthop *nh) in nh_notifier_grp_info_init()
193 const struct nexthop *nh) in nh_notifier_grp_info_fini()
204 const struct nexthop *nh) in nh_notifier_info_init()
215 const struct nexthop *nh) in nh_notifier_info_fini()
225 struct nexthop *nh, in call_nexthop_notifiers()
258 struct nexthop *nh; in nh_notifier_res_bucket_idle_timer_get() local
390 static int call_nexthop_res_table_notifiers(struct net *net, struct nexthop *nh, in call_nexthop_res_table_notifiers()
426 struct nexthop *nh, in call_nexthop_notifier()
467 static void nexthop_free_group(struct nexthop *nh) in nexthop_free_group()
489 static void nexthop_free_single(struct nexthop *nh) in nexthop_free_single()
507 struct nexthop *nh = container_of(head, struct nexthop, rcu); in nexthop_free_rcu() local
520 struct nexthop *nh; in nexthop_alloc() local
580 struct nexthop *nh; in nexthop_find_by_id() local
693 static int nh_fill_node(struct sk_buff *skb, struct nexthop *nh, in nh_fill_node()
783 static size_t nh_nlmsg_size_grp(struct nexthop *nh) in nh_nlmsg_size_grp()
796 static size_t nh_nlmsg_size_single(struct nexthop *nh) in nh_nlmsg_size_single()
827 static size_t nh_nlmsg_size(struct nexthop *nh) in nh_nlmsg_size()
841 static void nexthop_notify(int event, struct nexthop *nh, struct nl_info *info) in nexthop_notify()
914 static int nh_fill_res_bucket(struct sk_buff *skb, struct nexthop *nh, in nh_fill_res_bucket()
966 struct nexthop *nh = nhge->nh_parent; in nexthop_bucket_notify() local
989 static bool valid_group_nh(struct nexthop *nh, unsigned int npaths, in valid_group_nh()
1021 static int nh_check_attr_fdb_group(struct nexthop *nh, u8 *nh_family, in nh_check_attr_fdb_group()
1084 struct nexthop *nh; in nh_check_attr_group() local
1122 static bool ipv6_good_nh(const struct fib6_nh *nh) in ipv6_good_nh()
1138 static bool ipv4_good_nh(const struct fib_nh *nh) in ipv4_good_nh()
1155 static bool nexthop_is_good_nh(const struct nexthop *nh) in nexthop_is_good_nh()
1231 struct nexthop *nexthop_select_path(struct nexthop *nh, int hash) in nexthop_select_path()
1249 int nexthop_for_each_fib6_nh(struct nexthop *nh, in nexthop_for_each_fib6_nh()
1250 int (*cb)(struct fib6_nh *nh, void *arg), in nexthop_for_each_fib6_nh()
1290 int fib6_check_nexthop(struct nexthop *nh, struct fib6_config *cfg, in fib6_check_nexthop()
1371 int fib_check_nexthop(struct nexthop *nh, u8 scope, in fib_check_nexthop()
1762 struct nexthop *nh = nhge->nh; in remove_nh_grp_entry() local
1832 static void remove_nexthop_from_groups(struct net *net, struct nexthop *nh, in remove_nexthop_from_groups()
1844 static void remove_nexthop_group(struct nexthop *nh, struct nl_info *nlinfo) in remove_nexthop_group()
1866 static void __remove_nexthop_fib(struct net *net, struct nexthop *nh) in __remove_nexthop_fib()
1888 static void __remove_nexthop(struct net *net, struct nexthop *nh, in __remove_nexthop()
1906 static void remove_nexthop(struct net *net, struct nexthop *nh, in remove_nexthop()
1926 static void nh_rt_cache_flush(struct net *net, struct nexthop *nh, in nh_rt_cache_flush()
2203 static void __nexthop_replace_notify(struct net *net, struct nexthop *nh, in __nexthop_replace_notify()
2232 static void nexthop_replace_notify(struct net *net, struct nexthop *nh, in nexthop_replace_notify()
2316 struct nexthop *nh; in insert_nexthop() local
2422 struct nexthop *nh; in flush_all_nexthops() local
2438 struct nexthop *nh; in nexthop_create_group() local
2529 static int nh_create_ipv4(struct net *net, struct nexthop *nh, in nh_create_ipv4()
2568 static int nh_create_ipv6(struct net *net, struct nexthop *nh, in nh_create_ipv6()
2607 struct nexthop *nh; in nexthop_create() local
2663 struct nexthop *nh; in nexthop_add() local
2956 struct nexthop *nh; in rtm_new_nexthop() local
3019 struct nexthop *nh; in rtm_del_nexthop() local
3042 struct nexthop *nh; in rtm_get_nexthop() local
3084 static bool nh_dump_filtered(struct nexthop *nh, in nh_dump_filtered()
3191 struct nexthop *nh, void *data), in rtm_dump_walk_nexthops()
3200 struct nexthop *nh; in rtm_dump_walk_nexthops() local
3216 struct nexthop *nh, void *data) in rtm_dump_nexthop_cb()
3259 struct nexthop *nh; in nexthop_find_group_resilient() local
3337 struct rtm_dump_nh_ctx nh; member
3357 struct nexthop *nh, in rtm_dump_nexthop_bucket_nh()
3400 struct nexthop *nh, void *data) in rtm_dump_nexthop_bucket_cb()
3422 struct nexthop *nh; in rtm_dump_nexthop_bucket() local
3511 struct nexthop *nh; in rtm_get_nexthop_bucket() local
3606 struct nexthop *nh; in nexthops_dump() local