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