[ros-diffs] [zhu] 72437: Multi-threaded the server side of the TCP test.

2016-08-22 Thread zhu
Author: zhu Date: Tue Aug 23 02:58:27 2016 New Revision: 72437 URL: http://svn.reactos.org/svn/reactos?rev=72437=rev Log: Multi-threaded the server side of the TCP test. Modified: branches/GSoC_2016/lwIP-tcpip/base/applications/network/tcpclient/main.c branches/GSoC_2016/lwIP-tcpip/base

[ros-diffs] [zhu] 72412: Fixed mixing of declarations and case statements.

2016-08-21 Thread zhu
Author: zhu Date: Sun Aug 21 18:15:11 2016 New Revision: 72412 URL: http://svn.reactos.org/svn/reactos?rev=72412=rev Log: Fixed mixing of declarations and case statements. Modified: branches/GSoC_2016/lwIP-tcpip/drivers/network/tcpip/information.c Modified: branches/GSoC_2016/lwIP-tcpip

[ros-diffs] [zhu] 72411: Re-enabled some leftover UDP code that I missed earlier

2016-08-21 Thread zhu
Author: zhu Date: Sun Aug 21 17:59:47 2016 New Revision: 72411 URL: http://svn.reactos.org/svn/reactos?rev=72411=rev Log: Re-enabled some leftover UDP code that I missed earlier Modified: branches/GSoC_2016/lwIP-tcpip/drivers/network/tcpip/address.c Modified: branches/GSoC_2016/lwIP-tcpip

[ros-diffs] [zhu] 72334: Added back UDP code from the original driver I received to work on. Modified address creation function to support UDP, ICMP, and RAW. Added TDI_QUERY_ADDRESS_INFO handler.

2016-08-18 Thread zhu
Author: zhu Date: Thu Aug 18 21:38:06 2016 New Revision: 72334 URL: http://svn.reactos.org/svn/reactos?rev=72334=rev Log: Added back UDP code from the original driver I received to work on. Modified address creation function to support UDP, ICMP, and RAW. Added TDI_QUERY_ADDRESS_INFO handler

[ros-diffs] [zhu] 72247: Disabled more UDP code I missed earlier

2016-08-17 Thread zhu
Author: zhu Date: Wed Aug 17 20:24:24 2016 New Revision: 72247 URL: http://svn.reactos.org/svn/reactos?rev=72247=rev Log: Disabled more UDP code I missed earlier Modified: branches/GSoC_2016/lwIP-tcpip/drivers/network/tcpip/address.c Modified: branches/GSoC_2016/lwIP-tcpip/drivers/network

[ros-diffs] [zhu] 72246: Disabled UDP code, which was broken by my changes

2016-08-17 Thread zhu
Author: zhu Date: Wed Aug 17 20:03:05 2016 New Revision: 72246 URL: http://svn.reactos.org/svn/reactos?rev=72246=rev Log: Disabled UDP code, which was broken by my changes Modified: branches/GSoC_2016/lwIP-tcpip/drivers/network/tcpip/main.c Modified: branches/GSoC_2016/lwIP-tcpip/drivers

[ros-diffs] [zhu] 72245: Put MTSerialMutex around a call into lwIP that I previously missed.

2016-08-17 Thread zhu
Author: zhu Date: Wed Aug 17 19:25:18 2016 New Revision: 72245 URL: http://svn.reactos.org/svn/reactos?rev=72245=rev Log: Put MTSerialMutex around a call into lwIP that I previously missed. Modified: branches/GSoC_2016/lwIP-tcpip/drivers/network/tcpip/ndis_lwip.c Modified: branches

[ros-diffs] [zhu] 72243: More complete shutdown forces lwIP to get rid of lingering, dead connections to allow re-binding to dead TCP ports.

