Classes | |
struct | UDP_header |
Macros | |
#define | udp_init |
--------------------------------------------------------------—; ; udp_init: This function resets all UDP variables ; ; --------------------------------------------------------------—; More... | |
#define | udp_checksum(IP1, IP2) |
esi = ptr to udp packet, ecx = packet size, destroys: ecx, edx More... | |
Variables | |
rd | UDP_packets_tx |
rd | UDP_packets_rx |
label | udp_input |
--------------------------------------------------------------—; ; udp_input: Inject the UDP data in the application sockets. ; ; IN: [esp] = ptr to buffer ; ebx = ptr to device struct ; ecx = UDP packet size ; edx = ptr to IPv4 header ; esi = ptr to UDP packet data ; edi = interface number*4 ; ; OUT: / ; ; --------------------------------------------------------------—; More... | |
label | udp_output |
label | udp_connect |
--------------------------------------------------------------—; ; udp_connect ; ; IN: eax = socket pointer ; edx = pointer to sockaddr struct ; ; OUT: eax = 0 on success ; eax = -1 on error ; ebx = error code on error ; ; --------------------------------------------------------------—; More... | |
label | udp_disconnect |
--------------------------------------------------------------—; ; UDP_disconnect ; ; IN: eax = socket pointer ; ; OUT: eax = socket pointer ; ; --------------------------------------------------------------—; More... | |
label | udp_api |
--------------------------------------------------------------—; ; UDP_api: Part of system function 76 ; ; IN: bl = subfunction number in bl ; bh = device number in bh ; ecx, edx, .. depends on subfunction ; ; OUT: depends on subfunction ; ; --------------------------------------------------------------—; More... | |
#define udp_checksum | ( | IP1, | |
IP2 | |||
) |
esi = ptr to udp packet, ecx = packet size, destroys: ecx, edx
#define udp_init |
--------------------------------------------------------------—; ; udp_init: This function resets all UDP variables ; ; --------------------------------------------------------------—;
label udp_api |
--------------------------------------------------------------—; ; UDP_api: Part of system function 76 ; ; IN: bl = subfunction number in bl ; bh = device number in bh ; ecx, edx, .. depends on subfunction ; ; OUT: depends on subfunction ; ; --------------------------------------------------------------—;
label udp_connect |
--------------------------------------------------------------—; ; udp_connect ; ; IN: eax = socket pointer ; edx = pointer to sockaddr struct ; ; OUT: eax = 0 on success ; eax = -1 on error ; ebx = error code on error ; ; --------------------------------------------------------------—;
label udp_disconnect |
--------------------------------------------------------------—; ; UDP_disconnect ; ; IN: eax = socket pointer ; ; OUT: eax = socket pointer ; ; --------------------------------------------------------------—;
label udp_input |
--------------------------------------------------------------—; ; udp_input: Inject the UDP data in the application sockets. ; ; IN: [esp] = ptr to buffer ; ebx = ptr to device struct ; ecx = UDP packet size ; edx = ptr to IPv4 header ; esi = ptr to UDP packet data ; edi = interface number*4 ; ; OUT: / ; ; --------------------------------------------------------------—;
label udp_output |
rd UDP_packets_rx |
rd UDP_packets_tx |