/linux-master/net/l2tp/ |
H A D | l2tp_eth.c | 27 #include <net/netns/generic.h>
|
/linux-master/net/core/ |
H A D | filter.c | 6224 struct net *netns = dev_net(dev_curr); local 6230 return dev_get_by_index_rcu(netns, ifindex);
|
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_core.c | 27 #include <net/netns/generic.h> 4926 /* rcu_barrier() is called by netns */
|
/linux-master/net/wireless/ |
H A D | nl80211.c | 68 struct net *netns, struct nlattr **attrs) 112 if (wiphy_net(&rdev->wiphy) != netns) 140 __cfg80211_rdev_from_attrs(struct net *netns, struct nlattr **attrs) argument 183 netdev = __dev_get_by_index(netns, ifindex); 206 if (netns != wiphy_net(&rdev->wiphy)) 220 cfg80211_get_dev_from_info(struct net *netns, struct genl_info *info) argument 222 return __cfg80211_rdev_from_attrs(netns, info->attrs); 67 __cfg80211_wdev_from_attrs(struct cfg80211_registered_device *rdev, struct net *netns, struct nlattr **attrs) argument
|
/linux-master/drivers/net/wireless/virtual/ |
H A D | mac80211_hwsim.c | 33 #include <net/netns/generic.h> 719 /* group shared by radios created in the same netns */
|
/linux-master/drivers/net/ |
H A D | gtp.c | 32 #include <net/netns/generic.h>
|
H A D | tun.c | 62 #include <net/netns/generic.h>
|
/linux-master/net/bridge/ |
H A D | br_netfilter_hooks.c | 38 #include <net/netns/generic.h>
|
/linux-master/include/net/netfilter/ |
H A D | nf_tables.h | 16 #include <net/netns/generic.h>
|
/linux-master/include/linux/ |
H A D | udp.h | 18 #include <net/netns/hash.h>
|
/linux-master/include/net/ |
H A D | ip_tunnels.h | 16 #include <net/netns/generic.h> 120 struct net *net; /* netns for packet i/o */
|
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_join.sh | 90 local netns 91 for netns in "$ns1" "$ns2"; do 92 ip netns exec $netns sysctl -q net.mptcp.pm_type=0 2>/dev/null || true 94 ip netns exec $netns sysctl -q net.mptcp.checksum_enabled=1 109 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2" 302 local netns 303 for netns i [all...] |
H A D | mptcp_connect.sh | 168 ip link add ns1eth2 netns "$ns1" type veth peer name ns2eth1 netns "$ns2" 169 ip link add ns2eth3 netns "$ns2" type veth peer name ns3eth2 netns "$ns3" 170 ip link add ns3eth4 netns "$ns3" type veth peer name ns4eth3 netns "$ns4" 188 ip netns exec "$ns2" sysctl -q net.ipv4.ip_forward=1 189 ip netns exec "$ns2" sysctl -q net.ipv6.conf.all.forwarding=1 200 ip netns exec "$ns3" sysctl -q net.ipv4.ip_forward=1 201 ip netns exe [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | udpgro_fwd.sh | 29 ip netns del $ns 2>/dev/null 40 ip netns add $ns 44 ip netns exec $ns sysctl -qw net.ipv6.conf.default.router_solicitations=0 45 ip netns exec $ns sysctl -qw net.ipv6.conf.all.router_solicitations=0 51 ip link set dev veth$ns netns $BASE$ns 60 local -r netns=$1 67 ip -n $netns link set dev $bm_dev up 68 ip -n $netns link add dev $vxlan_dev type vxlan id $vxlan_id \ 70 ip -n $netns link set dev $vxlan_dev up 130 ip netns exe [all...] |
H A D | test_vxlan_mdb.sh | 212 ip netns exec $ns sysctl -qw net.ipv4.ip_forward=1 213 ip netns exec $ns sysctl -qw net.ipv4.fib_multipath_use_neigh=1 214 ip netns exec $ns sysctl -qw net.ipv4.conf.default.ignore_routes_with_linkdown=1 215 ip netns exec $ns sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1 216 ip netns exec $ns sysctl -qw net.ipv6.conf.all.forwarding=1 217 ip netns exec $ns sysctl -qw net.ipv6.conf.default.forwarding=1 218 ip netns exec $ns sysctl -qw net.ipv6.conf.default.ignore_routes_with_linkdown=1 219 ip netns exec $ns sysctl -qw net.ipv6.conf.all.accept_dad=0 220 ip netns exec $ns sysctl -qw net.ipv6.conf.default.accept_dad=0 264 ip link set dev veth0 netns [all...] |
H A D | veth.sh | 28 ip netns del $ns 2>/dev/null 38 ip netns add $ns 45 ip link set dev veth$ns netns $BASE$ns up 59 local flag=`ip netns exec $BASE$target ethtool -k veth$target |\ 87 local cur_rx=`ip netns exec $BASE$target ethtool -l $dev |\ 89 local cur_tx=`ip netns exec $BASE$target ethtool -l $dev |\ 91 local cur_combined=`ip netns exec $BASE$target ethtool -l $dev |\ 106 ip netns exec $BASE$SRC ping -qc 1 $BM_NET_V4$DST >/dev/null 107 NSTAT_HISTORY=$STATS ip netns exec $NS_DST nstat -n 110 ip netns exe [all...] |
H A D | rtnetlink.sh | 443 run_cmd ip -netns "$testns" link add "$vxlan" type vxlan id 42 group 239.1.1.1 \ 450 run_cmd ip -netns "$testns" addr add 10.2.11.49/24 dev "$vxlan" 451 run_cmd ip -netns "$testns" link set up dev "$vxlan" 452 run_cmd ip -netns "$testns" link add link "$vxlan" name "$vlan" type vlan id 1 455 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan vni 43 456 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan group ffe5::5 dev "$devdummy" 457 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan ttl inherit 459 run_cmd ip -netns "$testns" link set dev "$vxlan" type vxlan ttl 64 460 run_cmd ip -netns "$testns" link set dev "$vxlan" type vxlan nolearning 462 run_cmd_fail ip -netns " [all...] |
/linux-master/net/ipv6/ |
H A D | ip6_gre.c | 45 #include <net/netns/generic.h> 1588 /* If dev is in the same netns, it has already 1616 /* FB netdevice is special: we have one, and only one per netns. 1617 * Allowing to move it to another netns is clearly unsafe.
|
/linux-master/net/ipv4/ |
H A D | ip_gre.c | 42 #include <net/netns/generic.h>
|
/linux-master/net/bridge/netfilter/ |
H A D | ebtables.c | 27 #include <net/netns/generic.h> 51 /* called when table is needed in the given netns */
|
/linux-master/kernel/bpf/ |
H A D | syscall.c | 34 #include <linux/bpf-netns.h>
|
/linux-master/net/ipv6/netfilter/ |
H A D | nf_conntrack_reasm.c | 32 #include <net/netns/generic.h>
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_bridge_1d_ipv6.sh | 41 # | + v2 (veth) NS1 (netns) | | + v4 (veth) NS2 (netns) | 237 ip netns add ns1 238 ip link set dev v2 netns ns1 246 ip netns exec ns1 ip link set dev v2 netns 1 247 ip netns del ns1 252 ip netns add ns2 253 ip link set dev v4 netns ns2 261 ip netns exe [all...] |
H A D | vxlan_bridge_1q_ipv6.sh | 52 # | + v2 (veth) NS1 (netns) | | + v4 (veth) NS2 (netns) | 326 ip netns add ns1 327 ip link set dev v2 netns ns1 335 ip netns exec ns1 ip link set dev v2 netns 1 336 ip netns del ns1 341 ip netns add ns2 342 ip link set dev v4 netns ns2 350 ip netns exe [all...] |
/linux-master/fs/nfs/ |
H A D | netns.h | 11 #include <net/netns/generic.h>
|