Difference between revisions of "KPort"

From 3dbrew
Jump to navigation Jump to search
(Created page with "Category:Kernel objects class KPort extends KAutoObject;")
 
m
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Kernel objects]]
+
[[Category:Kernel auto objects]]
 
class [[KPort]] extends [[KAutoObject]];
 
class [[KPort]] extends [[KAutoObject]];
 +
 +
Size : 0x48 bytes
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
!  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;
 +
|}

Latest revision as of 01:59, 5 December 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;