mirror of
https://github.com/soypat/lneto.git
synced 2026-08-20 22:49:11 +00:00
more effort into understanding why TAP interface is so slow on my linux machine to no avail
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user