Add ping proxy support
This commit is contained in:
parent
4a56d47035
commit
933bd2b2d5
16 changed files with 542 additions and 19 deletions
12
route_nat_non_gvisor.go
Normal file
12
route_nat_non_gvisor.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
//go:build !with_gvisor
|
||||
|
||||
package tun
|
||||
|
||||
import (
|
||||
"github.com/sagernet/sing/common/buf"
|
||||
)
|
||||
|
||||
type DirectRouteDestination interface {
|
||||
DirectRouteAction
|
||||
WritePacket(packet *buf.Buffer) error
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue