terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
AixNetworkInterfaceAPI.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Net.NetworkInformation.AixStructs
;
3
using
System.Runtime.InteropServices
;
4
5
namespace
System.Net.NetworkInformation
6
{
7
// Token: 0x020002A9 RID: 681
8
internal
class
AixNetworkInterfaceAPI
:
UnixNetworkInterfaceAPI
9
{
10
// Token: 0x0600129B RID: 4763
11
public
static
extern
int
socket
(
AixAddressFamily
family
,
int
type,
int
protocol
);
12
13
// Token: 0x0600129C RID: 4764
14
public
static
extern
int
close
(
int
fd
);
15
16
// Token: 0x0600129D RID: 4765
17
public
static
extern
int
ioctl
(
int
fd
,
AixIoctlRequest
request,
int
arg
);
18
19
// Token: 0x0600129E RID: 4766
20
public
static
extern
int
ioctl
(
int
fd
,
AixIoctlRequest
request, global::System.Net.NetworkInformation.AixStructs.ifconf
arg
);
21
22
// Token: 0x0600129F RID: 4767
23
public
static
extern
int
ioctl
(
int
fd
,
AixIoctlRequest
request, global::System.Net.NetworkInformation.AixStructs.ifreq_flags
arg
);
24
25
// Token: 0x060012A0 RID: 4768
26
public
static
extern
int
ioctl
(
int
fd
,
AixIoctlRequest
request, global::System.Net.NetworkInformation.AixStructs.ifreq_mtu
arg
);
27
28
// Token: 0x060012A1 RID: 4769 RVA: 0x0003A0D4 File Offset: 0x000382D4
29
private
unsafe
static
void
ByteArrayCopy
(
byte
*
dst
,
byte
*
src
,
int
elements)
30
{
31
}
32
33
// Token: 0x060012A2 RID: 4770 RVA: 0x0003A0E4 File Offset: 0x000382E4
34
public
override
NetworkInterface
[]
GetAllNetworkInterfaces
()
35
{
36
IntPtr
intPtr
=
Marshal
.
AllocHGlobal
(43159552);
37
long
num;
38
Type
type;
39
object
obj
=
Marshal
.
PtrToStructure
((
IntPtr
)num, type);
40
string
text
=
Marshal
.
PtrToStringAnsi
(-2147483648);
41
int
num2
= 16;
42
bool
flag;
43
Type
type2
;
44
object
obj2
=
Marshal
.
PtrToStructure
((flag ? 1 : 0) +
num2
,
type2
);
45
return
int
.MinValue;
46
}
47
48
// Token: 0x060012A3 RID: 4771 RVA: 0x0003A1EC File Offset: 0x000383EC
49
public
AixNetworkInterfaceAPI
()
50
{
51
}
52
}
53
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Net.NetworkInformation.AixNetworkInterfaceAPI.ioctl
static int ioctl(int fd, AixIoctlRequest request, global::System.Net.NetworkInformation.AixStructs.ifreq_mtu arg)
System.Net.NetworkInformation.AixNetworkInterfaceAPI.socket
static int socket(AixAddressFamily family, int type, int protocol)
System.Net.NetworkInformation.AixNetworkInterfaceAPI.ioctl
static int ioctl(int fd, AixIoctlRequest request, global::System.Net.NetworkInformation.AixStructs.ifreq_flags arg)
System.Net.NetworkInformation.AixNetworkInterfaceAPI.ioctl
static int ioctl(int fd, AixIoctlRequest request, int arg)
System.Net.NetworkInformation.AixNetworkInterfaceAPI.close
static int close(int fd)
System.Net.NetworkInformation.AixNetworkInterfaceAPI.ioctl
static int ioctl(int fd, AixIoctlRequest request, global::System.Net.NetworkInformation.AixStructs.ifconf arg)
System.Net.NetworkInformation.AixNetworkInterfaceAPI.GetAllNetworkInterfaces
override NetworkInterface[] GetAllNetworkInterfaces()
Definition
AixNetworkInterfaceAPI.cs:34
System.Net.NetworkInformation.AixNetworkInterfaceAPI.AixNetworkInterfaceAPI
AixNetworkInterfaceAPI()
Definition
AixNetworkInterfaceAPI.cs:49
System.Net.NetworkInformation.AixNetworkInterfaceAPI.ByteArrayCopy
static unsafe void ByteArrayCopy(byte *dst, byte *src, int elements)
Definition
AixNetworkInterfaceAPI.cs:29
System.Net.NetworkInformation.AixNetworkInterfaceAPI
Definition
AixNetworkInterfaceAPI.cs:9
System.Net.NetworkInformation.NetworkInterface
Definition
NetworkInterface.cs:8
System.Net.NetworkInformation.UnixNetworkInterfaceAPI
Definition
UnixNetworkInterfaceAPI.cs:8
System.Runtime.InteropServices.Marshal.PtrToStringAnsi
static string PtrToStringAnsi(IntPtr ptr)
Definition
Marshal.cs:238
System.Runtime.InteropServices.Marshal.PtrToStructure
static object PtrToStructure(IntPtr ptr, Type structureType)
Definition
Marshal.cs:251
System.Runtime.InteropServices.Marshal.AllocHGlobal
static IntPtr AllocHGlobal(IntPtr cb)
Definition
Marshal.cs:17
System.Runtime.InteropServices.Marshal
Definition
Marshal.cs:14
System.Type
Definition
Type.cs:12
System.Net.NetworkInformation.AixStructs
Definition
ifconf.cs:5
System.Net.NetworkInformation.AixAddressFamily
AixAddressFamily
Definition
AixAddressFamily.cs:7
System.Net.NetworkInformation.AixIoctlRequest
AixIoctlRequest
Definition
AixIoctlRequest.cs:7
System.Net.NetworkInformation
Definition
AixAddressFamily.cs:4
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.ExceptionArgument.text
@ text
System.ExceptionArgument.obj
@ obj
System
Definition
__ComObject.cs:4
System.IntPtr
Definition
IntPtr.cs:13
source
System
Net
NetworkInformation
AixNetworkInterfaceAPI.cs
Generated by
1.10.0