Home
last modified time | relevance | path

Searched full:ping (Results 1 – 25 of 528) sorted by relevance

12345678910>>...22

/linux/drivers/platform/raspberrypi/vchiq-interface/
H A DTESTING53 * Ping test
58 Ping test - service:echo, iters:1000, version 3
59 vchi ping (size 0) -> 57.000000us
60 vchi ping (size 0, 0 async, 0 oneway) -> 122.000000us
63 vchi ping (size 0) -> 49.000000us
64 vchi ping (size 0, 0 async, 0 oneway) -> 70.000000us
67 vchi ping (size 0, 1 async, 0 oneway) -> 65.000000us
69 vchi ping (size 0, 2 async, 0 oneway) -> 74.000000us
71 vchi ping (size 0, 10 async, 0 oneway) -> 125.000000us
73 vchi ping (size 0, 0 async, 1 oneway) -> 70.000000us
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Dbridge_brouter.sh61 # ping net${ns1}, expected to not work (ip forwarding is off)
62 if ip netns exec "$ns1" ping -q -c 1 10.0.0.12 -W 0.5 > /dev/null 2>&1; then
63 echo "ERROR: ping works, should have failed" 1>&2
74 if ! ip netns exec "$ns1" ping -q -c 1 10.0.0.12 > /dev/null; then
75 echo "ERROR: ping did not work, but it should (broute+forward)" 1>&2
82 # ping net${ns1}, expected to work (frames are bridged)
83 if ! ip netns exec "$ns1" ping -q -c 1 10.0.0.12 > /dev/null; then
84 echo "ERROR: ping did not work, but it should (bridged)" 1>&2
90 # ping net${ns1}, expected to not work (DROP in bridge forward)
91 if ip netns exec "$ns1" ping
[all...]
H A Dnft_nat.sh171 # ping netns1, expect rewrite to netns2
172 if ! ip netns exec "$ns0" ping -q -c 1 dead:1::99 > /dev/null;then
212 test $lret -eq 0 && echo "PASS: ipv6 ping to $ns1 was $family NATted to $ns2"
246 # ping netns1, expect rewrite to netns2
247 if ! ip netns exec "$ns0" ping -q -c 1 10.0.1.99 > /dev/null;then
249 echo "ERROR: ping failed"
287 test $lret -eq 0 && echo "PASS: ping to $ns1 was $family NATted to $ns2"
292 if ! ip netns exec "$ns0" ping -q -c 1 10.0.1.99 > /dev/null;then
294 echo "ERROR: ping failed"
331 test $lret -eq 0 && echo "PASS: ping t
[all...]
/linux/Documentation/devicetree/bindings/iio/proximity/
H A Dparallax-ping.yaml4 $id: http://devicetree.org/schemas/iio/proximity/parallax-ping.yaml#
7 title: Parallax PING))) and LaserPING range finder
14 - ping-gpios is raised by the driver to start measurement
15 - direction of ping-gpio is then switched into input with an interrupt
20 http://parallax.com/sites/default/files/downloads/28015-PING-Documentation-v1.6.pdf
25 - parallax,ping
28 ping-gpios:
43 - ping-gpios
52 ping-gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>;
/linux/tools/testing/selftests/net/
H A Dunicast_extensions.sh9 # of address, we test for interface assignment, ping, TCP, and forwarding.
52 # ping and nettest.
65 ip netns exec $foo_ns timeout 2 ping -c 1 $2 || return 1
66 ip netns exec $bar_ns timeout 2 ping -c 1 $1 || return 1
101 ip netns exec $foo_ns timeout 2 ping -c 1 $2 || return 1
102 ip netns exec $foo_ns timeout 2 ping -c 1 $4 || return 1
103 ip netns exec $bar_ns timeout 2 ping -c 1 $3 || return 1
104 ip netns exec $bar_ns timeout 2 ping -c 1 $1 || return 1
164 segmenttest 240.1.2.1 240.1.2.4 24 "assign and ping within 240/4 (1 of 2) (is allowed)"
165 segmenttest 250.100.2.1 250.100.30.4 16 "assign and ping within 240/4 (2 of 2) (is allowed)"
[all …]
H A Dfcnal-test.sh86 which ping6 > /dev/null 2>&1 && ping6=$(which ping6) || ping6=$(which ping)
191 killall nettest ping ping6 >/dev/null 2>&1
192 slowwait 2 sh -c 'test -z "$(pgrep '"'^(nettest|ping|ping6)$'"')"'
594 run_cmd ping -c1 -w1 ${a}
595 log_test_addr ${a} $? 0 "ping out"
598 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
599 log_test_addr ${a} $? 0 "ping out, device bind"
602 run_cmd ping -c1 -w1 -I ${NSA_LO_IP} ${a}
603 log_test_addr ${a} $? 0 "ping out, address bind"
611 run_cmd ping -c 1 -w 1 -r ${a}
[all …]
H A Dvrf_route_leaking.sh24 # The first test sends a ping with a ttl of 1 from h1 to h2 and parses the
30 # The third test sends a ping with a packet size of 1450 from h1 to h2 and
378 ip netns exec $h1 ping -c1 -w1 ${H2_N2_IP} >/dev/null 2>&1
458 log_section "IPv4 ($ttype route): VRF ICMP ttl error route lookup ping"
464 run_cmd_grep "Time to live exceeded" ip netns exec $h1 ping -t1 -c1 -W2 ${H2_N2_IP}
465 log_test $? 0 "Ping received ICMP ttl exceeded"
479 log_section "IPv4 ($ttype route): VRF ICMP fragmentation error route lookup ping"
485 run_cmd_grep "Frag needed" ip netns exec $h1 ping -s 1450 -Mdo -c1 -W2 ${H2_N2_IP}
486 log_test $? 0 "Ping received ICMP Frag needed"
500 log_section "IPv6 ($ttype route): VRF ICMP ttl error route lookup ping"
[all …]
H A Dxfrm_policy.sh12 # ns1: ping 10.0.2.2: passes via ipsec tunnel.
13 # ns2: ping 10.0.1.2: passes via ipsec tunnel.
15 # ns1: ping 10.0.1.253: passes via ipsec tunnel (direct policy)
16 # ns2: ping 10.0.2.253: passes via ipsec tunnel (direct policy)
18 # ns1: ping 10.0.2.254: does NOT pass via ipsec tunnel (exception)
19 # ns2: ping 10.0.1.254: does NOT pass via ipsec tunnel (exception)
206 ip netns exec ${ns[1]} ping -q -c 1 10.0.2.$ip > /dev/null
217 ip netns exec ${ns[2]} ping -q -c 1 10.0.1.$ip > /dev/null
236 # ping to .254 should be excluded from the tunnel (exception is in place).
239 echo "FAIL: expected ping to .254 to fail ($logpostfix)"
[all …]
H A Dipv6_force_forwarding.sh64 # Test 1: Without force_forwarding, ping should fail
68 if ip netns exec $ns1 ping -6 -c 1 -W 2 2001:db8:2::2 &>/dev/null; then
69 echo "FAIL: ping succeeded when forwarding disabled"
75 # Test 2: With force_forwarding enabled, ping should succeed
79 if ip netns exec $ns1 ping -6 -c 1 -W 2 2001:db8:2::2 &>/dev/null; then
82 echo "FAIL: ping failed with force_forwarding enabled"
/linux/samples/bpf/
H A Dtest_lwt_bpf.sh146 ping -c 3 $IPVETH1 || {
162 ping -c 3 $IPVETH1 || {
178 ping -c 3 $IP_LOCAL || {
202 ping -c 3 $IPVETH1 || {
215 ping -c 3 $IP_LOCAL || {
233 ping -c 3 $IPVETH1 || {
249 ping -c 3 $IP_LOCAL || {
273 ping -c 3 $IPVETH1 && {
274 failure "test_drop_all ${1}: Unexpected success of ping"
286 ping -c 3 $IP_LOCAL && {
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtest_tunnel.sh
/linux/tools/testing/selftests/drivers/net/
H A DREADME.rst105 [/root] # ./ksft-net-drv/run_kselftest.sh -t drivers/net:ping.py
109 # selftests: drivers/net: ping.py
112 # ok 1 ping.test_v4
113 # ok 2 ping.test_v6
114 # ok 3 ping.test_tcp
116 ok 1 selftests: drivers/net: ping.py
130 [/root] # ./ksft-net-drv/drivers/net/ping.py
133 ok 1 ping.test_v4
134 ok 2 ping.test_v6 # SKIP Test requires IPv6 connectivity
135 ok 3 ping.test_tcp
/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_locked_port.sh100 check_err $? "Ping did not work before locking port"
105 check_fail $? "Ping worked after locking port, but before adding FDB entry"
110 check_err $? "Ping did not work after locking port and adding FDB entry"
116 check_err $? "Ping did not work after unlocking port and removing FDB entry."
131 check_err $? "Ping through vlan did not work before locking port"
135 check_fail $? "Ping through vlan worked after locking port, but before adding FDB entry"
140 check_err $? "Ping through vlan did not work after locking port and adding FDB entry"
146 check_err $? "Ping through vlan did not work after unlocking port and removing FDB entry"
185 check_err $? "Ping did not work before locking port"
190 check_fail $? "Ping worked on a locked port without an FDB entry"
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/infra/
H A Dqdiscs.json21 "ping -c1 -W0.01 -I $DUMMY 10.10.10.1 || true",
25 "cmdUnderTest": "ping -c1 -W0.01 -I $DUMMY 10.10.10.1",
51 "ping -c1 -W0.01 -I $DUMMY 10.10.10.1 || true",
55 "cmdUnderTest": "ping -c1 -W0.01 -I $DUMMY 10.10.10.1",
85 "ping -c1 -W0.01 -I $DUMMY 10.10.10.1 || true"
120 "cmdUnderTest": "ping -c1 -W0.01 -I $DUMMY 10.10.10.1",
148 "cmdUnderTest": "ping -c1 -W0.01 -I $DUMMY 10.10.11.11",
172 "ping -c 1 -W 0.1 -Q 0x00 -s 1400 -I $DUMMY 10.10.10.1 > /dev/null || true",
173 "ping -c 1 -W 0.1 -Q 0x1c -s 1400 -I $DUMMY 10.10.10.1 > /dev/null || true",
174 "ping -c 1 -W 0.1 -Q 0x00 -s 1400 -I $DUMMY 10.10.10.1 > /dev/null || true",
[all …]
/linux/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
H A Dtrigger-snapshot-action-hist.tc4 …apshot events/sched/sched_process_fork/hist "onchange(var)":README "snapshot()":README ping:program
16 …nchange($newprio).save(comm,prio):onchange($newprio).snapshot() if comm=="ping"' >> events/sched/s…
18 ping $LOCALHOST -c 3
19 nice -n 1 ping $LOCALHOST -c 3
27 if ! grep -q "comm=ping" snapshot; then
31 …nchange($newprio).save(comm,prio):onchange($newprio).snapshot() if comm=="ping"' >> events/sched/s…
H A Dtrigger-field-variable-support.tc4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist ping:program
14 echo 'hist:keys=comm:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_waking/trigger
15 …cy($wakeup_lat,next_pid,sched.sched_waking.prio,next_comm) if next_comm=="ping"' > events/sched/sc…
18 ping $LOCALHOST -c 3
19 if ! grep -q "ping" events/synthetic/wakeup_latency/hist; then
27 …cy($wakeup_lat,next_pid,sched.sched_waking.prio,next_comm) if next_comm=="ping"' >> events/sched/s…
H A Dtrigger-inter-event-combined-hist.tc4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist ping:program
20 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_waking/trigger
21 …ts0:onmatch(sched.sched_waking).waking_latency($waking_lat,pid) if comm=="ping"' > events/sched/sc…
25 echo 'hist:keys=pid:ts1=common_timestamp.usecs if comm=="ping"' >> events/sched/sched_wakeup/trigger
26 …h(sched.sched_wakeup).wakeup_latency($wakeup_lat,next_pid) if next_comm=="ping"' > events/sched/sc…
32 ping $LOCALHOST -c 3
H A Dtrigger-onchange-action-hist.tc4 # requires: set_event "onchange(var)":README ping:program
14 echo 'hist:keys=comm:newprio=prio:onchange($newprio).save(comm,prio) if comm=="ping"' >> events/sch…
16 ping $LOCALHOST -c 3
17 nice -n 1 ping $LOCALHOST -c 3
23 echo '!hist:keys=comm:newprio=prio:onchange($newprio).save(comm,prio) if comm=="ping"' >> events/sc…
H A Dtrigger-onmatch-action-hist.tc4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist ping:program
21 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_wakeup/trigger
22 …hed_wakeup).wakeup_latency($wakeup_lat,next_pid,next_comm) if next_comm=="ping"' > events/sched/sc…
25 ping $LOCALHOST -c 5
26 if ! grep -q "ping" events/synthetic/wakeup_latency/hist; then
H A Dtrigger-trace-action-hist.tc4 …synthetic_events events/sched/sched_process_fork/hist "trace(<synthetic_event>":README ping:program
21 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_wakeup/trigger
22 …keup).trace(wakeup_latency,$wakeup_lat,next_pid,next_comm) if next_comm=="ping"' > events/sched/sc…
25 ping $LOCALHOST -c 5
27 if ! grep -q "ping" events/synthetic/wakeup_latency/hist; then
H A Dtrigger-onmatch-onmax-action-hist.tc4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist ping:program
21 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_wakeup/trigger
22 …($wakeup_lat).save(next_comm,prev_pid,prev_prio,prev_comm) if next_comm=="ping"' >> events/sched/s…
25 ping $LOCALHOST -c 5
26 if [ ! grep -q "ping" events/synthetic/wakeup_latency/hist -o ! grep -q "max:" events/sched/sched_s…
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_storage.c10 #define PING_CMD "ping localhost -c 1 -W 1 -q"
61 ASSERT_OK(err, "first ping"); in test_cgroup_storage()
63 ASSERT_NEQ(err, 0, "second ping"); in test_cgroup_storage()
65 ASSERT_OK(err, "third ping"); in test_cgroup_storage()
83 ASSERT_OK(err, "fourth ping"); in test_cgroup_storage()
85 ASSERT_NEQ(err, 0, "fifth ping"); in test_cgroup_storage()
87 ASSERT_OK(err, "sixth ping"); in test_cgroup_storage()
/linux/tools/testing/selftests/drivers/net/hw/
H A Dethtool.sh68 check_err $? "ping with speed $speed autoneg off"
78 # Test that when we force different speeds, links are not up and ping
92 check_fail $? "ping with different speeds"
104 # are up and ping passes.
114 check_err $? "ping with h1-speed=$speed autoneg off, h2 autoneg on"
183 # are up and ping passes.
208 check_err $? "ping with h1=$speed_1_to_advertise, h2=$speed_2_to_advertise ($speed_value)"
261 # links are not up and ping fails.
278 check_fail $? "ping with different speeds autoneg on"
/linux/Documentation/translations/zh_CN/core-api/irq/
H A Dirq-affinity.rst39 [root@moon 44]# ping -f h
40 PING hell (195.4.7.3): 56 data bytes
42 --- hell ping statistics ---
57 [root@moon 44]# ping -f h
58 PING hell (195.4.7.3): 56 data bytes
60 --- hell ping statistics ---
/linux/tools/perf/tests/shell/
H A Drecord+probe_libc_inet_pton.sh2 # probe libc's inet_pton & backtrace it with ping (exclusive)
5 # then use 'perf trace' on a ping to localhost asking for just one packet
39 echo "ping[][0-9 \.:]+$event_name: \([[:xdigit:]]+\)" > $expected
45 echo "(gaih_inet|main)\+0x[[:xdigit:]]+[[:space:]]\(inlined|.*/bin/ping.*\)$" >> $expected
49 echo ".*(\+0x[[:xdigit:]]+|\[unknown\])[[:space:]]\(.*/bin/ping.*\)$" >> $expected
63 perf record -e $event_name/$eventattr/ -o $perf_data ping -6 -c 1 ::1 > /dev/null 2>&1
69 perf script -i $perf_data | tac | grep -m1 ^ping -B9 | tac > $perf_script

12345678910>>...22