mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-05 21:07:43 +03:00
Add system stack
This commit is contained in:
parent
0efafc9963
commit
2f15b0cd3f
26 changed files with 1713 additions and 79 deletions
|
@ -19,6 +19,8 @@ import (
|
|||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
const PacketOffset = 4
|
||||
|
||||
type NativeTun struct {
|
||||
tunFile *os.File
|
||||
tunWriter N.VectorisedWriter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue