Lines Matching defs:net

39 static int call_nexthop_notifiers(struct net *net,  in call_nexthop_notifiers()
59 static void nexthop_devhash_add(struct net *net, struct nh_info *nhi) in nexthop_devhash_add()
145 static void nh_base_seq_inc(struct net *net) in nh_base_seq_inc()
152 struct nexthop *nexthop_find_by_id(struct net *net, u32 id) in nexthop_find_by_id()
178 static u32 nh_find_unused_id(struct net *net) in nh_find_unused_id()
437 static int nh_check_attr_group(struct net *net, struct nlattr *tb[], in nh_check_attr_group()
780 static void remove_nh_grp_entry(struct net *net, struct nh_grp_entry *nhge, in remove_nh_grp_entry()
839 static void remove_nexthop_from_groups(struct net *net, struct nexthop *nh, in remove_nexthop_from_groups()
867 static void __remove_nexthop_fib(struct net *net, struct nexthop *nh) in __remove_nexthop_fib()
889 static void __remove_nexthop(struct net *net, struct nexthop *nh, in __remove_nexthop()
907 static void remove_nexthop(struct net *net, struct nexthop *nh, in remove_nexthop()
927 static void nh_rt_cache_flush(struct net *net, struct nexthop *nh) in nh_rt_cache_flush()
938 static int replace_nexthop_grp(struct net *net, struct nexthop *old, in replace_nexthop_grp()
984 static int replace_nexthop_single(struct net *net, struct nexthop *old, in replace_nexthop_single()
1025 static void __nexthop_replace_notify(struct net *net, struct nexthop *nh, in __nexthop_replace_notify()
1054 static void nexthop_replace_notify(struct net *net, struct nexthop *nh, in nexthop_replace_notify()
1065 static int replace_nexthop(struct net *net, struct nexthop *old, in replace_nexthop()
1124 static int insert_nexthop(struct net *net, struct nexthop *new_nh, in insert_nexthop()
1189 struct net *net = dev_net(dev); in nexthop_flush_dev() local
1207 static void flush_all_nexthops(struct net *net) in flush_all_nexthops()
1220 static struct nexthop *nexthop_create_group(struct net *net, in nexthop_create_group()
1297 static int nh_create_ipv4(struct net *net, struct nexthop *nh, in nh_create_ipv4()
1336 static int nh_create_ipv6(struct net *net, struct nexthop *nh, in nh_create_ipv6()
1371 static struct nexthop *nexthop_create(struct net *net, struct nh_config *cfg, in nexthop_create()
1428 static struct nexthop *nexthop_add(struct net *net, struct nh_config *cfg, in nexthop_add()
1470 static int rtm_to_nh_config(struct net *net, struct sk_buff *skb, in rtm_to_nh_config()
1655 struct net *net = sock_net(skb->sk); in rtm_new_nexthop() local
1719 struct net *net = sock_net(skb->sk); in rtm_del_nexthop() local
1746 struct net *net = sock_net(in_skb->sk); in rtm_get_nexthop() local
1881 struct net *net = sock_net(skb->sk); in rtm_dump_nexthop() local
1930 struct net *net = dev_net(dev); in nexthop_sync_mtu() local
1973 int register_nexthop_notifier(struct net *net, struct notifier_block *nb) in register_nexthop_notifier()
1980 int unregister_nexthop_notifier(struct net *net, struct notifier_block *nb) in unregister_nexthop_notifier()
1987 static void __net_exit nexthop_net_exit(struct net *net) in nexthop_net_exit()
1995 static int __net_init nexthop_net_init(struct net *net) in nexthop_net_init()