| 258 | } |
| 259 | |
| 260 | type handler interface { |
| 261 | // Handle handles the given socket. |
| 262 | Handle(c net.Conn) |
| 263 | |
| 264 | // ReachableOn returns the IP addresses this handler is reachable on. |
| 265 | ReachableOn() []netip.Addr |
| 266 | } |
| 267 | |
| 268 | func installDNATHandler(d *appctype.DNATConfig, out *connector) { |
| 269 | // These handlers don't actually do DNAT, they just |
no outgoing calls
no test coverage detected
searching dependent graphs…