Lines Matching defs:net
44 #include <net/ip.h>
67 #include <net/sock.h>
71 #include <net/arp.h>
79 #include <net/route.h>
80 #include <net/net_namespace.h>
81 #include <net/netns/generic.h>
82 #include <net/pkt_sched.h>
84 #include <net/flow_dissector.h>
85 #include <net/xfrm.h>
86 #include <net/bonding.h>
87 #include <net/bond_3ad.h>
88 #include <net/bond_alb.h>
90 #include <net/tls.h>
92 #include <net/ip6_route.h>
93 #include <net/xdp.h>
356 * potential race condition here where a net device from the vlan group might
364 * @bond_dev: bonding net device that got called
398 * @bond_dev: bonding net device that got called
916 * @bond_dev: bond net device
917 * @slave_dev: slave net device
4500 struct net *net;
4533 net = dev_net(bond_dev);
4535 if (!ns_capable(net->user_ns, CAP_NET_ADMIN))
4538 slave_dev = __dev_get_by_name(net, ifr->ifr_slave);
6396 int bond_create(struct net *net, const char *name)
6411 dev_net_set(bond_dev, net);
6429 static int __net_init bond_net_init(struct net *net)
6431 struct bond_net *bn = net_generic(net, bond_net_id);
6433 bn->net = net;
6445 struct net *net;
6448 list_for_each_entry(net, net_list, exit_list) {
6449 bn = net_generic(net, bond_net_id);
6455 list_for_each_entry(net, net_list, exit_list) {
6458 bn = net_generic(net, bond_net_id);
6465 list_for_each_entry(net, net_list, exit_list) {
6466 bn = net_generic(net, bond_net_id);