Home
last modified time | relevance | path

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

12345678910>>...22

/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dping_callbacks.h41 // Request a ping (but one we don't need any notification for when it begins
45 // Request a ping, and specify callbacks for when it begins and ends.
50 // Request a notification when *some* ping is acked:
51 // If there is no ping in flight, one will be scheduled and the callback
53 // If there is a ping in flight, the callback will be invoked when the most
54 // recently sent ping is acked.
58 // Write path: begin a ping.
59 // Uses bitgen to generate a randomized id for the ping.
65 // Cancel all the ping callbacks.
67 // if a ping is acked after this call.
[all …]
Dping_callbacks.cc64 auto ping = inflight_.extract(id); in AckPing() local
65 if (ping.empty()) return false; in AckPing()
66 if (ping.mapped().on_timeout != in AckPing()
68 event_engine->Cancel(ping.mapped().on_timeout); in AckPing()
70 for (auto& cb : ping.mapped().on_ack) { in AckPing()
/third_party/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…
/third_party/lwip/contrib/apps/ping/
Dping.c3 * Ping sender module
35 * This is an example of a "ping" sender (with raw API and socket API).
45 #include "ping.h"
64 * PING_DEBUG: Enable debugging for PING.
70 /** ping receive timeout - in milliseconds */
75 /** ping delay - in milliseconds */
80 /** ping identifier - must fit on a u16_t */
85 /** ping additional data size to include in the packet */
90 /** ping result action - no default action */
95 /* ping variables */
[all …]
/third_party/typescript/tests/baselines/reference/
DmoduleImport.symbols11 export function ping(x: number) {
12 >ping : Symbol(ping, Decl(moduleImport.ts, 1, 20))
35 if (x > 0) ABC.ping(x-1);
37 >ABC.ping : Symbol(ABC.ping, Decl(moduleImport.ts, 1, 20))
39 >ping : Symbol(ABC.ping, Decl(moduleImport.ts, 1, 20))
DmoduleImport.js4 export function ping(x: number) { function
12 if (x > 0) ABC.ping(x-1);
24 function ping(x) { function
28 C.ping = ping;
37 ABC.ping(x - 1);
DmoduleImport.types13 export function ping(x: number) {
14 >ping : (x: number) => void
44 if (x > 0) ABC.ping(x-1);
48 >ABC.ping(x-1) : void
49 >ABC.ping : (x: number) => void
51 >ping : (x: number) => void
/third_party/rust/rust/tests/ui/macro_backtrace/
Dmain.-Zmacro-backtrace.stderr22 LL | ping!();
25 ::: $DIR/auxiliary/ping.rs:5:1
27 LL | macro_rules! ping {
28 | ----------------- in this expansion of `ping!` (#1)
45 ::: $DIR/auxiliary/ping.rs:5:1
47 LL | macro_rules! ping {
48 | ----------------- in this expansion of `ping!` (#4)
68 LL | ping!();
/third_party/ltp/testcases/network/iptables/
Diptables_lib.sh57 ping_cmd="ping$TST_IPV6"
167 tst_res TINFO "Ping $loc_addr not successful"
187 tst_res TINFO "Ping succsess"
193 tst_res TINFO "Use $toolname to REJECT ping request"
194 tst_res TINFO "Rule to reject ping request"
209 tst_res TFAIL "$toolname did not block ping request"
213 tst_res TINFO "Ping $loc_addr not successful"
216 tst_res TFAIL "$toolname did not reject ping request"
227 tst_res TFAIL "$toolname blocking ping requests. This is" \
234 tst_res TINFO "Ping succsess"
[all …]
/third_party/grpc/test/core/end2end/fuzzers/api_fuzzer_corpus/
Dtestcase-494727213672038426 ping {
34 ping {
54 ping {
83 ping {
87 ping {
171 ping {
228 ping {
338 ping {
D612049013447065633 ping {
53 ping {
87 ping {
151 ping {
183 ping {
211 ping {
294 ping {
/third_party/libwebsockets/READMEs/
DREADME.lws_retry.md5 ping / pong on it to confirm it's up, or drops the connection
35 is consistent with h2 PING frames only working at the network stream
50 transactions on any stream using the connection, or by sending PING /
51 PONG protocol packets where the PONG is only returned for a received PING.
60 the last validity after which lws will issue a protocol-specific PING of some
67 The context defaults to having a 5m valid ping interval and 5m10s hangup interval,
68 ie, it'll send a ping at 5m idle if the protocol supports it, and if no response
95 $ lws-minimal-ws-client-ping -n --server 127.0.0.1 --port 7681 -v
/third_party/libuv/test/
Dtest-ping-pong.c37 static char PING[] = "PING\n"; variable
95 uv_buf_t bufs[sizeof PING - 1]; in pinger_write_ping()
103 bufs[0] = uv_buf_init(PING, sizeof PING - 1); in pinger_write_ping()
106 nbufs = sizeof PING - 1; in pinger_write_ping()
108 bufs[i] = uv_buf_init(&PING[i], 1); in pinger_write_ping()
117 puts("PING"); in pinger_write_ping()
214 /* same ping-pong test, but using IPv6 connection */
227 pinger->pong = PING; in tcp_pinger_v6_new()
229 /* Try to connect to the server and do NUM_PINGS ping-pongs. */ in tcp_pinger_v6_new()
258 pinger->pong = PING; in tcp_pinger_new()
[all …]
Dbenchmark-ping-udp.c43 static char PING[] = "PING\n"; variable
81 buf = uv_buf_init(PING, sizeof(PING) - 1); in pinger_write_ping()
102 ASSERT_EQ(buf->base[i], PING[pinger->state]); in pinger_read_cb()
103 pinger->state = (pinger->state + 1) % (sizeof(PING) - 1); in pinger_read_cb()
126 /* Try to do NUM_PINGS ping-pongs (connection-less). */ in udp_pinger_new()
Dbenchmark-ping-pongs.c46 static char PING[] = "PING\n"; variable
103 buf = uv_buf_init(PING, sizeof(PING) - 1); in pinger_write_ping()
147 ASSERT_EQ(buf->base[i], PING[pinger->state]); in pinger_read_cb()
148 pinger->state = (pinger->state + 1) % (sizeof(PING) - 1); in pinger_read_cb()
191 /* Try to connect to the server and do NUM_PINGS ping-pongs. */ in pinger_new()
/third_party/rust/rust/tests/ui/async-await/issues/
Dissue-107280.stderr9 note: function defined here, with 2 generic parameters: `T`, `PING`
12 LL | async fn inner<T, const PING: bool>() {}
16 LL | inner::<false, PING>().await
23 …| ^^^^^^^^^^^^^^ cannot infer the value of const parameter `PING` declared on the function `in…
35 …| ^^^^^^^^^^^^^^ cannot infer the value of const parameter `PING` declared on the function `in…
47 …| ^^^^^^^^^^^^^^ cannot infer the value of const parameter `PING` declared on the function `in…
59 …| ^^^^^^^^^^^^^^ cannot infer the value of const parameter `PING` declared on the function `in…
71 …| ^^^^^^^^^^^^^^ cannot infer the value of const parameter `PING` declared on the function `in…
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-ping/
DREADME.md1 # lws minimal ws client PING
5 It sets a validity regime of testing validity with PING every 3s and failing
18 -d|Set logging verbosity (you want 1039 to see the validity ping / pong)
30 $ ./lws-minimal-ws-client-ping -d1039
31 [2020/03/18 13:13:47:1114] U: LWS minimal ws client PING
74 [2020/03/18 13:13:47:7662] I: lws_client_connect_via_info: protocol binding to lws-ping-test
75 [2020/03/18 13:13:47:7699] I: lws_client_connect_via_info: wsi 0x5669090: h1 lws-ping-test entry
84 [2020/03/18 13:13:47:9197] I: lws_client_connect_4_established: wsi 0x5669090: h1 lws-ping-test cli…
99 [2020/03/18 13:13:51:5325] I: rops_handle_POLLOUT_ws: issuing ping on wsi 0x5669090: ws lws-ping-te…
105 [2020/03/18 13:13:54:5825] I: rops_handle_POLLOUT_ws: issuing ping on wsi 0x5669090: ws lws-ping-te…
[all …]
/third_party/grpc/src/core/lib/transport/
Dbdp_estimator.h46 // Schedule a ping: call in response to receiving a true from
47 // grpc_bdp_estimator_add_incoming_bytes once a ping has been scheduled by a
58 // Start a ping: call after calling grpc_bdp_estimator_schedule_ping and
60 // the ping is on the wire
70 // Completes a previously started ping, returns when to schedule the next one
80 // when was the current ping started?
/third_party/ltp/testcases/network/multicast/mc_cmds/
Dmc_cmds.sh67 tst_resm TINFO "Ping all-host-groups over specified interface"
68 ping -c2 -I $(tst_ipaddr) 224.0.0.1 > ping_out.log
70 tst_resm TINFO "Trying to ping with $(tst_iface)"\
72 ping -c2 -I $(tst_iface) 224.0.0.1 > ping_out.log || \
73 tst_brkm TFAIL "No response from MC hosts to ping -c2 "\
80 tst_brkm TFAIL "Local host did not respond to ping -c2 "\
/third_party/ltp/testcases/cve/
Dcve-2017-2671.c7 * Test for CVE-2017-2671 faulty locking on ping socket
10 * ping socket; __udp_disconnect() gets called, which in turn calls the buggy
18 * This test repeatedly 'connects' a ping socket correctly then calls
23 * The test requests root privileges so that it can ensure ping sockets are
24 * enabled. On distributions (including Android) where ping sockets are
64 tst_res(TINFO, "Created ping socket, attempting to race..."); in setup()
/third_party/ltp/testcases/network/multicast/mc_opts/
Dmc_opts.sh47 tst_resm TINFO "Running ping with bad values"
48 ping -T 777 224.0.0.1 > /dev/null 2>&1 && \
51 tst_resm TINFO "Running ping on a invalid interface!"
52 ping -I 3.3.3.3 224.0.0.1 > /dev/null 2>&1 && \
53 tst_brkm TFAIL "ping on bogus interface should fail"
/third_party/grpc/test/core/transport/chttp2/
Dgraceful_shutdown_test.cc243 std::string ping = WaitForNBytes(8); in WaitForPing() local
244 return (static_cast<uint64_t>(static_cast<uint8_t>(ping[0])) << 56) | in WaitForPing()
245 (static_cast<uint64_t>(static_cast<uint8_t>(ping[1])) << 48) | in WaitForPing()
246 (static_cast<uint64_t>(static_cast<uint8_t>(ping[2])) << 40) | in WaitForPing()
247 (static_cast<uint64_t>(static_cast<uint8_t>(ping[3])) << 32) | in WaitForPing()
248 (static_cast<uint64_t>(static_cast<uint8_t>(ping[4])) << 24) | in WaitForPing()
249 (static_cast<uint64_t>(static_cast<uint8_t>(ping[5])) << 16) | in WaitForPing()
250 (static_cast<uint64_t>(static_cast<uint8_t>(ping[6])) << 8) | in WaitForPing()
251 (static_cast<uint64_t>(static_cast<uint8_t>(ping[7]))); in WaitForPing()
316 // Wait for the ping in TEST_F()
[all …]
/third_party/mesa3d/src/gfxstream/guest/GoldfishAddressSpace/
DVirtioGpuAddressSpaceStream.cpp55 struct gfxstreamContextPing ping = {}; in virtgpu_address_space_ping() local
57 ping.hdr.opCode = GFXSTREAM_CONTEXT_PING; in virtgpu_address_space_ping()
58 ping.resourceId = info->resourceId; in virtgpu_address_space_ping()
60 exec.command = static_cast<void*>(&ping); in virtgpu_address_space_ping()
61 exec.command_size = sizeof(ping); in virtgpu_address_space_ping()
132 .ping = virtgpu_address_space_ping, in createVirtioGpuAddressSpaceStream()
/third_party/ltp/testcases/network/stress/ns-tools/
Dkillall_icmp_traffic28 # Kill all of the icmp traffic utilities (ping or ping6)
58 # Send SIGINT to ping and ping6
59 $LTP_RSH $RHOST "killall -SIGINT ping ping6" >/dev/null 2>&1
61 # Verify the all ping utitlities are dead.
78 echo "ping command is not dead over $WARN_WAIT sec" >&2
81 $LTP_RSH $RHOST "killall -SIGINT ping ping6" >/dev/null 2>&1
/third_party/grpc/test/core/end2end/tests/
Dkeepalive_timeout.cc39 // Disable ping ack to trigger the keepalive timeout in CORE_END2END_TEST()
57 EXPECT_EQ(server_status.message(), "ping timeout"); in CORE_END2END_TEST()
60 // Verify that reads reset the keepalive ping timer. The client sends 30 pings
62 // 200ms. In the success case, each ping ack should reset the keepalive timer so
63 // that the keepalive ping is never sent.
72 // Disable ping ack to trigger the keepalive timeout in CORE_END2END_TEST()

12345678910>>...22