Lines Matching defs:net

77 static struct mpls_route *mpls_route_input_rcu(struct net *net, unsigned index)  in mpls_route_input_rcu()
269 static bool mpls_egress(struct net *net, struct mpls_route *rt, in mpls_egress()
344 struct net *net = dev_net(dev); in mpls_forward() local
536 static void mpls_notify_route(struct net *net, unsigned index, in mpls_notify_route()
550 static void mpls_route_update(struct net *net, unsigned index, in mpls_route_update()
569 static unsigned find_free_label(struct net *net) in find_free_label()
586 static struct net_device *inet_fib_lookup_dev(struct net *net, in inet_fib_lookup_dev()
606 static struct net_device *inet_fib_lookup_dev(struct net *net, in inet_fib_lookup_dev()
614 static struct net_device *inet6_fib_lookup_dev(struct net *net, in inet6_fib_lookup_dev()
637 static struct net_device *inet6_fib_lookup_dev(struct net *net, in inet6_fib_lookup_dev()
644 static struct net_device *find_outdev(struct net *net, in find_outdev()
677 static int mpls_nh_assign_dev(struct net *net, struct mpls_route *rt, in mpls_nh_assign_dev()
768 struct net *net = cfg->rc_nlinfo.nl_net; in mpls_nh_build_from_cfg() local
797 static int mpls_nh_build(struct net *net, struct mpls_route *rt, in mpls_nh_build()
937 static bool mpls_label_ok(struct net *net, unsigned int *index, in mpls_label_ok()
964 struct net *net = cfg->rc_nlinfo.nl_net; in mpls_route_add() local
1051 struct net *net = cfg->rc_nlinfo.nl_net; in mpls_route_del() local
1181 static void mpls_netconf_notify_devconf(struct net *net, int event, in mpls_netconf_notify_devconf()
1254 struct net *net = sock_net(in_skb->sk); in mpls_netconf_get_devconf() local
1303 struct net *net = sock_net(skb->sk); in mpls_netconf_dump_devconf() local
1373 struct net *net = ctl->extra2; in mpls_conf_proc() local
1401 struct net *net = dev_net(dev); in mpls_dev_sysctl_register() local
1436 struct net *net = dev_net(dev); in mpls_dev_sysctl_unregister() local
1496 struct net *net = dev_net(dev); in mpls_ifdown() local
1547 struct net *net = dev_net(dev); in mpls_ifup() local
2063 static int mpls_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh, in mpls_valid_fib_dump_req()
2070 static int mpls_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh, in mpls_valid_fib_dump_req()
2147 struct net *net = sock_net(skb->sk); in mpls_dump_routes() local
2241 struct nlmsghdr *nlh, struct net *net, u32 portid, in rtmsg_lfib()
2328 struct net *net = sock_net(in_skb->sk); in mpls_getroute() local
2488 static int resize_platform_label_table(struct net *net, size_t limit) in resize_platform_label_table()
2588 struct net *net = table->data; in mpls_platform_labels() local
2640 static int mpls_net_init(struct net *net) in mpls_net_init()
2669 static void mpls_net_exit(struct net *net) in mpls_net_exit()