Home
last modified time | relevance | path

Searched refs:ns1 (Results 1 – 25 of 63) sorted by relevance

123

/external/linux-kselftest/tools/testing/selftests/netfilter/
Dnft_nat.sh13 ns1="ns1-$sfx"
41 ip netns add "$ns1"
43 echo "SKIP: Could not create net namespace $ns1"
53 ip link add veth0 netns "$ns0" type veth peer name eth0 netns "$ns1" > /dev/null 2>&1
207 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns1${dir} | grep -q "$expect")
209 bad_counter "$ns0" ns1$dir "$expect" "test_local_dnat6 1"
226 cnt=$(ip netns exec "$ns1" nft list counter inet filter ns0${dir} | grep -q "$expect")
228 bad_counter "$ns1" ns0$dir "$expect" "test_local_dnat6 3"
243 test $lret -eq 0 && echo "PASS: ipv6 ping to $ns1 was $family NATted to $ns2"
287 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns1${dir} | grep -q "$expect")
[all …]
Dipvs.sh70 ip netns add ns1
73 ip link add veth01 netns ns0 type veth peer name veth10 netns ns1
75 ip link add veth12 netns ns1 type veth peer name veth21 netns ns2
85 ip netns exec ns1 ip link set lo up
86 ip netns exec ns1 ip link set veth10 up
87 ip netns exec ns1 ip addr add ${gip_v4}/24 dev veth10
88 ip netns exec ns1 ip link set veth12 up
89 ip netns exec ns1 ip addr add ${dip_v4}/24 dev veth12
141 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1
142 ip netns exec ns1 ipvsadm -A -t ${vip_v4}:${port} -s rr
[all …]
Dbridge_brouter.sh27 ip netns add ns1
30 ip link add veth0 netns ns0 type veth peer name eth0 netns ns1
72 ip netns exec ns1 ping -q -c 1 10.0.0.12 > /dev/null 2>&1
87 ip netns exec ns1 ping -q -c 1 10.0.0.12 > /dev/null
97 ip netns exec ns1 ping -q -c 1 10.0.0.12 > /dev/null
106 ip netns exec ns1 ping -q -c 1 10.0.0.12 > /dev/null 2>&1
126 ip netns exec ns1 ping -c 1 -q 10.0.0.12 > /dev/null
Dnft_flowtable.sh48 ip netns add ns1
69 ip link add veth0 netns nsr1 type veth peer name eth0 netns ns1
93 ip -net ns1 link set eth0 mtu 9000
174 ip netns exec ns1 ping -c 1 -q 10.0.2.99 > /dev/null
290 test_tcp_forwarding ns1 ns2
322 test_tcp_forwarding_nat ns1 ns2
342 ip netns exec ns1 sysctl net.ipv4.ip_no_pmtu_disc=0 > /dev/null
345 test_tcp_forwarding_nat ns1 ns2
392 test_tcp_forwarding ns1 ns2
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_xdp_vlan.sh56 ip netns del ns1 2> /dev/null
126 ip netns del ns1 2> /dev/null
144 ip netns add ns1
154 ip link set veth1 netns ns1
162 ip netns exec ns1 ethtool -K veth1 rxvlan off
167 ip netns exec ns1 ethtool -K veth1 txvlan off
173 ip netns exec ns1 ip addr add ${IPADDR1}/24 dev veth1
174 ip netns exec ns1 ip link set veth1 up
185 ip netns exec ns1 ip link set lo up
202 ip netns exec ns1 ip link set $DEVNS1 $XDP_MODE object $FILE section $XDP_PROG
[all …]
Dtest_xdp_meta.sh13 ip netns del ns1 2> /dev/null
24 ip netns add ns1
31 ip link set veth1 netns ns1
34 ip netns exec ns1 ip addr add 10.1.1.11/24 dev veth1
37 ip netns exec ns1 tc qdisc add dev veth1 clsact
40 ip netns exec ns1 tc filter add dev veth1 ingress bpf da obj test_xdp_meta.o sec t
43 ip netns exec ns1 ip link set dev veth1 xdp obj test_xdp_meta.o sec x
46 ip netns exec ns1 ip link set dev veth1 up
49 ip netns exec ns1 ping -c 1 10.1.1.22
Dtest_tc_tunnel.sh10 readonly ns1="${ns_prefix}1"
28 ip netns add "${ns1}"
31 ip link add dev veth1 mtu 1500 netns "${ns1}" type veth \
34 ip netns exec "${ns1}" ethtool -K veth1 tso off
36 ip -netns "${ns1}" link set veth1 up
39 ip -netns "${ns1}" -4 addr add "${ns1_v4}/24" dev veth1
41 ip -netns "${ns1}" -6 addr add "${ns1_v6}/64" dev veth1 nodad
45 ip -netns "${ns1}" -4 route flush table main
46 ip -netns "${ns1}" -6 route flush table main
47 ip -netns "${ns1}" -4 route add "${ns2_v4}" mtu 1458 dev veth1
[all …]
Dtest_xdp_redirect.sh24 ip netns del ns1 2> /dev/null
35 ip netns add ns1
43 ip link set veth11 netns ns1
49 ip netns exec ns1 ip addr add 10.1.1.11/24 dev veth11
52 ip netns exec ns1 ip link set dev veth11 up
58 ip netns exec ns1 ping -c 1 10.1.1.22
Dtest_xdp_veth.sh32 ip netns del ns1 2> /dev/null
80 ip netns add ns1
84 ip link add veth1 index 111 type veth peer name veth11 netns ns1
92 ip -n ns1 addr add 10.1.1.11/24 dev veth11
95 ip -n ns1 link set dev veth11 up
110 ip -n ns1 link set dev veth11 xdp obj xdp_dummy.o sec xdp_dummy
116 ip netns exec ns1 ping -c 1 -W 1 10.1.1.33
Dtest_lwt_seg6local.sh44 ip netns del ns1 2> /dev/null
55 ip netns add ns1
70 ip link set veth1 netns ns1
81 ip netns exec ns1 ip link set dev veth1 up
94 ip netns exec ns1 ip -6 addr add fb00::12/16 dev veth1 scope link
95 ip netns exec ns1 ip -6 route add fb00::21 dev veth1 scope link
111 ip netns exec ns1 ip -6 addr add fb00::1/16 dev lo
112 ip netns exec ns1 ip -6 route add fb00::6 dev veth1 via fb00::21
130 ip netns exec ns1 sysctl net.ipv6.conf.all.forwarding=1 > /dev/null
141 ip netns exec ns1 bash -c "echo 'foobar' | nc -w0 -6 -u -p 2121 -s fb00::1 fb00::6 7330"
Dtest_tcp_check_syncookie.sh31 ip netns exec ns1 "$@"
36 ip netns add ns1
50 ip netns del ns1 2>/dev/null || :
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.memdef/
Dp3.cpp155 namespace ns1 { namespace
162 using namespace ns1;
169 class ns1::A {
176 namespace ns1 { namespace
182 using ns1::A;
189 class ns1::A {
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.udir/
Dp1.cpp7 struct ns1 {}; struct
12 namespace ns1 { namespace
25 namespace test3 = ns1;
29 using namespace ns1;
/external/tcpdump/tests/
Ddnssec-vv.out4ns1.cynic.net., cynic.net. NS ns4.cynic.net., cynic.net. NS ns2.cynic.net., cynic.net. NS ns3.cyni…
8 …. NS ns2.cynic.net., cynic.net. NS ns3.cynic.net., cynic.net. NS ns1.cynic.net. ar: ns1.cynic.net.…
12 …. NS ns4.cynic.net., cynic.net. NS ns1.cynic.net., cynic.net. NS ns3.cynic.net., cynic.net. NS ns2…
/external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/
Dop_divide_duration.pass.cpp28 std::chrono::nanoseconds ns1(15); in main() local
30 assert(ns1 / ns2 == 3); in main()
49 constexpr std::chrono::nanoseconds ns1(15); in main() local
51 static_assert(ns1 / ns2 == 3, ""); in main()
Dop_mod_duration.pass.cpp27 std::chrono::nanoseconds ns1(15); in main() local
29 std::chrono::nanoseconds r = ns1 % ns2; in main()
46 constexpr std::chrono::nanoseconds ns1(15); in main() local
48 constexpr std::chrono::nanoseconds r = ns1 % ns2; in main()
/external/python/cpython3/Lib/test/
Dtest_types.py1154 ns1 = types.SimpleNamespace()
1163 self.assertEqual(len(ns1.__dict__), 0)
1164 self.assertEqual(vars(ns1), {})
1171 ns1 = vars(types.SimpleNamespace())
1174 self.assertEqual(ns1, {})
1178 ns1 = types.SimpleNamespace()
1184 self.assertEqual(ns1.__dict__, {})
1198 ns1 = types.SimpleNamespace()
1200 ns1.a = 'spam'
1201 ns1.b = 'ham'
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dextractvalue.ll19 %ns1.1 = insertvalue {i32, {i32, i32}} undef, i32 %v1, 0
20 %ns1.2 = insertvalue {i32, {i32, i32}} %ns1.1, i32 %v1, 1, 0
21 %ns1 = insertvalue {i32, {i32, i32}} %ns1.2, i32 %v2, 1, 1
22 %s2 = extractvalue {i32, {i32, i32}} %ns1, 1
23 %v3 = extractvalue {i32, {i32, i32}} %ns1, 1, 1
27 %s3 = extractvalue {i32, {i32, i32}} %ns1, 1
/external/llvm/test/Transforms/InstCombine/
Dextractvalue.ll19 %ns1.1 = insertvalue {i32, {i32, i32}} undef, i32 %v1, 0
20 %ns1.2 = insertvalue {i32, {i32, i32}} %ns1.1, i32 %v1, 1, 0
21 %ns1 = insertvalue {i32, {i32, i32}} %ns1.2, i32 %v2, 1, 1
22 %s2 = extractvalue {i32, {i32, i32}} %ns1, 1
23 %v3 = extractvalue {i32, {i32, i32}} %ns1, 1, 1
27 %s3 = extractvalue {i32, {i32, i32}} %ns1, 1
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dvxlan_asymmetric.sh380 ip netns add ns1
381 ip link set dev v2 netns ns1
382 in_ns ns1 ns_init
387 ip netns exec ns1 ip link set dev v2 netns 1
388 ip netns del ns1
413 local h1_ns_mac=$(in_ns ns1 mac_get w2)
414 local h2_ns_mac=$(in_ns ns1 mac_get w4)
419 in_ns ns1 macs_populate $h1_mac $h2_mac 10.1.1.101 10.1.2.101 10.0.0.1
483 ip neigh replace 10.1.1.102 lladdr $(in_ns ns1 mac_get w2) nud noarp \
485 ip neigh replace 10.1.2.102 lladdr $(in_ns ns1 mac_get w4) nud noarp \
[all …]
/external/python/cpython3/Lib/test/test_email/data/
Dmsg_25.txt47 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
51 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
55 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
59 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
63 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
67 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
71 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
75 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
/external/python/cpython2/Lib/email/test/data/
Dmsg_25.txt47 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
51 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
55 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
59 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
63 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
67 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
71 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
75 Received: from ns1.wellpartner.net ([199.164.235.226]) by zinfandel.lacita.com (8.7.3/8.6.10-MT4.00…
/external/linux-kselftest/tools/testing/selftests/net/
Dtraceroute.sh95 local ns1=$1
104 ip netns exec ${ns1} ip li add ${ns1_dev} type veth peer name tmp
105 ip netns exec ${ns1} ip li set ${ns1_dev} up
106 ip netns exec ${ns1} ip li set tmp netns ${ns2} name ${ns2_dev}
110 ip netns exec ${ns1} ip addr add dev ${ns1_dev} ${ns1_addr}
118 ip netns exec ${ns1} ip addr add dev ${ns1_dev} ${ns1_addr6}
/external/linux-kselftest/tools/testing/selftests/clone3/
Dclone3_set_tid.c156 pid_t pid, ns1, ns2, ns3, ns_pid; in main() local
355 &ns3, &ns2, &ns1); in main()
360 ns1 = ns2 = ns3 = 0; in main()
385 if (ns3 == pid && ns2 == 42 && ns1 == 1) in main()
388 ns3, ns2, ns1); in main()
392 ns3, ns2, ns1); in main()
/external/libxml2/result/XPath/tests/
Dnssimple14 2 namespace ns1 href=nsuri1
18 Expression: //*[namespace::ns1]
22 namespace ns1 href=nsuri1

123