ethernet: MTU semantic meaning corrections, add FCS logic (#28)

This commit is contained in:
Pat Whittingslow
2026-01-26 16:45:35 -03:00
committed by GitHub
parent 6a6097a9ac
commit 85f018a02c
10 changed files with 241 additions and 25 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ func newTCPStacks(t *testing.T, randSeed int64, mtu int) (s1, s2 *StackAsync, c1
}
func testerFrom(t *testing.T, mtu int) *tester {
carrierDataSize := mtu + 14
carrierDataSize := mtu + ethernet.MaxOverheadSize
return &tester{
t: t,
buf: make([]byte, carrierDataSize),