Home
last modified time | relevance | path

Searched refs:ns2 (Results 1 – 25 of 114) sorted by relevance

12345

/external/linux-kselftest/tools/testing/selftests/netfilter/
Dnft_nat.sh14 ns2="ns2-$sfx"
47 ip netns add "$ns2"
49 echo "SKIP: Could not create net namespace $ns2"
58 ip link add veth1 netns "$ns0" type veth peer name eth0 netns "$ns2"
216 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns2${dir} | grep -q "$expect")
218 bad_counter "$ns0" ns2$dir "$expect" "test_local_dnat6 2"
236 cnt=$(ip netns exec "$ns2" nft list counter inet filter ns0${dir} | grep -q "$expect")
238 bad_counter "$ns2" ns0$dir "$expect" "test_local_dnat6 4"
243 test $lret -eq 0 && echo "PASS: ipv6 ping to $ns1 was $family NATted to $ns2"
296 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns2${dir} | grep -q "$expect")
[all …]
Dipvs.sh71 ip netns add ns2
74 ip link add veth02 netns ns0 type veth peer name veth20 netns ns2
75 ip link add veth12 netns ns1 type veth peer name veth21 netns 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
95 ip netns exec ns2 ip addr add ${sip_v4}/24 dev veth20
117 ip netns exec ns2 nc -l -p 8080 > "${outfile}" &
147 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_ignore=1
[all …]
Dnft_flowtable.sh49 ip netns add ns2
72 ip link add veth1 netns nsr2 type veth peer name eth0 netns ns2
96 ip -net ns2 link set eth0 mtu 2000
181 ip netns exec ns2 ping -c 1 -q 10.0.1.99 > /dev/null
290 test_tcp_forwarding ns1 ns2
302 ip -net ns2 route del default via 10.0.2.1
303 ip -net ns2 route del default via dead:2::1
304 ip -net ns2 route add 192.168.10.1 via 10.0.2.1
322 test_tcp_forwarding_nat ns1 ns2
343 ip netns exec ns2 sysctl net.ipv4.ip_no_pmtu_disc=0 > /dev/null
[all …]
Dbridge_brouter.sh28 ip netns add ns2
35 ip link add veth1 netns ns0 type veth peer name eth0 netns ns2
115 ip netns exec ns2 ping -q -c 1 10.0.0.11 > /dev/null
132 ip netns exec ns2 ping -c 1 -q 10.0.0.11 > /dev/null
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_tc_tunnel.sh11 readonly ns2="${ns_prefix}2"
29 ip netns add "${ns2}"
32 peer name veth2 mtu 1500 netns "${ns2}"
37 ip -netns "${ns2}" link set veth2 up
40 ip -netns "${ns2}" -4 addr add "${ns2_v4}/24" dev veth2
42 ip -netns "${ns2}" -6 addr add "${ns2_v6}/64" dev veth2 nodad
56 ip netns del "${ns2}"
72 ip netns exec "${ns2}" nc "${netcat_opt}" -l -p "${port}" > "${outfile}" &
213 ip netns exec "${ns2}" ip fou add port $dport ipproto ${dproto}
234 ip netns exec "${ns2}" ip link add name testtun0 type "${ttype}" \
[all …]
Dtest_xdp_vlan.sh57 ip netns del ns2 2> /dev/null
127 ip netns del ns2 2> /dev/null
145 ip netns add ns2
155 ip link set veth2 netns ns2
163 ip netns exec ns2 ethtool -K veth2 rxvlan off
166 ip netns exec ns2 ethtool -K veth2 txvlan off
179 ip netns exec ns2 ip link add link $DEVNS2 name $DEVNS2.$VLAN type vlan id $VLAN
180 ip netns exec ns2 ip addr add ${IPADDR2}/24 dev $DEVNS2.$VLAN
181 ip netns exec ns2 ip link set $DEVNS2 up
182 ip netns exec ns2 ip link set $DEVNS2.$VLAN up
[all …]
Dtest_xdp_meta.sh14 ip netns del ns2 2> /dev/null
25 ip netns add ns2
32 ip link set veth2 netns ns2
35 ip netns exec ns2 ip addr add 10.1.1.22/24 dev veth2
38 ip netns exec ns2 tc qdisc add dev veth2 clsact
41 ip netns exec ns2 tc filter add dev veth2 ingress bpf da obj test_xdp_meta.o sec t
44 ip netns exec ns2 ip link set dev veth2 xdp obj test_xdp_meta.o sec x
47 ip netns exec ns2 ip link set dev veth2 up
50 ip netns exec ns2 ping -c 1 10.1.1.11
Dtest_xdp_redirect.sh25 ip netns del ns2 2> /dev/null
36 ip netns add ns2
44 ip link set veth22 netns ns2
50 ip netns exec ns2 ip addr add 10.1.1.22/24 dev veth22
53 ip netns exec ns2 ip link set dev veth22 up
59 ip netns exec ns2 ping -c 1 10.1.1.11
Dtest_lwt_seg6local.sh45 ip netns del ns2 2> /dev/null
56 ip netns add ns2
71 ip link set veth2 netns ns2
72 ip link set veth3 netns ns2
82 ip netns exec ns2 ip link set dev veth2 up
83 ip netns exec ns2 ip link set dev veth3 up
96 ip netns exec ns2 ip -6 addr add fb00::21/16 dev veth2 scope link
97 ip netns exec ns2 ip -6 addr add fb00::34/16 dev veth3 scope link
98 ip netns exec ns2 ip -6 route add fb00::43 dev veth3 scope link
114 ip netns exec ns2 ip -6 route add fb00::6 encap bpf in obj test_lwt_seg6local.o sec encap_srh dev v…
[all …]
Dtest_xdp_veth.sh33 ip netns del ns2 2> /dev/null
81 ip netns add ns2
85 ip link add veth2 index 122 type veth peer name veth22 netns ns2
96 ip -n ns2 link set dev veth22 up
111 ip -n ns2 link set dev veth22 xdp obj xdp_tx.o sec tx
/external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/
Dop_divide_duration.pass.cpp29 std::chrono::nanoseconds ns2(5); in main() local
30 assert(ns1 / ns2 == 3); in main()
34 std::chrono::nanoseconds ns2(5); in main() local
35 assert(us1 / ns2 == 3000); in main()
50 constexpr std::chrono::nanoseconds ns2(5); in main() local
51 static_assert(ns1 / ns2 == 3, ""); in main()
55 constexpr std::chrono::nanoseconds ns2(5); in main() local
56 static_assert(us1 / ns2 == 3000, ""); in main()
Dop_mod_duration.pass.cpp28 std::chrono::nanoseconds ns2(6); in main() local
29 std::chrono::nanoseconds r = ns1 % ns2; in main()
34 std::chrono::nanoseconds ns2(28); in main() local
35 std::chrono::nanoseconds r = us1 % ns2; in main()
47 constexpr std::chrono::nanoseconds ns2(6); in main() local
48 constexpr std::chrono::nanoseconds r = ns1 % ns2; in main()
53 constexpr std::chrono::nanoseconds ns2(28); in main() local
54 constexpr std::chrono::nanoseconds r = us1 % ns2; in main()
Dop_mod_rep.pass.cpp34 constexpr std::chrono::nanoseconds ns2 = ns % 6; in main() local
35 static_assert(ns2.count() == 3, ""); in main()
/external/llvm-project/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/
Dop_divide_duration.pass.cpp28 std::chrono::nanoseconds ns2(5); in main() local
29 assert(ns1 / ns2 == 3); in main()
33 std::chrono::nanoseconds ns2(5); in main() local
34 assert(us1 / ns2 == 3000); in main()
49 constexpr std::chrono::nanoseconds ns2(5); in main() local
50 static_assert(ns1 / ns2 == 3, ""); in main()
54 constexpr std::chrono::nanoseconds ns2(5); in main() local
55 static_assert(us1 / ns2 == 3000, ""); in main()
Dop_mod_duration.pass.cpp27 std::chrono::nanoseconds ns2(6); in main() local
28 std::chrono::nanoseconds r = ns1 % ns2; in main()
33 std::chrono::nanoseconds ns2(28); in main() local
34 std::chrono::nanoseconds r = us1 % ns2; in main()
46 constexpr std::chrono::nanoseconds ns2(6); in main() local
47 constexpr std::chrono::nanoseconds r = ns1 % ns2; in main()
52 constexpr std::chrono::nanoseconds ns2(28); in main() local
53 constexpr std::chrono::nanoseconds r = us1 % ns2; in main()
/external/llvm-project/clang/test/CXX/basic/basic.lookup/basic.lookup.udir/
Dp1.cpp8 void ns2();
15 namespace ns2 { namespace
26 namespace test4 = ns2;
30 using namespace ns2;
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.udir/
Dp1.cpp8 void ns2();
15 namespace ns2 { namespace
26 namespace test4 = ns2;
30 using namespace ns2;
/external/libxml2/result/XPath/tests/
Dnssimple7 namespace ns2 href=nsuri2
15 3 namespace ns2 href=nsuri2
25 namespace ns2 href=nsuri2
29 Expression: /doc/elem/namespace::ns2/following::*
35 Expression: /doc/elem/namespace::ns2/preceding::*
/external/tcpdump/tests/
Ddnssec-vv.out4ns2.cynic.net., cynic.net. NS ns3.cynic.net., cynic.net. RRSIG, cynic.net. RRSIG ar: ns1.cynic.net…
8 …t., cynic.net. NS ns2.cynic.net., cynic.net. NS ns3.cynic.net., cynic.net. NS ns1.cynic.net. ar: n…
12 …t., cynic.net. NS ns3.cynic.net., cynic.net. NS ns2.cynic.net. ar: ns1.cynic.net. A 125.100.126.20…
/external/python/cpython3/Lib/test/
Dtest_types.py1184 ns2 = types.SimpleNamespace(x=1, y=2)
1194 self.assertEqual(len(ns2.__dict__), 2)
1195 self.assertEqual(vars(ns2), {'y': 2, 'x': 1})
1201 ns2 = vars(types.SimpleNamespace(x=1, y=2))
1204 self.assertEqual(ns2, {'y': 2, 'x': 1})
1208 ns2 = types.SimpleNamespace(x=1, y=2)
1214 self.assertEqual(ns2.__dict__, {'y': 2, 'x': 1})
1228 ns2 = types.SimpleNamespace(x=1, y=2, w=3)
1231 ns2.z = 4
1232 ns2.theta = None
[all …]
/external/llvm-project/clang-tools-extra/clangd/unittests/
DDecisionForestTests.cpp9 using Example = ::ns1::ns2::test::Example; in TEST()
10 using Cat = ::ns1::ns2::TestEnum; in TEST()
11 using ::ns1::ns2::test::Evaluate; in TEST()
/external/llvm-project/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.memdef/
Dp3.cpp159 namespace ns2 { namespace
171 ns2::B::foo(); // expected-error {{'foo' is a private member of 'test7c::ns2::B'}} in test()
180 namespace ns2 { namespace
191 ns2::B::foo(); in test()
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.memdef/
Dp3.cpp159 namespace ns2 { namespace
171 ns2::B::foo(); // expected-error {{'foo' is a private member of 'test7c::ns2::B'}} in test()
180 namespace ns2 { namespace
191 ns2::B::foo(); in test()
/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/test/XPath/tests/
Dnssimple4 /doc/elem/namespace::ns2/following::*
5 /doc/elem/namespace::ns2/preceding::*

12345