MCPcopy
hub / github.com/cloudflare/cloudflared / isEchoReply

Function isEchoReply

ingress/origin_icmp_proxy.go:145–147  ·  view source on GitHub ↗
(msg *icmp.Message)

Source from the content-addressed store, hash-verified

143}
144
145func isEchoReply(msg *icmp.Message) bool {
146 return msg.Type == ipv4.ICMPTypeEchoReply || msg.Type == ipv6.ICMPTypeEchoReply
147}
148
149func observeICMPRequest(logger *zerolog.Logger, span trace.Span, src string, dst string, echoID int, seq int) {
150 incrementICMPRequest()

Callers 2

ServeMethod · 0.85
handleResponseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected