Remove WriteFromSelf

This commit is contained in:
JackDoan
2026-04-28 10:56:57 -05:00
parent 8b02b8128e
commit a476b1fa07
14 changed files with 5 additions and 60 deletions

View File

@@ -168,10 +168,6 @@ func (t *tun) Read() ([][]byte, error) {
return t.batchRet[:], nil
}
func (t *tun) WriteFromSelf(p []byte) (int, error) {
return t.Write(p)
}
func (t *tun) readOne(to []byte) (int, error) {
// first 4 bytes is protocol family, in network byte order
var head [4]byte