diff options
Diffstat (limited to 'src/tun.go')
-rw-r--r-- | src/tun.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tun.go b/src/tun.go new file mode 100644 index 0000000..1a8bb82 --- /dev/null +++ b/src/tun.go @@ -0,0 +1,8 @@ +package main + +type TUN interface { + Read([]byte) (int, error) + Write([]byte) (int, error) + Name() string + MTU() uint +} |