/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_join.sh | 28 ns2="" 93 ns2="ns2-$rndh" 1319 ns_tx=$ns2 1376 ns_rx=$ns2 1416 ns_tx=$ns2 1595 ns_tx=$ns2 1748 addr_ns=$ns2 3700 wait_mpj $ns2 3728 wait_mpj $ns2 3782 wait_mpj $ns2 [all …]
|
H A D | simult_flows.sh | 9 ns2="ns2-$rndh" 34 for netns in "$ns1" "$ns2" "$ns3";do 67 for i in "$ns1" "$ns2" "$ns3";do 93 ip -net "$ns2" addr add 10.0.1.2/24 dev ns2eth1 95 ip -net "$ns2" link set ns2eth1 up mtu 1500 97 ip -net "$ns2" addr add 10.0.2.2/24 dev ns2eth2 99 ip -net "$ns2" link set ns2eth2 up mtu 1500 101 ip -net "$ns2" addr add 10.0.3.2/24 dev ns2eth3 103 ip -net "$ns2" link set ns2eth3 up mtu 1500 104 ip netns exec "$ns2" sysctl -q net.ipv4.ip_forward=1 [all …]
|
H A D | userspace_pm.sh | 60 ns2="ns2-$rndh" 126 for netns in "$ns1" "$ns2" ;do 138 for i in "$ns1" "$ns2" ;do 157 ip -net "$ns2" addr add 10.0.1.2/24 dev ns2eth1 158 ip -net "$ns2" addr add 10.0.2.2/24 dev ns2eth1 161 ip -net "$ns2" link set ns2eth1 up 219 ip netns exec "$ns2" \ 362 ip netns exec "$ns2"\ 372 ip netns exec "$ns2" ./pm_nl_ctl ann\ 599 ip netns exec "$ns2" ./pm_nl_ctl listen 10.0.2.2\ [all …]
|
H A D | mptcp_connect.sh | 131 ns2="ns2-$rndh" 172 for i in "$ns1" "$ns2" "$ns3" "$ns4";do 195 ip -net "$ns2" link set ns2eth1 up 199 ip -net "$ns2" link set ns2eth3 up 224 for i in "$ns1" "$ns2" "$ns3" "$ns4";do 715 local listener_ns="$ns2" 911 do_ping "$ns2" $sender 10.0.1.2 913 do_ping "$ns2" $sender 10.0.2.1 965 for sender in $ns1 $ns2 $ns3 $ns4;do 977 run_tests "$ns2" $sender 10.0.1.2 [all …]
|
H A D | mptcp_sockopt.sh | 21 ns2="ns2-$rndh" 45 for netns in "$ns1" "$ns2" "$ns_sbox";do 60 ip -net "$ns2" addr add 10.0.$i.2/24 dev ns2eth$i 61 ip -net "$ns2" addr add dead:beef:$i::2/64 dev ns2eth$i nodad 62 ip -net "$ns2" link set ns2eth$i up 70 ip netns exec $ns2 ./pm_nl_ctl add 10.0.$i.2 flags signal 75 ip netns exec $ns2 ./pm_nl_ctl limits 8 8 78 add_mark_rules $ns2 2 84 for netns in "$ns1" "$ns2" "$ns_sbox"; do 365 run_tests $ns1 $ns2 10.0.1.1 [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | test_vxlan_mdb.sh | 264 ip netns add $ns2 1077 local ns2=ns2_v4 1097 local ns2=ns2_v4 1117 local ns2=ns2_v6 1137 local ns2=ns2_v6 1218 local ns2=ns2_v4 1238 local ns2=ns2_v4 1258 local ns2=ns2_v6 1278 local ns2=ns2_v6 1359 local ns2=ns2_v4 [all …]
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | rpath.sh | 37 ns2="ns2-$sfx" 43 ip netns add "$ns2" 52 ip -net "$ns2" a a 192.168.23.1/24 dev v0 54 ip -net "$ns2" a a fec0:23::1/64 dev v0 nodad 57 ip -net "$ns2" link add d0 type dummy 58 ip -net "$ns2" link set d0 up 60 ip -net "$ns2" a a 192.168.42.1/24 dev d0 100 ip netns exec "$ns2" "$1" -t raw -vS | \ 122 ) | ip netns exec "$ns2" $nft -f - 163 ip -net "$ns2" link set vrf0 up [all …]
|
H A D | conntrack_tcp_unreplied.sh | 14 ns2="ns2-$sfx" 30 ip netns pids $ns2 | xargs kill 2>/dev/null 33 ip netns del $ns2 62 ip netns add $ns2 || exit 1 66 ip -net $ns1 link set netns $ns2 dev veth2 69 ip -net $ns2 link set up dev lo 71 ip -net $ns2 link set up dev veth2 73 ip -net $ns2 addr add 10.11.11.2/24 dev veth2 91 ip netns exec $ns2 nft -f - <<EOF 117 ip netns exec $ns2 nft -f - <<EOF [all …]
|
H A D | nft_conntrack_helper.sh | 13 ns2="ns2-$sfx" 19 ip netns del ${ns2} 49 ip netns add ${ns2} 60 ip -net ${ns2} link set lo up 61 ip -net ${ns2} link set veth0 up 66 ip -net ${ns2} addr add 10.0.1.2/24 dev veth0 67 ip -net ${ns2} addr add dead:1::2/64 dev veth0 157 check_for_helper "$ns2" "ipv6 $msg" $port 174 load_ruleset_family inet ${ns2} 177 load_ruleset_family ip ${ns2} [all …]
|
H A D | nf_nat_edemux.sh | 13 ns2="ns2-$sfx" 18 ip netns del $ns2 47 ip netns add $ns2 52 ip link set netns $ns2 dev veth2 58 ip netns exec $ns2 ip link set up dev lo 59 ip netns exec $ns2 ip link set up dev veth2 60 ip netns exec $ns2 ip addr add 192.168.1.2/24 dev veth2 68 ip netns exec $ns2 sysctl -q net.ipv4.ip_local_port_range="10000 10000" 74 ip netns exec $ns2 ip route add 10.96.0.1 via 192.168.1.1 79 ip netns exec $ns2 socat -t 10 - TCP:192.168.1.1:5201 > /dev/null & [all …]
|
H A D | ipvs.sh | 71 ip netns add ns2 91 ip netns exec ns2 ip link set lo up 92 ip netns exec ns2 ip link set veth21 up 93 ip netns exec ns2 ip addr add ${rip_v4}/24 dev veth21 94 ip netns exec ns2 ip link set veth20 up 117 ip netns exec ns2 nc -l -p 8080 > "${outfile}" & 152 ip netns exec ns2 ip addr add ${vip_v4}/32 dev lo:1 165 ip netns exec ns2 ip link del veth20 183 ip netns exec ns2 modprobe ipip 184 ip netns exec ns2 ip link set tunl0 up [all …]
|
H A D | nft_nat.sh | 14 ns2="ns2-$sfx" 47 ip netns add "$ns2" 49 echo "SKIP: Could not create net namespace $ns2" 298 bad_counter "$ns0" ns2$dir "$expect" "test_local_dnat 2" 318 bad_counter "$ns2" ns0$dir "$expect" "test_local_dnat 4" 429 echo "ERROR: cannot ping $ns1 from $ns2 via ipv6" 531 echo "ERROR: cannot ping $ns1 from "$ns2" $natflags" 630 echo "ERROR: cannnot ping $ns1 from $ns2 via ipv6" 712 echo "ERROR: cannot ping $ns1 from $ns2" 726 bad_counter "$ns2" ns1$dir "$expect" "test_redirect 2" [all …]
|
H A D | nft_synproxy.sh | 12 ns2="ns2-$rnd" # iperf server 29 ip netns add $ns2 33 ip netns pids $ns2 | xargs kill 2>/dev/null 35 ip netns del $ns2 43 ip link add veth1 netns $nsr type veth peer name eth0 netns $ns2 56 for n in $ns1 $ns2; do 61 ip -net $ns2 addr add 10.0.2.99/24 dev eth0 63 ip -net $ns2 route add default via 10.0.2.1 67 echo "ERROR: $ns1 cannot reach $ns2" 1>&2 72 echo "ERROR: $ns2 cannot reach $ns1" 1>&2 [all …]
|
H A D | nft_flowtable.sh | 19 ns2="ns2-$sfx" 46 ip netns add $ns2 51 ip netns del $ns2 120 ip -net $ns2 link set eth0 mtu $rmtu 135 for ns in $ns1 $ns2;do 148 ip -net $ns2 addr add 10.0.2.99/24 dev eth0 150 ip -net $ns2 route add default via 10.0.2.1 191 ip netns exec $ns2 nft -f - <<EOF 218 echo "ERROR: $ns2 cannot reach $ns1" 1>&2 484 if test_tcp_forwarding $ns1 $ns2; then [all …]
|
/openbmc/linux/tools/testing/selftests/net/hsr/ |
H A D | hsr_ping.sh | 33 ns2="ns2-$rndh" 39 for netns in "$ns1" "$ns2" "$ns3" ;do 117 do_ping "$ns2" 100.64.0.1 122 do_ping "$ns2" 100.64.0.3 127 do_ping "$ns2" dead:beef:1::1 128 do_ping "$ns2" dead:beef:1::2 160 do_ping_long "$ns2" 100.64.0.1 162 do_ping_long "$ns2" 100.64.0.3 192 do_ping_long "$ns2" 100.64.0.1 193 do_ping_long "$ns2" 100.64.0.3 [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_tc_tunnel.sh | 12 readonly ns2="${ns_prefix}2" 30 ip netns add "${ns2}" 33 peer name veth2 mtu 1500 netns "${ns2}" 38 ip -netns "${ns2}" link set veth2 up 41 ip -netns "${ns2}" -4 addr add "${ns2_v4}/24" dev veth2 57 ip netns del "${ns2}" 277 ethaddr=$(ip netns exec "${ns2}" ip link show veth2 | \ 285 ip netns exec "${ns2}" ip link set lo up 298 ip netns exec "${ns2}" ip link set dev testtun0 up 311 ip netns exec "${ns2}" ip link del dev testtun0 [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | tc_l2_redirect.sh | 18 $IP netns add ns2 26 $IP link set dev vens2 netns ns2 35 $IP -n ns2 link set dev lo up 36 $IP -n ns2 link set dev vens2 up 37 $IP -n ns2 addr add 10.2.1.102/24 dev vens2 39 $IP -n ns2 addr add 10.10.1.102 dev lo 43 $IP -n ns2 link set dev ipt2 up 44 $IP -n ns2 link set dev ip6t2 up 48 $IP -n ns2 route add 10.1.1.0/24 dev ipt2 52 $IP -n ns2 route add 10.1.1.0/24 dev ip6t2 [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | kirkwood-ns2.dts | 4 #include <dt-bindings/leds/leds-ns2.h> 5 #include "kirkwood-ns2-common.dtsi" 25 ns2-leds { 26 compatible = "lacie,ns2-leds"; 29 label = "ns2:blue:sata";
|
H A D | kirkwood-is2.dts | 4 #include <dt-bindings/leds/leds-ns2.h> 5 #include "kirkwood-ns2-common.dtsi" 25 ns2-leds { 26 compatible = "lacie,ns2-leds"; 29 label = "ns2:blue:sata";
|
H A D | kirkwood-ns2max.dts | 4 #include <dt-bindings/leds/leds-ns2.h> 5 #include "kirkwood-ns2-common.dtsi" 44 ns2-leds { 45 compatible = "lacie,ns2-leds"; 48 label = "ns2:blue:sata";
|
H A D | kirkwood-ns2mini.dts | 4 #include <dt-bindings/leds/leds-ns2.h> 5 #include "kirkwood-ns2-common.dtsi" 45 ns2-leds { 46 compatible = "lacie,ns2-leds"; 49 label = "ns2:blue:sata";
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | kirkwood-is2.dts | 4 #include <dt-bindings/leds/leds-ns2.h> 5 #include "kirkwood-ns2-common.dtsi" 25 ns2-leds { 26 compatible = "lacie,ns2-leds"; 29 label = "ns2:blue:sata";
|
H A D | kirkwood-ns2.dts | 4 #include <dt-bindings/leds/leds-ns2.h> 5 #include "kirkwood-ns2-common.dtsi" 25 ns2-leds { 26 compatible = "lacie,ns2-leds"; 29 label = "ns2:blue:sata";
|
H A D | kirkwood-ns2max.dts | 4 #include <dt-bindings/leds/leds-ns2.h> 5 #include "kirkwood-ns2-common.dtsi" 44 ns2-leds { 45 compatible = "lacie,ns2-leds"; 48 label = "ns2:blue:sata";
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-ns2.txt | 4 - compatible: "lacie,ns2-leds". 6 Each LED is represented as a sub-node of the ns2-leds device. 21 #include <dt-bindings/leds/leds-ns2.h> 23 ns2-leds { 24 compatible = "lacie,ns2-leds"; 27 label = "ns2:blue:sata";
|