/kernel/branches/Kolibri-acpi/network/ethernet.inc |
---|
32,8 → 32,8 |
ends |
iglobal |
align 4 |
iglobal |
ETH_BROADCAST dp 0xffffffffffff |
endg |
57,9 → 57,8 |
mov ecx, [esp+4] |
DEBUGF DEBUG_NETWORK_VERBOSE,"ETH_input: size=%u\n", ecx |
cmp ecx, 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] |