Improve bridge

This commit is contained in:
世界
2026-07-08 11:14:42 +08:00
parent e2b25f17db
commit 9fc7621596
23 changed files with 279 additions and 194 deletions
+3 -3
View File
@@ -22,14 +22,14 @@ type Outbound interface {
type OutboundWithPreferredRoutes interface {
Outbound
PreferredDomain(domain string) bool
PreferredAddress(address netip.Addr) bool
PreferredDomain(metadata *InboundContext, domain string) bool
PreferredAddress(metadata *InboundContext, address netip.Addr) bool
}
type FlowOutbound interface {
Outbound
tun.Port
SupportsFlow(network string) bool
PreMatchFlow(network string, destination netip.Addr) PreMatchAction
}
type OutboundRegistry interface {