1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-24 08:36:06 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Sockets
TSRBerry df758eddd1
Bsd: Add support for dns_mitm (#4102)
* bsd: Add dns_mitm from Atmosphère

related AMS files:
- https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/ams_mitm/source/dns_mitm/dnsmitm_resolver_impl.cpp
- https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/ams_mitm/source/dns_mitm/dnsmitm_host_redirection.cpp

* Remove debug logging and adjust redirect message

* Improve formatting

Co-authored-by: Ac_K <Acoustik666@gmail.com>

* Replace Initialize with instance property

* bsd: dns_mitm - Ignore empty lines

* bsd: Mark _mitmHostEntries as readonly

* bsd: Initialize Aliases when returning IpHostEntry

Fixes NullReferenceException

Co-authored-by: Ac_K <Acoustik666@gmail.com>
2022-12-12 18:04:08 +01:00
..
Bsd Bsd: Implement Select (#4017) 2022-12-12 14:59:31 +01:00
Ethc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Nsd Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
Sfdnsres Bsd: Add support for dns_mitm (#4102) 2022-12-12 18:04:08 +01:00