1
0
mirror of https://github.com/solemnwarning/ipxwrapper synced 2024-12-30 16:45:37 +01:00

392 Commits

Author SHA1 Message Date
Daniel Collins
c72ef8a83a Use correct packet size limit for DOSBox encapsulation. 2023-09-05 18:21:52 +01:00
Daniel Collins
dde08ae3a9 Fix local packet delivery when using DOSBox encapsulation. 2023-09-05 18:21:52 +01:00
Daniel Collins
b987f7abc1 Fix test suite build issues. 2023-09-02 15:07:28 +01:00
Daniel Collins
46fc990971 Fix registration with DOSBox IPX server. 2023-09-02 15:04:21 +01:00
Daniel Collins
a6e56f76ce Provide WinPcap headers rather than expecting them on the host. 2023-09-02 15:02:52 +01:00
Daniel Collins
ff14b520cc Remove DOSBox net/node number settings.
The local address is assigned by the server when using a DOSBox
IPX server.
2021-08-21 22:09:17 +01:00
Daniel Collins
a0234c7459 Initial implementation of DOSBox encapsulation support.
Incomplete and completely untested at this point, beyond "it compiles".
2021-08-21 14:42:49 +01:00
Daniel Collins
0bee989d8a Fix memory leak. 2021-08-21 12:10:23 +01:00
Daniel Collins
5c65628fca Add options for DOSBox encapsulation to ipxconfig.
Been sitting on this for a while, the code to actually support
interacting with a DOSBox IPX server isn't done yet.
2021-08-19 22:28:22 +01:00
Daniel Collins
c5ec8a138e Merge branch 'master' into profiling 2021-01-20 21:33:21 +00:00
Daniel Collins
704bce5baf Add profiling for some ipxwrapper.dll functions. 2021-01-20 20:51:16 +00:00
Daniel Collins
e686e8dbe2 Implement RAII-y mechanism for profiling functions. 2021-01-20 20:48:37 +00:00
Daniel Collins
9f8cbdfb55 Initialise configuration before running DirectPlay tests 2019-09-26 11:04:41 +01:00
Daniel Collins
18419bb096 Fix crash in ipxconfig 2019-08-24 20:51:33 +01:00
Daniel Collins
904b60d21b Log function profiling statistics every 10 seconds. 2019-08-24 16:06:41 +01:00
Daniel Collins
7e6280b560 Record times taken within stub functions
Reporting not done yet.

