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

Struct icmpProxy

ingress/icmp_windows.go:218–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218type icmpProxy struct {
219 // An open handle that can send ICMP requests https://docs.microsoft.com/en-us/windows/win32/api/icmpapi/nf-icmpapi-icmpcreatefile
220 handle uintptr
221 // This is a ICMPv6 if srcSocketAddr is not nil
222 srcSocketAddr *sockAddrIn6
223 logger *zerolog.Logger
224}
225
226func newICMPProxy(listenIP netip.Addr, logger *zerolog.Logger, idleTimeout time.Duration) (*icmpProxy, error) {
227 var (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected