Lines Matching defs:nh
41 struct nexthop *nh) in call_nexthop_notifiers()
72 static void nexthop_free_mpath(struct nexthop *nh) in nexthop_free_mpath()
91 static void nexthop_free_single(struct nexthop *nh) in nexthop_free_single()
109 struct nexthop *nh = container_of(head, struct nexthop, rcu); in nexthop_free_rcu() local
122 struct nexthop *nh; in nexthop_alloc() local
158 struct nexthop *nh; in nexthop_find_by_id() local
225 static int nh_fill_node(struct sk_buff *skb, struct nexthop *nh, in nh_fill_node()
306 static size_t nh_nlmsg_size_grp(struct nexthop *nh) in nh_nlmsg_size_grp()
315 static size_t nh_nlmsg_size_single(struct nexthop *nh) in nh_nlmsg_size_single()
346 static size_t nh_nlmsg_size(struct nexthop *nh) in nh_nlmsg_size()
360 static void nexthop_notify(int event, struct nexthop *nh, struct nl_info *info) in nexthop_notify()
387 static bool valid_group_nh(struct nexthop *nh, unsigned int npaths, in valid_group_nh()
416 static int nh_check_attr_fdb_group(struct nexthop *nh, u8 *nh_family, in nh_check_attr_fdb_group()
478 struct nexthop *nh; in nh_check_attr_group() local
510 static bool ipv6_good_nh(const struct fib6_nh *nh) in ipv6_good_nh()
526 static bool ipv4_good_nh(const struct fib_nh *nh) in ipv4_good_nh()
543 struct nexthop *nexthop_select_path(struct nexthop *nh, int hash) in nexthop_select_path()
586 int nexthop_for_each_fib6_nh(struct nexthop *nh, in nexthop_for_each_fib6_nh()
587 int (*cb)(struct fib6_nh *nh, void *arg), in nexthop_for_each_fib6_nh()
627 int fib6_check_nexthop(struct nexthop *nh, struct fib6_config *cfg, in fib6_check_nexthop()
708 int fib_check_nexthop(struct nexthop *nh, u8 scope, in fib_check_nexthop()
786 struct nexthop *nh = nhge->nh; in remove_nh_grp_entry() local
840 static void remove_nexthop_from_groups(struct net *net, struct nexthop *nh, in remove_nexthop_from_groups()
852 static void remove_nexthop_group(struct nexthop *nh, struct nl_info *nlinfo) in remove_nexthop_group()
868 static void __remove_nexthop_fib(struct net *net, struct nexthop *nh) in __remove_nexthop_fib()
890 static void __remove_nexthop(struct net *net, struct nexthop *nh, in __remove_nexthop()
908 static void remove_nexthop(struct net *net, struct nexthop *nh, in remove_nexthop()
928 static void nh_rt_cache_flush(struct net *net, struct nexthop *nh, in nh_rt_cache_flush()
1047 static void __nexthop_replace_notify(struct net *net, struct nexthop *nh, in __nexthop_replace_notify()
1076 static void nexthop_replace_notify(struct net *net, struct nexthop *nh, in nexthop_replace_notify()
1159 struct nexthop *nh; in insert_nexthop() local
1233 struct nexthop *nh; in flush_all_nexthops() local
1249 struct nexthop *nh; in nexthop_create_group() local
1319 static int nh_create_ipv4(struct net *net, struct nexthop *nh, in nh_create_ipv4()
1358 static int nh_create_ipv6(struct net *net, struct nexthop *nh, in nh_create_ipv6()
1397 struct nexthop *nh; in nexthop_create() local
1453 struct nexthop *nh; in nexthop_add() local
1679 struct nexthop *nh; in rtm_new_nexthop() local
1747 struct nexthop *nh; in rtm_del_nexthop() local
1770 struct nexthop *nh; in rtm_get_nexthop() local
1803 static bool nh_dump_filtered(struct nexthop *nh, int dev_idx, int master_idx, in nh_dump_filtered()
1916 struct nexthop *nh; in rtm_dump_nexthop() local