upload changes done on plane

This commit is contained in:
soypat
2025-08-31 12:42:46 -03:00
parent d254f3ae80
commit d28203e75f
9 changed files with 70 additions and 16 deletions
+19 -1
View File
@@ -1,4 +1,4 @@
// Code generated by "stringer -type=IPProto -linecomment -output stringers.go ."; DO NOT EDIT.
// Code generated by "stringer -type=IPProto,errGeneric -linecomment -output stringers.go ."; DO NOT EDIT.
package lneto
@@ -190,3 +190,21 @@ func (i IPProto) String() string {
return "IPProto(" + strconv.FormatInt(int64(i), 10) + ")"
}
}
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[ErrPacketDrop-1]
}
const _errGeneric_name = "packet dropped"
var _errGeneric_index = [...]uint8{0, 14}
func (i errGeneric) String() string {
i -= 1
if i >= errGeneric(len(_errGeneric_index)-1) {
return "errGeneric(" + strconv.FormatInt(int64(i+1), 10) + ")"
}
return _errGeneric_name[_errGeneric_index[i]:_errGeneric_index[i+1]]
}