2016-08-17 Thread zhu
Author: zhu Date: Wed Aug 17 17:53:42 2016 New Revision: 72243 URL: http://svn.reactos.org/svn/reactos?rev=72243=rev Log: More complete shutdown forces lwIP to get rid of lingering, dead connections to allow re-binding to dead TCP ports. Modified: branches/GSoC_2016/lwIP-tcpip/drivers

[ros-diffs] [zhu] 72237: Set Irp->CancelRoutine when enqueueing IRPs. More detailed debug printouts. Deleted old debug printouts.

2016-08-16 Thread zhu
Author: zhu Date: Tue Aug 16 21:42:21 2016 New Revision: 72237 URL: http://svn.reactos.org/svn/reactos?rev=72237=rev Log: Set Irp->CancelRoutine when enqueueing IRPs. More detailed debug printouts. Deleted old debug printouts. Modified: branches/GSoC_2016/lwIP-tcpip/base/applicati

[ros-diffs] [zhu] 72200: Rewrite of many address.c functions to simplify locking and resolve deadlocks, special attention paid to whether AFD and lwIP have pointers to my data or not. Added deadlock r

2016-08-11 Thread zhu
Author: zhu Date: Thu Aug 11 19:40:13 2016 New Revision: 72200 URL: http://svn.reactos.org/svn/reactos?rev=72200=rev Log: Rewrite of many address.c functions to simplify locking and resolve deadlocks, special attention paid to whether AFD and lwIP have pointers to my data or not. Added deadlock

[ros-diffs] [zhu] 72159: Massively simplified the mutex guarding each TCP_CONTEXT struct. Before, manually handled recursion. Now uses KMUTEX to handle recursion. Corrected the way debug printouts get

2016-08-08 Thread zhu
Author: zhu Date: Mon Aug 8 16:49:04 2016 New Revision: 72159 URL: http://svn.reactos.org/svn/reactos?rev=72159=rev Log: Massively simplified the mutex guarding each TCP_CONTEXT struct. Before, manually handled recursion. Now uses KMUTEX to handle recursion. Corrected the way debug printouts

[ros-diffs] [zhu] 72106: Mostly fully working TCP. Occasional crash due to faulty mbox implementation in sys_arch.c.

2016-08-03 Thread zhu
Author: zhu Date: Wed Aug 3 22:00:57 2016 New Revision: 72106 URL: http://svn.reactos.org/svn/reactos?rev=72106=rev Log: Mostly fully working TCP. Occasional crash due to faulty mbox implementation in sys_arch.c. Modified: branches/GSoC_2016/lwIP-tcpip/base/applications/network/tcpclient

[ros-diffs] [zhu] 72051: Major rewrite of address.c, completely restructuring internal data. No longer maintaining linked list of connection endpoints; their references are handed off to lwIP to keep

2016-07-29 Thread zhu
Author: zhu Date: Fri Jul 29 16:28:01 2016 New Revision: 72051 URL: http://svn.reactos.org/svn/reactos?rev=72051=rev Log: Major rewrite of address.c, completely restructuring internal data. No longer maintaining linked list of connection endpoints; their references are handed off to lwIP

[ros-diffs] [zhu] 71943: Added global static lists to keep track of memory allocations for debugging purposes.

2016-07-14 Thread zhu
Author: zhu Date: Thu Jul 14 16:40:43 2016 New Revision: 71943 URL: http://svn.reactos.org/svn/reactos?rev=71943=rev Log: Added global static lists to keep track of memory allocations for debugging purposes. Modified: branches/GSoC_2016/lwIP-tcpip/drivers/network/tcpip/address.c Modified

[ros-diffs] [zhu] 71935: Changed test programs. Server now echoes messages sent by client, and client is now multi-threaded. Modified spinlocks to serialize access to metadata as well as linked lists.

2016-07-13 Thread zhu
Author: zhu Date: Wed Jul 13 21:01:53 2016 New Revision: 71935 URL: http://svn.reactos.org/svn/reactos?rev=71935=rev Log: Changed test programs. Server now echoes messages sent by client, and client is now multi-threaded. Modified spinlocks to serialize access to metadata as well as linked

