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
sockaddr_dl.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
4
namespace
System.Net.NetworkInformation.AixStructs
5
{
6
// Token: 0x020002DC RID: 732
7
internal
struct
sockaddr_dl
8
{
9
// Token: 0x060012D9 RID: 4825 RVA: 0x0003A900 File Offset: 0x00038B00
10
internal
void
Read
(
IntPtr
ptr
)
11
{
12
int
num = 1;
13
if
(num == 0)
14
{
15
}
16
long
num2
= 0
L
;
17
byte
b =
Marshal
.
ReadByte
(
ptr
, (
int
)
num2
);
18
this.sdl_len
= b;
19
int
num3
= 1;
20
byte
b2
=
Marshal
.
ReadByte
(
ptr
,
num3
);
21
this.sdl_family
=
b2
;
22
int
num4
= 2;
23
short
num5
=
Marshal
.
ReadInt16
(
ptr
,
num4
);
24
this.sdl_index
= (ushort)
num5
;
25
int
num6
= 4;
26
byte
b3
=
Marshal
.
ReadByte
(
ptr
,
num6
);
27
this.sdl_type
=
b3
;
28
int
num7
= 5;
29
byte
b4
=
Marshal
.
ReadByte
(
ptr
,
num7
);
30
this.sdl_nlen
=
b4
;
31
int
num8
= 6;
32
byte
b5
=
Marshal
.
ReadByte
(
ptr
,
num8
);
33
this.sdl_alen
=
b5
;
34
int
num9
= 7;
35
byte
b6
=
Marshal
.
ReadByte
(
ptr
,
num9
);
36
this.sdl_slen
=
b6
;
37
if
(num == 0)
38
{
39
}
40
int
num10
=
Math
.
Max
(12,
num9
);
41
byte
[]
array
= this.
sdl_data
;
42
}
43
44
// Token: 0x04000F4F RID: 3919
45
public
byte
sdl_len
;
46
47
// Token: 0x04000F50 RID: 3920
48
public
byte
sdl_family
;
49
50
// Token: 0x04000F51 RID: 3921
51
public
ushort
sdl_index
;
52
53
// Token: 0x04000F52 RID: 3922
54
public
byte
sdl_type
;
55
56
// Token: 0x04000F53 RID: 3923
57
public
byte
sdl_nlen
;
58
59
// Token: 0x04000F54 RID: 3924
60
public
byte
sdl_alen
;
61
62
// Token: 0x04000F55 RID: 3925
63
public
byte
sdl_slen
;
64
65
// Token: 0x04000F56 RID: 3926
66
public
byte
[]
sdl_data
;
67
}
68
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Math.Max
static byte Max(byte val1, byte val2)
Definition
Math.cs:111
System.Math
Definition
Math.cs:11
System.Runtime.InteropServices.Marshal.ReadInt16
static short ReadInt16(IntPtr ptr, int ofs)
Definition
Marshal.cs:276
System.Runtime.InteropServices.Marshal.ReadByte
static byte ReadByte(IntPtr ptr, int ofs)
Definition
Marshal.cs:270
System.Runtime.InteropServices.Marshal
Definition
Marshal.cs:14
System.Net.NetworkInformation.AixStructs
Definition
ifconf.cs:5
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.ExceptionArgument.array
@ array
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
System.IntPtr
Definition
IntPtr.cs:13
System.Net.NetworkInformation.AixStructs.sockaddr_dl.sdl_family
byte sdl_family
Definition
sockaddr_dl.cs:48
System.Net.NetworkInformation.AixStructs.sockaddr_dl.sdl_type
byte sdl_type
Definition
sockaddr_dl.cs:54
System.Net.NetworkInformation.AixStructs.sockaddr_dl.Read
void Read(IntPtr ptr)
Definition
sockaddr_dl.cs:10
System.Net.NetworkInformation.AixStructs.sockaddr_dl.sdl_index
ushort sdl_index
Definition
sockaddr_dl.cs:51
System.Net.NetworkInformation.AixStructs.sockaddr_dl.sdl_nlen
byte sdl_nlen
Definition
sockaddr_dl.cs:57
System.Net.NetworkInformation.AixStructs.sockaddr_dl.sdl_len
byte sdl_len
Definition
sockaddr_dl.cs:45
System.Net.NetworkInformation.AixStructs.sockaddr_dl.sdl_alen
byte sdl_alen
Definition
sockaddr_dl.cs:60
System.Net.NetworkInformation.AixStructs.sockaddr_dl.sdl_slen
byte sdl_slen
Definition
sockaddr_dl.cs:63
System.Net.NetworkInformation.AixStructs.sockaddr_dl.sdl_data
byte[] sdl_data
Definition
sockaddr_dl.cs:66
System.Net.NetworkInformation.AixStructs.sockaddr_dl
Definition
sockaddr_dl.cs:8
source
System
Net
NetworkInformation
AixStructs
sockaddr_dl.cs
Generated by
1.10.0