Call logging broken (for now).
2019-08-23 20:25:14 +01:00
Daniel Collins
fd4d78575d Update changelog. 2017-09-23 21:59:05 +01:00
Daniel Collins
c21d2cd993 Update supported games list in readme. 2017-09-23 17:06:58 +01:00
Daniel Collins
3bcfed65a6 Fix source manifest and test-prep target.
ipx-bench and ipx-echo aren't needed for the test suite.
2017-09-23 16:54:34 +01:00
Daniel Collins
fe21cbb973 Add unit tests for address cache. 2017-09-20 00:19:58 +01:00
Daniel Collins
62c72e5279 Delete tests/tap/basic.o in clean and update .gitignore 2017-09-20 00:13:33 +01:00
Daniel Collins
753280da5d Improved bind tests.
Verify processes exiting abnormally don't hold onto addresses and check
the error code when bind() fails.
2017-09-20 00:13:33 +01:00
Daniel Collins
4a63b807e2 Fix typo. 2017-09-20 00:13:33 +01:00
Daniel Collins
597bf27204 Gracefully exit programs during tests.
Makes the test environment a bit more robust. Also makes a lot of the
tests pass under Wine(!).
2017-09-20 00:13:33 +01:00
Daniel Collins
bb7d4beeab Merge pull request #3 from protocultor/registry
Added IPX to DirectPlay Services in the Registry
2017-09-19 23:20:16 +01:00
Jaime Moreira
dd43953ee5 Added IPX to DirectPlay services in the registry 2017-09-18 22:29:35 -03:00
Daniel Collins
7017d4cf94 Create missing directory under .d/ 2017-09-12 17:48:33 +01:00
Daniel Collins
7ea305fe95 Clean up warnings about comparisons of distinct pointer types. 2017-09-12 17:44:07 +01:00
Daniel Collins
bdf829766f Tidy up Makefile and rework build dependency generation. 2017-09-12 17:43:12 +01:00
Daniel Collins
ea2e61ea32 Merge remote-tracking branch 'origin/llc-support' 2017-09-12 13:45:47 +01:00
Daniel Collins
ba7fa5a77f Allow sending Novell/LLC frames up to the maximum size. 2017-08-20 22:59:49 +01:00
Daniel Collins
b58ef3eb1e getsockopt: Return correct maxpkt when using Ethernet frame types. 2017-08-20 16:44:49 +01:00
Daniel Collins
1304e84d54 Merge remote-tracking branch 'origin/master' into llc-support 2017-08-19 19:16:06 +01:00
Daniel Collins
8c55242b10 Added support for win10pcap format interface names. 2017-08-06 14:57:08 +01:00
Daniel Collins
d9133fd8dd Compile with -mno-ms-bitfields
As of GCC 4.7, the default behaviour when targetting Windows is for
packed structures to use Microsoft's broken struct packing rules.
2017-08-05 10:36:08 +01:00
Daniel Collins
79e286259f Added -static-libgcc to DLL link commands.
Newer GCCs seem to pull in libgcc when building ipxwrapper.dll
2017-08-02 22:55:19 +01:00
Daniel Collins
df41665cb2 Fiddle with sleeps in DirectPlay tests.
Some asynchronous calls didn't have pauses after them, likely to fail
when running on a heavily loaded machine.
2017-06-20 02:05:54 +01:00
Daniel Collins
4cdca80c4b Don't do any cleanup in DllMain() during process termination.
Subtle crashes are fun. I found this to cause a deadlock, but only
after adding lots of extra debug logging to diagnose a DIFFERENT bug
and only when running it on a particular machine.

But once both of those criteria are met? It crashes pretty reliably.
2017-06-18 03:12:13 +01:00
Daniel Collins
9d76f3ef00 Extended end-to-end test suite to cover LLC encapsulation. 2017-03-29 22:19:31 +01:00
Daniel Collins
bc778d9f3b Implemented support for 802.2 LLC framing. 2017-03-29 22:00:47 +01:00
Daniel Collins
323341fc0c Initialise source MAC when serialising Ethernet frames. 2017-03-29 20:35:38 +01:00
Daniel Collins
659641d436 Added unit tests for Ethernet frame (de)serialising functions. 2017-03-29 20:34:32 +01:00
Daniel Collins
b7b4a953d8 Refactored Ethernet frame (de)serialisation.
Reworked the (de)serialising of Ethernet frames into seperate functions in
preparation for supporting IEEE 802.2 LLC frames.
2017-03-28 23:29:38 +01:00
Daniel Collins
d65fb92480 Extended test suite to cover Novell "raw" Ethernet frames. 2017-03-28 00:27:11 +01:00
Daniel Collins
273bfcbbb5 Added frame type selection to ipxconfig. 2017-03-27 23:51:54 +01:00
Daniel Collins
20a636b933 Implemented support for Novell "raw" Ethernet frames.
Manual selection of frame type (defaults to Ethernet II) only, don't want to
mess with trying to guess/detect the frame type right now.
2017-03-27 23:51:54 +01:00
Daniel Collins
d7c9e10349 Implement quick 'n dirty script to generate charts from benchmarks 2015-12-15 22:54:57 +00:00
Daniel Collins
67acb100a3 Implement crude benchmarking tools
These tools can be used to measure RTT, packet loss, and sendto()/recv() call
duration on one end with a specified minimum delay between sendto() calls to
emulate some different loads.
2015-12-15 22:22:06 +00:00
Daniel Collins
1e8f89f655 Add DirectPlay test suite code to source manifest.
Missed in previous commit.
2015-12-02 00:07:26 +00:00
Daniel Collins
e5085ba1d9 Implemented basic DirectPlay test suite. 2015-11-26 00:10:49 +00:00