Jasmine Iwanek
ee695e71f9
More sonarlint work
2023-07-25 17:59:22 -04:00
RichardG867
9d991b495c
network: Remove the cursed libslirp fork now that Windows uses external libslirp
2023-07-22 17:27:51 -03:00
Jasmine Iwanek
ed1b369abd
Yet more sonarlint fixes
2023-05-29 06:21:17 -04:00
cold-brewed
ef34e81cd1
network: Added new ability for drivers to provide error information upon failed init. Updated translation strings. Fixed an issue with VDE configuration settings.
2023-05-23 11:53:59 -04:00
Jasmine Iwanek
3b5cfe8bfc
Update libslirp to 4.7.0 with our customizations
2023-02-06 12:46:37 -05:00
Jasmine Iwanek
3fe4f75108
A bit more clang-format
2022-11-19 11:53:07 -05:00
Jasmine Iwanek
bd75bc141a
Header cleanups
...
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
6ea143e107
More compile warning fixes
2022-11-06 15:55:16 -05:00
Jasmine Iwanek
3c76dbbde5
clang-format in src/network/
2022-09-18 17:22:55 -04:00
David Hrdlička
7dd8c96ffc
config: Refactor the INI parser out
2022-09-10 13:37:49 +02:00
GH Cao
06cfd4dcae
net_slirp: Fix building with clang
2022-09-02 16:58:18 +08:00
Adrien Moulin
9c65d20621
network: improve throughput by batch processing packets
2022-08-27 16:52:33 +02:00
Adrien Moulin
448bd9d958
slirp: fix port forwarding and handle configuration with multiple nics
2022-08-26 18:22:19 +02:00
Adrien Moulin
bf87193f91
network: fix another win32 build error
2022-08-21 17:39:40 +02:00
Adrien Moulin
19db1d2c7b
Network overhaul : support for multiple NICs, performance improvement
...
- Add support for multiple NICs
- Switch from polling to an event loop for the host networking to avoid latency and locking issues
2022-08-21 16:55:47 +02:00
David Hrdlička
e60af6c29d
Clean up plat.h a bit
2022-04-20 01:03:39 +02:00
OBattler
c19b06d404
Added a sanity check and more clean-ups.
2022-02-20 14:19:38 +01:00
OBattler
01e0609ab6
And more network clean-ups and fixes.
2022-02-20 13:58:38 +01:00
OBattler
7928bc8c1c
And even more.
2022-02-20 02:03:42 +01:00
OBattler
b4c1e801c5
Some more network changes.
2022-02-20 02:00:23 +01:00
OBattler
8e88fe4c4f
Fixed more warnings.
2021-04-29 22:32:54 +02:00
RichardG867
aba9e0dac9
Fix illegal PIIX4 SMBus modes
2021-01-12 20:13:15 -03:00
OBattler
12a78cb2f4
Fixed a SLiRP warning when compiling for 64-bit.
2020-12-12 16:25:04 +01:00
OBattler
4b7d2422fd
Moved SLiRP event destruction to the thread to fix the Settings restart crash.
2020-10-24 21:32:57 +02:00
RichardG867
6ef260fa4f
SLiRP forward protocol should be compared using regular strcmp
2020-10-17 14:11:09 -03:00
RichardG867
239730a793
Change SLiRP port forwarding config syntax to make more sense
2020-10-17 00:42:41 -03:00
RichardG867
62a2c4a50d
Attempt to fix build
2020-08-07 12:56:15 -03:00
RichardG867
8ca17a300d
SLiRP overhaul
2020-08-07 12:39:34 -03:00
OBattler
9dc0df4149
Implemented the network transmit queue.
2020-04-30 02:12:59 +02:00
OBattler
0570e21f0f
Applied Ryuzaki's Media menu patch, fixed a bug in cpu.c reported by ms. person, fixed bugs (and added a workaround for the Windows 2000 PCnet problems) to mem.c, and added a network packet queue to cap network speed (and do the actual rx poll in the main thread instead) for more stability, also some ES1371 fixes (but not enough to make it work on Linux).
2020-04-29 23:39:54 +02:00
TC1995
2de9a3f37a
Set Link State from VBox to 86Box implemented on the PCnet card (any other nics don't have it and will simply return NULL).
...
The PCnet-based Racal nic now has its own OID to make its drivers happy (according to VBox).
2020-04-20 19:02:13 +02:00
David Hrdlička
a505894a10
Move all include files to src/include
...
- 86Box's own headers go to /86box
- munt's public interface goes to /mt32emu
- all slirp headers go to /slirp (might want to consider using only its public inteface)
- single file headers from other projects go in include root
2020-03-29 19:53:29 +02:00
Daniel Gurney
0c509fd551
Remove version tree-wide
2020-03-25 00:46:02 +02:00
OBattler
490c04fcae
Current WIP code.
2020-02-29 19:12:23 +01:00
OBattler
841a1f67da
Fixed newly-introduced compile-breaking bugs in the network code.
2019-11-14 21:22:54 +01:00
OBattler
9912cc10fe
Added the ability to pause and resume the network thread's reception.
2019-11-14 20:59:51 +01:00
OBattler
748c8c8b3c
Disabled network activity indicating again since the hangs are still there, and fixed a bug in the BusLogic BIOS request code.
2018-10-19 19:35:39 +02:00
OBattler
15db405697
Fixed Iomega ZIP drive initialization mess;
...
Fixed (hopefully) network status bar activity indication.
2018-10-19 19:10:12 +02:00
OBattler
bee77a0b6f
Disabled network activity indication on the status bar until it's figured out how to do it across threads or it is decided to move it back to the NIC level.
2018-10-19 17:56:09 +02:00
OBattler
d56df03a53
Ported the WinPcap thread's packet sanity checks to the SLiRP thread - SLiRP is now more stable;
...
Unified all three NIC families' DP8390 chip implementations in net_dp8390.c/h;
Some fixes for the WD8013EBT NIC;
Network status bar icon updating is now done at WinPcap/SLiRP handler level, not at the NIC level anymore.
2018-10-19 00:37:25 +02:00
OBattler
647d78e4c2
Removed a lot of useless #include's from a lot of files and reworked the SCSI #include's a bit to resolve the problem of scsi.h being a mess.
2018-10-02 22:54:28 +02:00
OBattler
5d8deea63b
Changes to logging - nothing (other than some parts of pc.c) uses the global pclog anymore (and logs will be almost empty (until the base set logging flags is agreed upon);
...
Fixes to various hard disk controllers;
Added the Packard Bell PB640;
Fixed the InPort mouse emulation - now it works correctly on Windows NT 3.1;
Removed the status window and the associated variables;
Completely removed the Green B 486 machine;
Fixed the MDSI Genius;
Fixed the single-sided 5.25" floppy drive;
Ported a CPU-related commit from VARCem.
2018-05-21 19:04:05 +02:00
OBattler
b1efb99ed6
Applied a whole slew of patches, getting RAM usage down by a further 10 MB.
2018-03-19 01:02:04 +01:00
OBattler
b6c393cc91
Numerous CD-ROM fixes (and disc changes now work correctly in Windows 98 SE);
...
Slight reworking in the mouse and network code (ported from VARCem) in preparation for a major change that will const a lot of things to further reduce RAM usage.
2018-03-18 20:48:10 +01:00
waltje
7c67e867c8
Major commit, cleaning a lot of old stuff.
...
IBM.H is gone, video stuff re-organized. Keyboard stuff reorganized.
Machines that have their own video, mouse and/or keyboard now have all this in their machine file.
Fixed and other cleanups here and there.
2017-11-05 02:00:50 -05:00
waltje
0565bf76af
More cleanups. Lowercased all BIOS ROM filenames. Added ISA Cirrus-Logic to the video card table.
2017-11-01 01:51:55 -05:00
waltje
bfe038ded9
Cleanup, mostly network threading madness. Statusbar is now created at hard reset, IF the configuration has changed. Other minor things.
2017-10-29 04:20:59 -05:00
OBattler
24d2c0866b
Fixed a compile-breaking error in net_slirp.c.
2017-10-28 07:37:56 +02:00
OBattler
ce89e2145c
Fixed it again.
2017-10-28 07:33:08 +02:00
OBattler
9a0a82b7ac
Fixed an even mess up in the PCap and SLiRP code.
2017-10-28 07:29:50 +02:00