1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-18 16:16:40 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services
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
..
Account acc: Stub CheckNetworkServiceAvailabilityAsync (#4052) 2022-12-07 23:19:22 +01:00
Am Fix Redundant Qualifer Warnings (#4091) 2022-12-10 21:21:13 +01:00
Apm
Arp hle: Some cleanup (#3210) 2022-03-22 20:46:16 +01:00
Audio amadeus: Fixes and initial 15.0.0 support (#3908) 2022-11-28 08:28:45 +01:00
Bcat Fix memory corruption in BCAT and FS Read methods when buffer is larger than needed (#3739) 2022-10-04 20:12:54 -03:00
Bgtc
Bluetooth
BluetoothManager
Caps caps: Stubs GetAlbumFileList0AafeAruidDeprecated and GetAlbumFileList3AaeAruid (#2403) 2021-06-25 00:37:48 +02:00
Cec
Ectx
Erpt
Es
Eupld
Fatal fatal: Implement Service (#3573) 2022-10-02 10:30:46 +02:00
Friend Reduce usage of Marshal.PtrToStructure and Marshal.StructureToPtr (#3805) 2022-11-24 15:26:29 +01:00
Fs Fix Redundant Qualifer Warnings (#4091) 2022-12-10 21:21:13 +01:00
Grc
Hid hid/irs: Stub StopImageProcessorAsync (#3799) 2022-10-27 21:36:37 +00:00
Ins
Lbl
Ldn
Lm
Loader
Mig
Mii infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00
Mm
Mnpp Implement/Stub mnpp:app service and some hid calls (#3131) 2022-02-18 02:00:06 +01:00
Ncm hle: Some cleanup (#3210) 2022-03-22 20:46:16 +01:00
News
Nfc Use method overloads that support trimming. Mark some types to be trimming friendly (#4083) 2022-12-12 15:10:05 +01:00
Ngct Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
Nifm Use new C# 11 u8 string literals (#3854) 2022-11-16 16:30:12 -03:00
Nim hle: Some cleanup (#3210) 2022-03-22 20:46:16 +01:00
Notification
Npns
Ns misc: Make PID unsigned long instead of long (#3043) 2022-02-09 17:18:07 -03:00
Nv Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
Olsc oslc: Fix condition in GetSaveDataBackupSetting (#3208) 2022-03-20 13:25:29 -03:00
Ovln
Pcie
Pctl pctl: Implement EndFreeCommunication 2022-08-25 23:18:37 +02:00
Pcv clkrst: Stub/Implement IClkrstManager and IClkrstSession calls (#2692) 2021-09-29 01:03:35 +02:00
Pm Implement PM GetProcessInfo atmosphere extension (partially) (#2966) 2022-05-03 23:28:32 +02:00
Prepo Make use of Random.Shared (#3852) 2022-11-16 15:34:18 -03:00
Psc
Ptm HLE: fix small issue in IPsmSession (#3909) 2022-11-27 01:10:42 +00:00
Ro Make use of Random.Shared (#3852) 2022-11-16 15:34:18 -03:00
Sdb Reduce usage of Marshal.PtrToStructure and Marshal.StructureToPtr (#3805) 2022-11-24 15:26:29 +01:00
Settings infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00
Sm Enable JIT service LLE (#2959) 2022-05-05 15:23:30 -03:00
Sockets Bsd: Add support for dns_mitm (#4102) 2022-12-12 18:04:08 +01:00
Spl Update units of memory from decimal to binary prefixes (#3716) 2022-11-16 23:27:42 +01:00
Srepo
Ssl Bsd: Implement Select (#4017) 2022-12-12 14:59:31 +01:00
SurfaceFlinger Allow Surface Flinger frame enqueue after process has exited (#3733) 2022-10-02 21:50:03 +00:00
Time Fix Redundant Qualifer Warnings (#4091) 2022-12-10 21:21:13 +01:00
Usb
Vi Rename ToSpan to AsSpan (#3556) 2022-08-11 18:07:37 -03:00
Wlan
CommandHIpcAttribute.cs
CommandTIpcAttribute.cs
DisposableIpcService.cs Add dedicated ServerBase for FileSystem services (#3142) 2022-02-19 15:29:11 +01:00
DummyService.cs
IpcService.cs Added trace log level (#3096) 2022-02-17 21:08:07 -03:00
ServerBase.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
ServiceAttributes.cs