Add netns support
This commit is contained in:
parent
d0d4ebd8db
commit
994d6ccdbf
7 changed files with 220 additions and 80 deletions
1
tun.go
1
tun.go
|
|
@ -66,6 +66,7 @@ const (
|
|||
|
||||
type Options struct {
|
||||
Name string
|
||||
NetNs string
|
||||
Inet4Address []netip.Prefix
|
||||
Inet6Address []netip.Prefix
|
||||
MTU uint32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue