more effort into understanding why TAP interface is so slow on my linux machine to no avail

This commit is contained in:
soypat
2025-06-05 00:47:07 -03:00
parent bc14ed395d
commit 6ba727a0ef
12 changed files with 256 additions and 26 deletions
+14
View File
@@ -0,0 +1,14 @@
package internet
import "github.com/soypat/lneto"
type PortStack struct {
handlers []porthandler
proto lneto.IPProto
}
type porthandler struct {
recv func([]byte, int) error
handle func([]byte, int) (int, error)
port uint16
}