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

Interface ICMPRouterServer

ingress/origin_icmp_proxy.go:31–35  ·  view source on GitHub ↗

ICMPRouterServer is a parent interface over-top of ICMPRouter that allows for the operation of the proxy origin listeners.

Source from the content-addressed store, hash-verified

29
30// ICMPRouterServer is a parent interface over-top of ICMPRouter that allows for the operation of the proxy origin listeners.
31type ICMPRouterServer interface {
32 ICMPRouter
33 // Serve runs the ICMPRouter proxy origin listeners for any of the IPv4 or IPv6 interfaces configured.
34 Serve(ctx context.Context) error
35}
36
37// ICMPRouter manages out-going ICMP requests towards the origin.
38type ICMPRouter interface {

Callers 6

TestFunnelIdleTimeoutFunction · 0.65
TestReuseFunnelFunction · 0.65
testICMPRouterEchoFunction · 0.65
TestTraceICMPRouterEchoFunction · 0.65
ServeMethod · 0.65

Implementers 15

datagramV2Connectionconnection/quic_datagram_v2.go
datagramV3Connectionconnection/quic_datagram_v3.go
HTTP2Connectionconnection/http2.go
quicConnectionconnection/quic_connection.go
RegistrationServertunnelrpc/registration_server.go
SessionManagerServertunnelrpc/quic/session_server.go
CloudflaredServertunnelrpc/quic/cloudflared_server.go
PacketRouteringress/packet_router.go
icmpProxyingress/icmp_windows.go
icmpRouteringress/origin_icmp_proxy.go
EdgeTunnelServersupervisor/tunnel.go
noopEyeballquic/v3/muxer_test.go

Calls

no outgoing calls

Tested by

no test coverage detected