mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-15 21:36:52 +01:00
split tun setup and tun IO
This commit is contained in:
1 parent
10e1924489
commit
2ff4852551
5 files changed
+395
-413
No files matched your search
+1
-1
@@ -332,7 +332,7 @@ const recvBatch = 64
|
||||
|
||||
// msghdrX mirrors xnu's struct msghdr_x (bsd/sys/socket_private.h). recvmsg_x reports each
|
||||
// datagram's length in Datalen rather than in its return value.
|
||||
// Keep in sync with msghdrX in overlay/tun_darwin.go.
|
||||
// Keep in sync with msghdrX in overlay/tio/tio_utun_darwin.go.
|
||||
type msghdrX struct {
|
||||
Name *byte
|
||||
Namelen uint32
|
||||
|
||||
Reference in new issue
Block a user