1 2 3 4 5 6 7 8
package main type TUNDevice interface { Read([]byte) (int, error) Write([]byte) (int, error) Name() string MTU() int }