[ros-diffs] [zhu] 71908: Cleaned out debug printouts. Fixed all crashes for strictly serial client-handling.

2016-07-12 Thread zhu
Author: zhu Date: Tue Jul 12 20:28:05 2016 New Revision: 71908 URL: http://svn.reactos.org/svn/reactos?rev=71908=rev Log: Cleaned out debug printouts. Fixed all crashes for strictly serial client-handling. Modified: branches/GSoC_2016/lwIP-tcpip/drivers/network/tcpip/address.c branches

[ros-diffs] [zhu] 71905: Multitude of bug fixes for state TCP Context state transitions, memory allocation/deallocation, and LIST_ENTRY usage. Corrected handling of dying sockets. Previously, connecte

2016-07-12 Thread zhu
Author: zhu Date: Tue Jul 12 19:22:33 2016 New Revision: 71905 URL: http://svn.reactos.org/svn/reactos?rev=71905=rev Log: Multitude of bug fixes for state TCP Context state transitions, memory allocation/deallocation, and LIST_ENTRY usage. Corrected handling of dying sockets. Previously

[ros-diffs] [zhu] 71865: Structural, style, correctness fixes.

2016-07-08 Thread zhu
Author: zhu Date: Fri Jul 8 17:52:42 2016 New Revision: 71865 URL: http://svn.reactos.org/svn/reactos?rev=71865=rev Log: Structural, style, correctness fixes. Modified: branches/GSoC_2016/lwIP-tcpip/drivers/network/tcpip/address.c branches/GSoC_2016/lwIP-tcpip/drivers/network/tcpip

[ros-diffs] [zhu] 71835: Mostly cleanup. Removed abusive use of cancel spin lock, thanks to David for pointing that out for me.

2016-07-06 Thread zhu
Author: zhu Date: Wed Jul 6 20:53:31 2016 New Revision: 71835 URL: http://svn.reactos.org/svn/reactos?rev=71835=rev Log: Mostly cleanup. Removed abusive use of cancel spin lock, thanks to David for pointing that out for me. Modified: branches/GSoC_2016/lwIP-tcpip/drivers/network/tcpip

[ros-diffs] [zhu] 71823: Fixed crash on client and server exit: Corrected some NULL data marking and checking. Moved some cleanup code so they actually execute on function failure (incomplete). Remove

2016-07-05 Thread zhu
Author: zhu Date: Tue Jul 5 18:35:17 2016 New Revision: 71823 URL: http://svn.reactos.org/svn/reactos?rev=71823=rev Log: Fixed crash on client and server exit: Corrected some NULL data marking and checking. Moved some cleanup code so they actually execute on function failure (incomplete

[ros-diffs] [zhu] 71713: State variables implemented. A QueryNdisBuffer macro is expanded out in my code because I'm trying to chase down a page fault that happens during that particular call.

2016-07-01 Thread zhu
Author: zhu Date: Fri Jul 1 19:37:51 2016 New Revision: 71713 URL: http://svn.reactos.org/svn/reactos?rev=71713=rev Log: State variables implemented. A QueryNdisBuffer macro is expanded out in my code because I'm trying to chase down a page fault that happens during that particular call

[ros-diffs] [zhu] 71665: Server now handles multiple connections without crashing, as long as each connection terminates before the next one is established. Removed misuse of the datagram request lock

2016-06-24 Thread zhu
Author: zhu Date: Fri Jun 24 16:11:18 2016 New Revision: 71665 URL: http://svn.reactos.org/svn/reactos?rev=71665=rev Log: Server now handles multiple connections without crashing, as long as each connection terminates before the next one is established. Removed misuse of the datagram request

[ros-diffs] [zhu] 71663: Added my user-mode test programs

2016-06-23 Thread zhu
Author: zhu Date: Thu Jun 23 16:03:13 2016 New Revision: 71663 URL: http://svn.reactos.org/svn/reactos?rev=71663=rev Log: Added my user-mode test programs Added: branches/GSoC_2016/lwIP-tcpip/base/applications/network/tcpclient/ branches/GSoC_2016/lwIP-tcpip/base/applications/network

