/kernel/trunk/network/ethernet.inc |
---|
94,6 → 94,9 |
popf |
; Mark it as being an Ethernet Frame |
mov [eax + NET_BUFF.type], NET_BUFF_ETH |
; Now queue an event to process it |
xor edx, edx |
mov eax, [ETH_input_event] |
/kernel/trunk/network/icmp.inc |
---|
214,7 → 214,8 |
mov [esi + ICMP_header.Type], ICMP_ECHOREPLY |
mov eax, [esp] |
lea esi, [eax + NET_BUFF.data] |
mov esi, [eax + NET_BUFF.offset] |
add esi, eax |
; Check frame type |
cmp [eax + NET_BUFF.type], NET_BUFF_ETH |