Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InterfaceName = "Meta"
Functions ¶
func CalculateInterfaceName ¶
Types ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
func (*Listener) FlushDefaultInterface ¶
func (l *Listener) FlushDefaultInterface()
type ListenerHandler ¶
type ListenerHandler struct { *sing.ListenerHandler DnsAdds []netip.AddrPort }
func (*ListenerHandler) NewConnection ¶
func (*ListenerHandler) NewPacketConnection ¶
func (h *ListenerHandler) NewPacketConnection(ctx context.Context, conn network.PacketConn, metadata M.Metadata) error
func (*ListenerHandler) ShouldHijackDns ¶
func (h *ListenerHandler) ShouldHijackDns(targetAddr netip.AddrPort) bool
Click to show internal directories.
Click to hide internal directories.