[ros-diffs] [zhu] 71661: Backlogging successful. Server is able to simultaneously receive messages from two different clients. Crashes on client exit due to referencing deallocated memory.

2016-06-23 Thread zhu
Author: zhu Date: Thu Jun 23 15:28:39 2016 New Revision: 71661 URL: http://svn.reactos.org/svn/reactos?rev=71661=rev Log: Backlogging successful. Server is able to simultaneously receive messages from two different clients. Crashes on client exit due to referencing deallocated memory

[ros-diffs] [zhu] 71658: Partial support for lwIP backlogging. Extra connection contexts are stored in a seemingly valid linked list, but their associated TDI_LISTEN IRPs are overwritten on new TDI_LI

2016-06-21 Thread zhu
Author: zhu Date: Tue Jun 21 18:04:55 2016 New Revision: 71658 URL: http://svn.reactos.org/svn/reactos?rev=71658=rev Log: Partial support for lwIP backlogging. Extra connection contexts are stored in a seemingly valid linked list, but their associated TDI_LISTEN IRPs are overwritten on new

[ros-diffs] [zhu] 71652: TDI_SEND and TDI_RECEIVE handlers code-complete. None of it has been tested yet.

2016-06-17 Thread zhu
Author: zhu Date: Fri Jun 17 17:12:07 2016 New Revision: 71652 URL: http://svn.reactos.org/svn/reactos?rev=71652=rev Log: TDI_SEND and TDI_RECEIVE handlers code-complete. None of it has been tested yet. Modified: branches/GSoC_2016/lwIP-tcpip/drivers/network/tcpip/address.c branches

[ros-diffs] [zhu] 71646: Merge changes from GsOC network branch. Last commit from the other branch added IRQ cancellation.

2016-06-16 Thread zhu
Author: zhu Date: Thu Jun 16 15:40:32 2016 New Revision: 71646 URL: http://svn.reactos.org/svn/reactos?rev=71646=rev Log: Merge changes from GsOC network branch. Last commit from the other branch added IRQ cancellation. Added: branches/GSoC_2016/lwIP-tcpip/drivers/network/tcpip/address.c

[ros-diffs] [zhu] 71644: Implemented IRQ cancelling for listen() and connect() calls.

2016-06-15 Thread zhu
Author: zhu Date: Wed Jun 15 19:10:40 2016 New Revision: 71644 URL: http://svn.reactos.org/svn/reactos?rev=71644=rev Log: Implemented IRQ cancelling for listen() and connect() calls. Modified: branches/GSoC_2016/lwIP/drivers/network/tcpip/address.c branches/GSoC_2016/lwIP/drivers/network

[ros-diffs] [zhu] 71637: Reworked message passing. Created struct TCP_CONTEXT. Moved lwip_tcp_pcb from ADDRESS_FILE to TCP_CONTEXT. Successfully binding and handshaking between server and client, but

2016-06-14 Thread zhu
Author: zhu Date: Tue Jun 14 19:43:03 2016 New Revision: 71637 URL: http://svn.reactos.org/svn/reactos?rev=71637=rev Log: Reworked message passing. Created struct TCP_CONTEXT. Moved lwip_tcp_pcb from ADDRESS_FILE to TCP_CONTEXT. Successfully binding and handshaking between server and client

[ros-diffs] [zhu] 71594: TCP handshake working in driver and properly reported up to user programs. The port is not closed properly, however.

2016-06-08 Thread zhu
Author: zhu Date: Wed Jun 8 19:26:53 2016 New Revision: 71594 URL: http://svn.reactos.org/svn/reactos?rev=71594=rev Log: TCP handshake working in driver and properly reported up to user programs. The port is not closed properly, however. Modified: branches/GSoC_2016/lwIP/drivers/network