cloudflared-mirror/ingress/icmp_linux_test.go

14 lines
236 B
Go
Raw Normal View History

2022-11-10 17:09:47 +00:00
//go:build linux
package ingress
import (
"testing"
"github.com/cloudflare/cloudflared/packet"
)
func getFunnel(t *testing.T, proxy *icmpProxy, tuple flow3Tuple) (packet.Funnel, bool) {
return proxy.srcFunnelTracker.Get(tuple)
}