add x/xnet experimental package

This commit is contained in:
soypat
2025-08-03 11:30:51 -03:00
parent 123d4d20cc
commit c2995383da
7 changed files with 909 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package lneto
// type ErrorPacketDrop struct {
// Message string
// }
// var genericErrPacketDrop = &ErrorPacketDrop{Message: "lneto: packet dropped"}
// // ErrGenericPacketDrop returns the generic packet drop error. It performs no allocations.
// func ErrGenericPacketDrop() error {
// return genericErrPacketDrop
// }
// func (err *ErrorPacketDrop) Error() string {
// return err.Message
// }