wavelength 1.0.0
Loading...
Searching...
No Matches
NetCtlStatus Class Reference

Connection state the EE requests with EzNetCtl::kFunctionGetStatus. More...

#include <netctlstatus.h>

Public Member Functions

int Update ()
 Read the state of the started interfaces, the PPP one last, and describe it in mMessage.

Public Attributes

int mResult
int mInterfaceId
int mLinkStatus
int mState
char mMessage [kMessageSize]

Static Public Attributes

static constexpr int kMessageSize = 256
 Size of mMessage.

Detailed Description

Connection state the EE requests with EzNetCtl::kFunctionGetStatus.

The reply overwrites the request buffer.

The module was built without RTTI. The name is inferred from the module's routines.

Member Function Documentation

◆ Update()

int NetCtlStatus::Update ( )

Read the state of the started interfaces, the PPP one last, and describe it in mMessage.

Returns
mResult, or #INETCTL_STATE_DISCONNECTED without reading once the EE set EzNetCtl::sNetChecked.
Ghidra address:
NTSC-U/C: 0x0000033c
Ghidra address:
PAL: 0x0000033c

Member Data Documentation

◆ kMessageSize

int NetCtlStatus::kMessageSize = 256
staticconstexpr

Size of mMessage.

◆ mResult

int NetCtlStatus::mResult

Result of sceInetCtlGetState(), or -1.

◆ mInterfaceId

int NetCtlStatus::mInterfaceId

Interface read last.

◆ mLinkStatus

int NetCtlStatus::mLinkStatus

#INET_CONTROL_LINK_STATUS of the Ethernet interface, or -1.

◆ mState

int NetCtlStatus::mState

An #InetCtlState.

◆ mMessage

char NetCtlStatus::mMessage[kMessageSize]

Description of the state.


The documentation for this class was generated from the following file: