Difference between revisions of "KPort"

From 3dbrew
Jump to navigation Jump to search
(Don't revert changes without an explanation - it's not productive.)
(Undo revision 17939 by Neobrain (talk))
Line 11: Line 11:
 
|-
 
|-
 
| 0x0
 
| 0x0
| [[KAutoObject]]
+
| u32
| Base object
+
| Pointer to vtable
 +
|-
 +
| 0x4
 +
| u32
 +
| Reference count
 
|-
 
|-
 
| 0x8
 
| 0x8
| [[KServerPort]]
+
| u32
| Server side port object
+
| Pointer to [[KServerPort]] vtable
 +
|-
 +
| 0xC
 +
| u32
 +
| [[KServerPort]] Reference count
 +
|-
 +
| 0x10
 +
| u32
 +
| Node count for threads
 +
|-
 +
| 0x14
 +
| [[KLinkedListNode]]*
 +
| Pointer to first KLinkedListNode in the list of threads that sync with this object
 +
|-
 +
| 0x18
 +
| [[KLinkedListNode]]*
 +
| Pointer to last KLinkedListNode in the list of threads that sync with this object
 +
|-
 +
| 0x1C
 +
| u32
 +
| Node count for sessions
 +
|-
 +
| 0x20
 +
| [[KLinkedListNode]]*
 +
| Pointer to first KLinkedListNode in the list of KServerSessions associated with this port
 +
|-
 +
| 0x24
 +
| [[KLinkedListNode]]*
 +
| Pointer to last KLinkedListNode in the list of KServerSessions associated with this port
 +
|-
 +
| 0x28
 +
| KPort*
 +
| Pointer to parent KPort
 
|-
 
|-
 
| 0x2C
 
| 0x2C
| [[KClientPort]]
+
| u32
| Client side port object
+
| Pointer to [[KClientPort]] vtable
 +
|-
 +
| 0x30
 +
| u32
 +
| [[KClientPort]] Reference count
 +
|-
 +
| 0x34
 +
| u32
 +
| Node count for threads
 +
|-
 +
| 0x38
 +
| [[KLinkedListNode]]*
 +
| Pointer to first KLinkedListNode in the list of threads that sync with this object
 +
|-
 +
| 0x3C
 +
| [[KLinkedListNode]]*
 +
| Pointer to last KLinkedListNode in the list of threads that sync with this object
 +
|-
 +
| 0x40
 +
| s16
 +
| Current connection count to port
 +
|-
 +
| 0x42
 +
| s16
 +
| Max connection count to port
 
|-
 
|-
 +
| 0x44
 +
| KPort*
 +
| Pointer to the parent port object;
 +
|}

Revision as of 22:53, 22 August 2016

class KPort extends KAutoObject;

Size : 0x48 bytes

Offset Type Description
0x0 u32 Pointer to vtable
0x4 u32 Reference count
0x8 u32 Pointer to KServerPort vtable
0xC u32 KServerPort Reference count
0x10 u32 Node count for threads
0x14 KLinkedListNode* Pointer to first KLinkedListNode in the list of threads that sync with this object
0x18 KLinkedListNode* Pointer to last KLinkedListNode in the list of threads that sync with this object
0x1C u32 Node count for sessions
0x20 KLinkedListNode* Pointer to first KLinkedListNode in the list of KServerSessions associated with this port
0x24 KLinkedListNode* Pointer to last KLinkedListNode in the list of KServerSessions associated with this port
0x28 KPort* Pointer to parent KPort
0x2C u32 Pointer to KClientPort vtable
0x30 u32 KClientPort Reference count
0x34 u32 Node count for threads
0x38 KLinkedListNode* Pointer to first KLinkedListNode in the list of threads that sync with this object
0x3C KLinkedListNode* Pointer to last KLinkedListNode in the list of threads that sync with this object
0x40 s16 Current connection count to port
0x42 s16 Max connection count to port
0x44 KPort* Pointer to the parent port object;