76,7 → 76,7 |
|
SS_ASYNC equ 0x100 ; async i/o notify |
SS_ISCONFIRMING equ 0x200 ; deciding to accept connection req |
SS_MORETOCOME equ 0x400 ; |
SS_MORETOCOME equ 0x400 |
|
|
SOCKET_MAXDATA equ 4096*32 ; must be 4096*(power of 2) where 'power of 2' is at least 8 |
145,19 → 145,6 |
|
} |
|
|
macro packet_to_debug { ; set esi to packet you want to print, ecx to number of bytes |
|
local .loop |
|
.loop: |
lodsb |
DEBUGF 1,"%x ", eax:2 |
loop @r |
|
} |
|
|
include "queue.inc" |
|
include "ethernet.inc" |
263,7 → 250,7 |
|
;----------------------------------------------------------------- |
; |
; NET_Add_Device: |
; NET_add_Device: |
; |
; This function is called by the network drivers, |
; to register each running NIC to the kernel |