refactor phy package

This commit is contained in:
Patricio Whittingslow
2026-01-19 10:29:15 -03:00
parent 3c6882b4b3
commit 985e087842
6 changed files with 428 additions and 43 deletions
+4 -2
View File
@@ -196,11 +196,13 @@ func _() {
var x [1]struct{}
_ = x[ErrPacketDrop-1]
_ = x[ErrBadCRC-2]
_ = x[ErrZeroSource-3]
_ = x[ErrZeroDestination-4]
}
const _errGeneric_name = "packet droppedincorrect checksum"
const _errGeneric_name = "packet droppedincorrect checksumzero source(port/addr)zero destination(port/addr)"
var _errGeneric_index = [...]uint8{0, 14, 32}
var _errGeneric_index = [...]uint8{0, 14, 32, 54, 81}
func (i errGeneric) String() string {
i -= 1