/kernel/trunk/network/ethernet.inc |
---|
57,9 → 57,8 |
mov ecx, [esp+4] |
DEBUGF DEBUG_NETWORK_VERBOSE,"ETH_input: size=%u\n", ecx |
cmp ecx, sizeof.ETH_header ;ETH_FRAME_MINIMUM |
sub ecx, sizeof.ETH_header |
jb .dump |
sub ecx, sizeof.ETH_header |
lea edx, [eax + sizeof.ETH_header] |
mov ax, [eax + ETH_header.Type] |