Lines Matching defs:nh

61 static void nexthop_free_mpath(struct nexthop *nh)  in nexthop_free_mpath()
73 static void nexthop_free_single(struct nexthop *nh) in nexthop_free_single()
91 struct nexthop *nh = container_of(head, struct nexthop, rcu); in nexthop_free_rcu() local
104 struct nexthop *nh; in nexthop_alloc() local
142 struct nexthop *nh; in nexthop_find_by_id() local
208 static int nh_fill_node(struct sk_buff *skb, struct nexthop *nh, in nh_fill_node()
283 static size_t nh_nlmsg_size_grp(struct nexthop *nh) in nh_nlmsg_size_grp()
292 static size_t nh_nlmsg_size_single(struct nexthop *nh) in nh_nlmsg_size_single()
323 static size_t nh_nlmsg_size(struct nexthop *nh) in nh_nlmsg_size()
335 static void nexthop_notify(int event, struct nexthop *nh, struct nl_info *info) in nexthop_notify()
362 static bool valid_group_nh(struct nexthop *nh, unsigned int npaths, in valid_group_nh()
425 struct nexthop *nh; in nh_check_attr_group() local
447 static bool ipv6_good_nh(const struct fib6_nh *nh) in ipv6_good_nh()
463 static bool ipv4_good_nh(const struct fib_nh *nh) in ipv4_good_nh()
480 struct nexthop *nexthop_select_path(struct nexthop *nh, int hash) in nexthop_select_path()
520 int nexthop_for_each_fib6_nh(struct nexthop *nh, in nexthop_for_each_fib6_nh()
521 int (*cb)(struct fib6_nh *nh, void *arg), in nexthop_for_each_fib6_nh()
561 int fib6_check_nexthop(struct nexthop *nh, struct fib6_config *cfg, in fib6_check_nexthop()
613 static int nexthop_check_scope(struct nexthop *nh, u8 scope, in nexthop_check_scope()
637 int fib_check_nexthop(struct nexthop *nh, u8 scope, in fib_check_nexthop()
699 struct nexthop *nh = nhge->nh; in remove_nh_grp_entry() local
732 static void remove_nexthop_from_groups(struct net *net, struct nexthop *nh, in remove_nexthop_from_groups()
750 static void remove_nexthop_group(struct nexthop *nh, struct nl_info *nlinfo) in remove_nexthop_group()
769 static void __remove_nexthop_fib(struct net *net, struct nexthop *nh) in __remove_nexthop_fib()
790 static void __remove_nexthop(struct net *net, struct nexthop *nh, in __remove_nexthop()
808 static void remove_nexthop(struct net *net, struct nexthop *nh, in remove_nexthop()
826 static void nh_rt_cache_flush(struct net *net, struct nexthop *nh) in nh_rt_cache_flush()
892 static void __nexthop_replace_notify(struct net *net, struct nexthop *nh, in __nexthop_replace_notify()
921 static void nexthop_replace_notify(struct net *net, struct nexthop *nh, in nexthop_replace_notify()
1004 struct nexthop *nh; in insert_nexthop() local
1073 struct nexthop *nh; in flush_all_nexthops() local
1088 struct nexthop *nh; in nexthop_create_group() local
1140 static int nh_create_ipv4(struct net *net, struct nexthop *nh, in nh_create_ipv4()
1175 static int nh_create_ipv6(struct net *net, struct nexthop *nh, in nh_create_ipv6()
1208 struct nexthop *nh; in nexthop_create() local
1260 struct nexthop *nh; in nexthop_add() local
1471 struct nexthop *nh; in rtm_new_nexthop() local
1539 struct nexthop *nh; in rtm_del_nexthop() local
1562 struct nexthop *nh; in rtm_get_nexthop() local
1595 static bool nh_dump_filtered(struct nexthop *nh, int dev_idx, int master_idx, in nh_dump_filtered()
1705 struct nexthop *nh; in rtm_dump_nexthop() local