Home
last modified time | relevance | path

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

12345678910>>...64

/external/iputils/
DRELNOTES24 ping,ping6: Check outgoing device only if specified.
30 ping,tracepath doc: Fix missing end tags.
39 ping,rdisc: Optimize checksumming.
42 ping,rdisc: Use macro to get odd byte when checksumming.
47 ping,ping6: Allow printing usage without permission errors.
48 ping,ping6: Fix cap_t leakage.
49 arping,ping,ping6: Do not ideologically check return value from cap_free,cap_{set,get}_flag().
65 ping: Exit on SO_BINDTODEVICE failure.
66 ping: Warn if kernel has selected source address from other interface.
67 ping: Clarify difference between -I device and -I addr.
[all …]
/external/rust/crates/h2/src/frame/
Dping.rs9 pub struct Ping { struct
15 // zeroes to distinguish this specific PING from any other.
19 impl Ping { argument
32 pub fn new(payload: Payload) -> Ping { in new() argument
33 Ping { in new()
39 pub fn pong(payload: Payload) -> Ping { in pong() argument
40 Ping { ack: true, payload } in pong()
55 /// Builds a `Ping` frame from a raw frame.
56 pub fn load(head: Head, bytes: &[u8]) -> Result<Ping, Error> { in load() argument
57 debug_assert_eq!(head.kind(), crate::frame::Kind::Ping); in load()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DKeepAliveManagerTest.java70 // Forward clock to keepAliveTimeInNanos will send the ping. Shutdown task should be scheduled. in sendKeepAlivePings()
72 verify(keepAlivePinger).ping(); in sendKeepAlivePings()
77 // Ping succeeds. Reschedule another ping. in sendKeepAlivePings()
83 // Next ping should be exactly 1000 nanoseconds later. in sendKeepAlivePings()
92 // We receive some data. We may need to delay the ping. in keepAlivePingDelayedByIncomingData()
97 // We didn't send the ping. in keepAlivePingDelayedByIncomingData()
98 verify(keepAlivePinger, never()).ping(); in keepAlivePingDelayedByIncomingData()
124 pinger.ping(); in clientKeepAlivePinger_pingFailure()
127 verify(transport).ping(pingCallbackCaptor.capture(), isA(Executor.class)); in clientKeepAlivePinger_pingFailure()
160 // Forward clock to keepAliveTimeInNanos will send the ping. Shutdown task should be scheduled. in keepAlivePingTimesOut()
[all …]
/external/openthread/include/openthread/
Dping_sender.h32 * This file includes the OpenThread API for ping sender module.
49 * @addtogroup api-ping-sender
52 * This file includes the OpenThread API for the ping sender module.
59 * Represents a ping reply.
64 …otIp6Address mSenderAddress; ///< Sender IPv6 address (address from which ping reply was received…
72 * Represents statistics of a ping request.
77 uint16_t mSentCount; ///< The number of ping requests already sent.
78 uint16_t mReceivedCount; ///< The number of ping replies received.
79 uint32_t mTotalRoundTripTime; ///< The total round trip time of ping requests.
80 uint16_t mMinRoundTripTime; ///< The min round trip time among ping requests.
[all …]
/external/rust/crates/h2/src/proto/
Dping_pong.rs2 use crate::frame::Ping;
13 /// Acknowledges ping requests from the remote.
50 /// No user ping pending.
52 /// User has called `send_ping`, but PING hasn't been written yet.
54 /// User PING has been written, waiting for PONG.
91 payload: Ping::SHUTDOWN, in ping_shutdown()
96 /// Process a ping
97 pub(crate) fn recv_ping(&mut self, ping: Ping) -> ReceivedPing { in recv_ping()
102 if ping.is_ack() { in recv_ping()
104 if &pending.payload == ping.payload() { in recv_ping()
[all …]
/external/autotest/client/common_lib/cros/network/
Dping_runner.py67 """Implement ping functionality for MacOS hosts."""
72 @param ping_config PingConfig object describing the ping test for which
74 @return list of parameters to ping.
96 # The last argument is the IP address to ping.
103 """Extract the ping results from stdout.
105 @param ping_output string stdout from a ping/ping6 command.
107 stdout from ping command looks like:
109 PING 8.8.8.8 (8.8.8.8): 56 data bytes
114 --- 8.8.8.8 ping statistics ---
130 to support both ping and ping6 commands.
[all …]
/external/openthread/src/core/utils/
Dping_sender.hpp31 * This file includes definitions to support ping functionality.
65 * Represents a ping reply.
71 * Represents the statistics of several ping requests.
90 * Represents a ping request configuration.
99 * Gets the source IPv6 address of the ping.
101 * @returns The ping source IPv6 address.
107 * Gets the source IPv6 address of the ping.
109 * @returns The ping source IPv6 address.
115 * Gets the destination IPv6 address to ping.
117 * @returns The ping destination IPv6 address.
[all …]
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dping_callbacks.h46 // Request a ping (but one we don't need any notification for when it begins
50 // Request a ping, and specify callbacks for when it begins and ends.
55 // Request a notification when *some* ping is acked:
56 // If there is no ping in flight, one will be scheduled and the callback
58 // If there is a ping in flight, the callback will be invoked when the most
59 // recently sent ping is acked.
63 // Write path: begin a ping.
64 // Uses bitgen to generate a randomized id for the ping.
70 // Cancel all the ping callbacks.
72 // if a ping is acked after this call.
[all …]
/external/bcc/examples/networking/tunnel_monitor/
Dtraffic.sh15 tmux send -t $S "$cmd ping 192.168.0.1 -s512" C-m
17 tmux send -t $S "$cmd ping 192.168.0.2 -s128" C-m
19 tmux send -t $S "$cmd ping 192.168.0.3 -s1024" C-m
21 tmux send -t $S "$cmd ping 192.168.0.4 -s128" C-m
23 tmux send -t $S "$cmd ping 192.168.0.5 -s128" C-m
25 tmux send -t $S "$cmd ping 192.168.0.6 -s128" C-m
27 tmux send -t $S "$cmd ping 192.168.1.2 -s128" C-m
29 tmux send -t $S "$cmd ping 192.168.1.4 -s768" C-m
31 tmux send -t $S "$cmd ping 192.168.2.2 -s128" C-m
33 tmux send -t $S "$cmd ping 192.168.2.7 -s1024" C-m
[all …]
/external/openthread/tests/scripts/thread-cert/backbone/
Dtest_mlr_multicast_routing_timeout.py103 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
110 self.assertTrue(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
118 # But PBBR should still forward the Ping Requests to Thread network
119 self.nodes[HOST].ping(MA1, backbone=True, ttl=10)
124 # PBBR should not forward the Ping Requests to Thread network
125 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
148ping = before_mr_pkts.filter_eth_src(HOST_ETH).filter_ipv6_dst(MA1).filter_ping_request().must_nex…
150 # PBBR should not forward this ping request to Thread network
152 identifier=ping.icmpv6.echo.identifier).must_not_next()
155 ping = pkts.filter_eth_src(HOST_ETH).filter_ipv6_dst(MA1).filter_ping_request().must_next()
[all …]
Dtest_mlr_multicast_routing_commissioner_timeout.py57 # Ping 1: PBBR should not forward to Thread network
58 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
69 # Ping 2: PBBR should forward to Thread network
70 self.nodes[HOST].ping(MA1, backbone=True, ttl=10)
74 # Ping 3: PBBR should forward to Thread network
75 self.nodes[HOST].ping(MA1, backbone=True, ttl=10)
79 # Ping 4: PBBR should NOT forward to Thread network
80 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
108 # Ping 1: Host pings Router before MLR.reg
112 # PBBR should not forward Ping 1 to Thread network
[all …]
Dtest_mlr_multicast_routing_across_thread_pans.py146 # ping MA1 from Host could generate a reply from R1 and R2
147 self.assertTrue(self.nodes[HOST].ping(MA1, backbone=True, ttl=5))
152 # ping MA2 from R1 could generate a reply from Host and R2
153 self.assertTrue(self.nodes[ROUTER1].ping(MA2))
158 # ping MA2 from R1's MLE-ID shouldn't generate a reply from Host or R2
159 self.assertFalse(self.nodes[ROUTER1].ping(MA2, interface=self.nodes[ROUTER1].get_mleid()))
162 # ping MA2 from R1's LLA shouldn't generate a reply from Host or R2
163 … self.assertFalse(self.nodes[ROUTER1].ping(MA2, interface=self.nodes[ROUTER1].get_linklocal()))
186 # Verify Host ping MA1 to R1 and R2
189 # Host should send ping MA1 in the Backbone link
[all …]
/external/openthread/tests/scripts/thread-cert/border_router/MATN/
DMATN_02_MLRFirstUse.py119 # 7. Host sends a ping packet to the multicast address, MA1. TD should
120 # respond to the ping request.
122 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
125 # 11. Host sends a ping packet to the multicast address, MA2. No one
128 …host.ping(MA2, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
131 # 14. Host sends a ping packet to the multicast address, MA1g. No one
134 …host.ping(MA1g, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_U…
137 # 17. Host sends a ping packet to the global unicast address of BR2. BR2
139 …self.assertTrue(host.ping(br2.get_ip6_address(config.ADDRESS_TYPE.BACKBONE_GUA), backbone=True, tt…
203 # 7. Host sends a ping packet to the multicast address, MA1.
[all …]
DMATN_12_HopLimitProcessing.py103 # 1. Host multicasts a ping packet to the multicast address, MA1, with
107 host.ping(MA1,
114 # 4. Host multicasts a ping packet to the multicast address, MA1, with
117 host.ping(MA1,
124 # 6. Router_1 sends a ping packet encapsulated in an MPL packet to the
127 self.assertFalse(router1.ping(MA2, hoplimit=159, size=130))
130 # 8. Router_1 sends a ping packet encapsulated in an MPL multicast
134 self.assertFalse(router1.ping(MA2, hoplimit=2, size=130))
137 # 10. Router_1 sends a ping packet encapsulated in an MPL multicast
140 self.assertFalse(router1.ping(MA2, hoplimit=1, size=130))
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3ConnectionTest.java100 peer.acceptFrame(); // PING in headersOnlyStreamIsClosedAfterReplyHeaders()
101 peer.sendFrame().ping(true, 1, 0); in headersOnlyStreamIsClosedAfterReplyHeaders()
109 connection.ping().roundTripTime(); // Ensure that inFinished has been received. in headersOnlyStreamIsClosedAfterReplyHeaders()
118 peer.acceptFrame(); // PING in clientCreatesStreamAndServerRepliesWithFin()
120 peer.sendFrame().ping(true, 1, 0); in clientCreatesStreamAndServerRepliesWithFin()
127 connection.ping().roundTripTime(); // Ensure that the SYN_REPLY has been received. in clientCreatesStreamAndServerRepliesWithFin()
134 MockSpdyPeer.InFrame ping = peer.takeFrame(); in clientCreatesStreamAndServerRepliesWithFin() local
135 assertEquals(TYPE_PING, ping.type); in clientCreatesStreamAndServerRepliesWithFin()
211 peer.sendFrame().ping(false, 2, 0); in serverPingsClient()
212 peer.acceptFrame(); // PING in serverPingsClient()
[all …]
/external/grpc-grpc-java/binder/src/main/java/io/grpc/binder/internal/
DPingTracker.java28 * Tracks an ongoing ping request for a client-side binder transport. We only handle a single active
29 * ping at a time, since that's all gRPC appears to need.
35 * Send a ping to the remote endpoint. We expect a subsequent call to {@link #onPingResponse}
36 * with the same ID (assuming the ping succeeds).
46 private Ping pendingPing;
57 * Start a ping.
59 * <p>See also {@link ClientTransport#ping}.
61 * @param callback The callback to report the ping result on.
63 * <p>Note that only one ping callback will be active at a time.
66 pendingPing = new Ping(callback, executor, nextPingId++); in startPing()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DKeepAliveManager.java55 // We haven't received a ping response within the timeout. The connection is likely gone
75 // Schedule a shutdown. It fires if we don't receive the ping response within the timeout.
79 // We have received some data. Reschedule the ping with the new time.
88 // Send the ping.
89 keepAlivePinger.ping();
104 * We have scheduled a ping to be sent in the future. We may decide to delay it if we receive
109 * We need to delay the scheduled keepalive ping.
113 * The ping has been sent out. Waiting for a ping response.
117 * Transport goes idle after ping has been sent.
162 // We do not cancel the ping future here. This avoids constantly scheduling and cancellation in in onDataReceived()
[all …]
DHttp2Ping.java30 * Represents an outstanding PING operation on an HTTP/2 channel. This can be used by HTTP/2-based
31 * transports to implement {@link ClientTransport#ping}.
33 * <p>A typical transport need only support one outstanding ping at a time. So, if a ping is
41 * The PING frame includes 8 octets of payload data, e.g. 64 bits.
63 * If non-null, indicates the ping failed.
68 * The round-trip time for the ping, in nanoseconds. This value is only meaningful when
74 * Creates a new ping operation. The caller is responsible for sending a ping on an HTTP/2 channel
76 * PING frame is sent.
78 * @param data the ping payload
87 * Registers a callback that is invoked when the ping operation completes. If this ping operation
[all …]
/external/autotest/client/site_tests/desktopui_CheckRlzPingSent/
Ddesktopui_CheckRlzPingSent.py26 Checks the RLZ data file for CAI and CAF ping events.
84 raise error.TestFail('RLZ ping did not send in %d '
108 (CAF) pings are sent. After the first user login, the CAI ping will
110 can be overridden by specifying the rlz-ping-delay flag in
111 /etc/chrome_dev.conf, or by using the --rlz-ping-delay argument to
114 specified), the CAF ping will be sent as well. Ping status is checked
121 ping to be sent, False if not expecting it.
122 The ping would not be expected if the relevant
129 @param pre_login: Whether or not to login before the main RLZ ping
133 'lock' the device for RLZ before the ping can be
[all …]
/external/autotest/server/site_tests/rlz_CheckPing/
Drlz_CheckPing.py43 send the ping, 0 to not send it, None to
73 In the typical case where the first-use event (CAF) ping is sent
75 values should be cleared. If the CAF ping is not sent, they will
120 @param pre_login: Whether or not to login before the main RLZ ping
124 'lock' the device for RLZ before the ping can be
127 ensure no ping is sent. Used to verify that the ping
139 ping, 0 to not send it. The ping should
142 the CAF ping has been sent. It is set to
143 0 after the CAF ping to ensure it is not
147 will be cleared. No CAF ping should be
[all …]
/external/autotest/server/hosts/
Dcros_repair_unittest.py20 (repair_utils.PingVerifier, 'ping', ()),
21 (repair_utils.SshVerifier, 'ssh', ('ping', )),
50 'ping',
55 'ping',
61 ('ping', 'ssh', 'stop_start_ui', 'power')),
63 'ping',
69 ('ping', 'ssh', 'fwstatus', 'good_provision')),
80 'ping',
83 (cros_repair.RecoverACPowerRepair, 'ac_recover', (), ('ping',
86 ('ping', 'ssh', 'writable', 'tpm', 'good_provision',
[all …]
/external/linux-kselftest/tools/testing/selftests/netfilter/
Dbridge_brouter.sh71 # ping netns1, expected to not work (ip forwarding is off)
72 ip netns exec ns1 ping -q -c 1 10.0.0.12 > /dev/null 2>&1
74 echo "ERROR: ping works, should have failed" 1>&2
87 ip netns exec ns1 ping -q -c 1 10.0.0.12 > /dev/null
89 echo "ERROR: ping did not work, but it should (broute+forward)" 1>&2
96 # ping netns1, expected to work (frames are bridged)
97 ip netns exec ns1 ping -q -c 1 10.0.0.12 > /dev/null
99 echo "ERROR: ping did not work, but it should (bridged)" 1>&2
105 # ping netns1, expected to not work (DROP in bridge forward)
106 ip netns exec ns1 ping -q -c 1 10.0.0.12 > /dev/null 2>&1
[all …]
/external/grpc-grpc/doc/
Dkeepalive.md3 …alive ping is a way to check if a channel is currently working by sending HTTP2 pings over the tra…
5 …s guide documents the knobs within gRPC core to control the current behavior of the keepalive ping.
7 The keepalive ping in core is controlled by the following channel arguments -
10 …* This channel argument controls the period (in milliseconds) after which a keepalive ping is sent…
12 …controls the amount of time (in milliseconds) the sender of the keepalive ping waits for an acknow…
14 …epalive.md). There should ideally be no such restriction on the keepalive ping and we plan to depr…
21 …s less that than this time, then the ping will be considered a bad ping from the peer. Such a ping
45 …epalive timer fires, gRPC Core will try to send a keepalive ping on the transport. This ping can b…
48 …epalive ping is not blocked and is sent on the transport, then the keepalive watchdog timer is sta…
/external/iputils/doc/
Dping.sgml1 <refentry id="ping">
4 <refentrytitle>ping</refentrytitle>
10 <refname>ping, ping6</refname>
16 <command>ping</command>
41 <command/ping/ uses the ICMP protocol's mandatory ECHO_REQUEST
48 <command/ping6/ is IPv6 version of <command/ping/, and can also send Node Information Queries (RFC4…
59 Audible ping.
65 Adaptive ping. Interpacket interval adapts to round-trip time, so that
80 Do not allow <command/ping/ to change source address of probes.
81 The address is bound to one selected when <command/ping/ starts.
[all …]
/external/openthread/src/core/config/
Dping_sender.h31 * This file includes compile-time configurations for ping sender module.
39 * @addtogroup config-ping-sender
42 * This module includes configuration variables for Ping Sender.
51 * Define to 1 to enable ping sender module.
53 …* Ping sender module implements sending ICMPv6 Echo Request messages and processing ICMPv6 Echo Re…
63 * Specifies the default ping interval (time between sending echo requests) in milliseconds.
73 …* Specifies the default ping timeout in milliseconds. The timeout is the max acceptable time gap b…
84 …* Specifies the default ping data size in bytes. The data size specifies the Echo Request data pay…
95 * Specifies the default ping count (number of ping messages to send).

12345678910>>...64