all in on StackNode refactor: Encapsulate/Demux on all stacks+ConnID+more abstraction

This commit is contained in:
soypat
2025-06-06 01:23:44 -03:00
parent 6ba727a0ef
commit c635bde512
11 changed files with 390 additions and 73 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func (efrm Frame) HeaderLength() int {
return sizeHeaderNoVLAN
}
// Payload returns the data portion of the ethernet packet with handling of VLAN packets.
// Payload returns the data portion of the ethernet packet with correct handling of VLAN packets.
func (efrm Frame) Payload() []byte {
hl := efrm.HeaderLength()
et := efrm.EtherTypeOrSize()