Difference between revisions of "KPort"

From 3dbrew
Jump to navigation Jump to search
(Don't revert changes without an explanation - it's not productive.)
Line 11: Line 11:
 
|-
 
|-
 
| 0x0
 
| 0x0
| u32
+
| [[KAutoObject]]
| Pointer to vtable
+
| Base object
|-
 
| 0x4
 
| u32
 
| Reference count
 
 
|-
 
|-
 
| 0x8
 
| 0x8
| u32
+
| [[KServerPort]]
| Pointer to [[KServerPort]] vtable
+
| Server side port object
|-
 
| 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
| u32
+
| [[KClientPort]]
| Pointer to [[KClientPort]] vtable
+
| Client side port object
|-
 
| 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 17:51, 16 August 2016

class KPort extends KAutoObject;

Size : 0x48 bytes

Offset Type Description
0x0 KAutoObject Base object
0x8 KServerPort Server side port object
0x2C KClientPort Client side port object