crash.software
Projects
Pull Requests
Issues
Builds
tun2socks
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
tun2socks
Files
🤬
Sign In
cd6b118e
ROOT
/
core
/
device
/
tun
/
tun_wireguard.go
Search
History
96 lines
|
ISO-8859-1
|
1 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
TUN
iobased.Endpoint
nt
:
*tun.NativeTun
mtu
:
uint32
name
:
string
offset
:
int
rSizes
:
[]int
rBuffs
:
[][]byte
wBuffs
:
[][]byte
rMutex
:
sync.Mutex
wMutex
:
sync.Mutex
Open
(name string, mtu uint32)
:
(_ device.Device, err error)
*TUN
Read
(packet []byte)
:
(int, error)
Write
(packet []byte)
:
(int, error)
Name
()
:
string
Close
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover