(ctx context.Context, ipp netip.AddrPort)
| 767 | } |
| 768 | |
| 769 | func (c *Conn) DialContextUDP(ctx context.Context, ipp netip.AddrPort) (*gonet.UDPConn, error) { |
| 770 | c.logger.Debug(ctx, "dial udp", slog.F("addr_port", ipp)) |
| 771 | return c.netStack.DialContextUDP(ctx, ipp) |
| 772 | } |
| 773 | |
| 774 | func (c *Conn) forwardTCP(src, dst netip.AddrPort) (handler func(net.Conn), opts []tcpip.SettableSocketOption, intercept bool) { |
| 775 | logger := c.logger.Named("tcp").With(slog.F("src", src.String()), slog.F("dst", dst.String())) |
no outgoing calls