Lines Matching defs:net
149 struct net *net = dev_net(rt->dst.dev); in rt6_uncached_list_del() local
158 static void rt6_uncached_list_flush_dev(struct net *net, struct net_device *dev) in rt6_uncached_list_flush_dev()
353 struct rt6_info *ip6_dst_alloc(struct net *net, struct net_device *dev, in ip6_dst_alloc()
428 void fib6_select_path(const struct net *net, struct fib6_result *res, in fib6_select_path()
479 static bool __rt6_device_match(struct net *net, const struct fib6_nh *nh, in __rt6_device_match()
501 struct net *net; member
518 static struct fib6_nh *rt6_nh_dev_match(struct net *net, struct nexthop *nh, in rt6_nh_dev_match()
539 static void rt6_device_match(struct net *net, struct fib6_result *res, in rt6_device_match()
875 static void rt6_select(struct net *net, struct fib6_node *fn, int oif, in rt6_select()
942 struct net *net = dev_net(dev); in rt6_route_rcv() local
1171 static bool ip6_hold_safe(struct net *net, struct rt6_info **prt) in ip6_hold_safe()
1214 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_lookup(struct net *net, in ip6_pol_route_lookup()
1270 struct dst_entry *ip6_route_lookup(struct net *net, struct flowi6 *fl6, in ip6_route_lookup()
1277 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr, in rt6_lookup()
1323 int ip6_ins_rt(struct net *net, struct fib6_info *rt) in ip6_ins_rt()
1427 static struct rt6_info *rt6_make_pcpu_route(struct net *net, in rt6_make_pcpu_route()
1461 struct net *net; in rt6_remove_exception() local
1662 struct net *net = dev_net(nrt->dst.dev); in rt6_insert_exception() local
2181 int fib6_table_lookup(struct net *net, struct fib6_table *table, int oif, in fib6_table_lookup()
2211 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table, in ip6_pol_route()
2281 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_input(struct net *net, in ip6_pol_route_input()
2290 struct dst_entry *ip6_route_input_lookup(struct net *net, in ip6_route_input_lookup()
2349 u32 rt6_multipath_hash(const struct net *net, const struct flowi6 *fl6, in rt6_multipath_hash()
2445 struct net *net = dev_net(skb->dev); in ip6_route_input() local
2472 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_output(struct net *net, in ip6_pol_route_output()
2481 struct dst_entry *ip6_route_output_flags_noref(struct net *net, in ip6_route_output_flags_noref()
2514 struct dst_entry *ip6_route_output_flags(struct net *net, in ip6_route_output_flags()
2536 struct dst_entry *ip6_blackhole_route(struct net *net, struct dst_entry *dst_orig) in ip6_blackhole_route()
2709 struct net *net = dev_net(rt->dst.dev); in rt6_do_update_pmtu() local
2809 void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu, in ip6_update_pmtu()
2920 INDIRECT_CALLABLE_SCOPE struct rt6_info *__ip6_route_redirect(struct net *net, in __ip6_route_redirect()
3009 static struct dst_entry *ip6_route_redirect(struct net *net, in ip6_route_redirect()
3024 void ip6_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark, in ip6_redirect()
3045 void ip6_redirect_no_header(struct sk_buff *skb, struct net *net, int oif) in ip6_redirect_no_header()
3074 struct net *net = dev_net(dev); in ip6_default_advmss() local
3162 struct net *net = dev_net(dev); in icmp6_dst_alloc() local
3196 struct net *net = container_of(ops, struct net, ipv6.ip6_dst_ops); in ip6_dst_gc() local
3222 static int ip6_nh_lookup_table(struct net *net, struct fib6_config *cfg, in ip6_nh_lookup_table()
3251 static int ip6_route_check_nh_onlink(struct net *net, in ip6_route_check_nh_onlink()
3274 static int ip6_route_check_nh(struct net *net, in ip6_route_check_nh()
3328 static int ip6_validate_gw(struct net *net, struct fib6_config *cfg, in ip6_validate_gw()
3416 int fib6_nh_init(struct net *net, struct fib6_nh *fib6_nh, in fib6_nh_init()
3584 struct net *net = cfg->fc_nlinfo.nl_net; in ip6_route_info_create() local
3753 struct net *net = info->nl_net; in __ip6_del_rt() local
3772 int ip6_del_rt(struct net *net, struct fib6_info *rt, bool skip_notify) in ip6_del_rt()
3785 struct net *net = info->nl_net; in __ip6_del_rt_siblings() local
4147 static struct fib6_info *rt6_get_route_info(struct net *net, in rt6_get_route_info()
4187 static struct fib6_info *rt6_add_route_info(struct net *net, in rt6_add_route_info()
4220 struct fib6_info *rt6_get_dflt_router(struct net *net, in rt6_get_dflt_router()
4252 struct fib6_info *rt6_add_dflt_router(struct net *net, in rt6_add_dflt_router()
4283 static void __rt6_purge_dflt_routers(struct net *net, in __rt6_purge_dflt_routers()
4307 void rt6_purge_dflt_routers(struct net *net) in rt6_purge_dflt_routers()
4326 static void rtmsg_to_fib6_config(struct net *net, in rtmsg_to_fib6_config()
4349 int ipv6_route_ioctl(struct net *net, unsigned int cmd, struct in6_rtmsg *rtmsg) in ipv6_route_ioctl()
4381 struct net *net = dev_net(dst->dev); in ip6_pkt_drop() local
4418 static int ip6_pkt_discard_out(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_pkt_discard_out()
4429 static int ip6_pkt_prohibit_out(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_pkt_prohibit_out()
4439 struct fib6_info *addrconf_f6i_alloc(struct net *net, in addrconf_f6i_alloc()
4473 struct net *net; member
4480 struct net *net = ((struct arg_dev_net_ip *)arg)->net; in fib6_remove_prefsrc() local
4497 struct net *net = dev_net(ifp->idev->dev); in rt6_remove_prefsrc() local
4532 void rt6_clean_tohost(struct net *net, struct in6_addr *gateway) in rt6_clean_tohost()
4642 struct net *net = dev_net(arg->dev); in fib6_ifup() local
4728 struct net *net = dev_net(dev); in fib6_ifdown() local
4775 struct net *net = dev_net(dev); in rt6_sync_down_dev() local
5029 static int ip6_route_info_append(struct net *net, in ip6_route_info_append()
5452 static int rt6_fill_node(struct net *net, struct sk_buff *skb, in rt6_fill_node()
5731 struct net *net = arg->net; in rt6_dump_route() local
5863 struct net *net = sock_net(in_skb->sk); in inet6_rtm_getroute() local
6008 struct net *net = info->nl_net; in inet6_rt_notify() local
6035 void fib6_rt_update(struct net *net, struct fib6_info *rt, in fib6_rt_update()
6071 struct net *net = dev_net(dev); in ip6_route_dev_notify() local
6108 struct net *net = (struct net *)seq->private; in rt6_stats_seq_show() local
6127 struct net *net; in ipv6_sysctl_rtcache_flush() local
6226 struct ctl_table * __net_init ipv6_route_sysctl_init(struct net *net) in ipv6_route_sysctl_init()
6257 static int __net_init ip6_route_net_init(struct net *net) in ip6_route_net_init()
6339 static void __net_exit ip6_route_net_exit(struct net *net) in ip6_route_net_exit()
6350 static int __net_init ip6_route_net_init_late(struct net *net) in ip6_route_net_init_late()
6361 static void __net_exit ip6_route_net_exit_late(struct net *net) in ip6_route_net_exit_late()
6374 static int __net_init ipv6_inetpeer_init(struct net *net) in ipv6_inetpeer_init()
6385 static void __net_exit ipv6_inetpeer_exit(struct net *net) in ipv6_inetpeer_exit()