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

A combination in the flat form the EE reads, with every setting as text or a number. More...

#include <netcnfifdata.h>

Public Member Functions

void Reset ()
 Clear every setting to its unset value.
int ReadEnv (const sceNetCnfEnv *env, int kind)
 Fill the record from an environment.
void Reset ()
 Clear every setting to its unset value.

Public Attributes

char mInterfaceName [kTextSize]
char mDeviceName [kTextSize]
char mAddress [kTextSize]
char mNetmask [kTextSize]
char mBroadcast [kTextSize]
char mGateway [kTextSize]
char mNameServer1 [kTextSize]
char mNameServer2 [kTextSize]
char mDialNumbers [kDialNumberCount][kTextSize]
char mAuthName [kTextSize]
char mAuthKey [kTextSize]
char mPeerName [kTextSize]
char mVendor [kTextSize]
char mProduct [kTextSize]
char mChatScript [kTextSize]
char mDialPrefix [kTextSize]
char mDialPrefixPause [kTextSize]
int mInterfaceType
int mInterfaceMode
int mInterfaceTimeout
int mDeviceType
int mDeviceConfig
int mDeviceMode
int mDeviceTimeout
unsigned int mReserved0
unsigned char mDhcp
unsigned char mPppOption4
unsigned char mPppOption5
unsigned char mPppOption7
unsigned char mPppOption6
unsigned char mPppoe
unsigned char mPppOption2
unsigned char mPppOption3
unsigned char mPppOption1
unsigned char mReserved1 [23]

Static Public Attributes

static constexpr int kTextSize = 256
 Size of each text setting.
static constexpr int kDialNumberCount = 3
 Number of dial numbers.

Detailed Description

A combination in the flat form the EE reads, with every setting as text or a number.

A combination in the flat form the EE writes, with every setting as text or a number.

An unset number is -1 and an unset byte option is 0xff.

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

Member Function Documentation

◆ Reset() [1/2]

void NetcnfifData::Reset ( )

Clear every setting to its unset value.

Ghidra address:
NTSC-U/C: 0x00000c9c
Ghidra address:
PAL: 0x00000c9c

◆ ReadEnv()

int NetcnfifData::ReadEnv ( const sceNetCnfEnv * env,
int kind )

Fill the record from an environment.

Parameters
envEnvironment.
kind#SCE_NETCNF_TYPE_NET to read the combination, or the kind of the single file loaded.
Returns
Zero, or a negative error code.
Ghidra address:
NTSC-U/C: 0x000011a8
Ghidra address:
PAL: 0x000011a8

◆ Reset() [2/2]

void NetcnfifData::Reset ( )

Clear every setting to its unset value.

The module never calls it.

Ghidra address:
NTSC-U/C: 0x00000f1c
Ghidra address:
PAL: 0x00000f2c

Member Data Documentation

◆ kTextSize

constexpr int NetcnfifData::kTextSize = 256
staticconstexpr

Size of each text setting.

◆ kDialNumberCount

constexpr int NetcnfifData::kDialNumberCount = 3
staticconstexpr

Number of dial numbers.

◆ mInterfaceName

char NetcnfifData::mInterfaceName

System name of the interface file.

◆ mDeviceName

char NetcnfifData::mDeviceName

System name of the device file.

◆ mAddress

char NetcnfifData::mAddress

sceNetCnfInterface::address.

◆ mNetmask

char NetcnfifData::mNetmask

sceNetCnfInterface::netmask.

◆ mBroadcast

char NetcnfifData::mBroadcast

sceNetCnfInterface::broadcast.

◆ mGateway

char NetcnfifData::mGateway

Gateway of the route command.

◆ mNameServer1

char NetcnfifData::mNameServer1

First name server.

◆ mNameServer2

char NetcnfifData::mNameServer2

Second name server.

◆ mDialNumbers

char NetcnfifData::mDialNumbers

sceNetCnfInterface::dialNumbers.

◆ mAuthName

char NetcnfifData::mAuthName

sceNetCnfInterface::authName.

◆ mAuthKey

char NetcnfifData::mAuthKey

sceNetCnfInterface::authKey.

◆ mPeerName

char NetcnfifData::mPeerName

sceNetCnfInterface::peerName.

◆ mVendor

char NetcnfifData::mVendor

sceNetCnfInterface::vendor of the device.

◆ mProduct

char NetcnfifData::mProduct

sceNetCnfInterface::product of the device.

◆ mChatScript

char NetcnfifData::mChatScript

Text of the device's chat script.

◆ mDialPrefix

char NetcnfifData::mDialPrefix

sceNetCnfInterface::dialPrefix.

◆ mDialPrefixPause

char NetcnfifData::mDialPrefixPause

sceNetCnfInterface::dialPrefixPause.

◆ mInterfaceType

int NetcnfifData::mInterfaceType

sceNetCnfInterface::type of the interface.

◆ mInterfaceMode

int NetcnfifData::mInterfaceMode

sceNetCnfInterface::interfaceMode.

◆ mInterfaceTimeout

int NetcnfifData::mInterfaceTimeout

sceNetCnfInterface::timeout.

◆ mDeviceType

int NetcnfifData::mDeviceType

sceNetCnfInterface::type of the device.

◆ mDeviceConfig

int NetcnfifData::mDeviceConfig

sceNetCnfInterface::deviceConfig.

◆ mDeviceMode

int NetcnfifData::mDeviceMode

sceNetCnfInterface::deviceMode.

◆ mDeviceTimeout

int NetcnfifData::mDeviceTimeout

sceNetCnfInterface::timeout of the device.

◆ mReserved0

unsigned int NetcnfifData::mReserved0

Never touched by the module.

◆ mDhcp

unsigned char NetcnfifData::mDhcp

sceNetCnfInterface::dhcp.

◆ mPppOption4

unsigned char NetcnfifData::mPppOption4

sceNetCnfInterface::pppOption4.

◆ mPppOption5

unsigned char NetcnfifData::mPppOption5

sceNetCnfInterface::pppOption5.

◆ mPppOption7

unsigned char NetcnfifData::mPppOption7

sceNetCnfInterface::pppOption7.

◆ mPppOption6

unsigned char NetcnfifData::mPppOption6

sceNetCnfInterface::pppOption6.

◆ mPppoe

unsigned char NetcnfifData::mPppoe

sceNetCnfInterface::pppoe.

◆ mPppOption2

unsigned char NetcnfifData::mPppOption2

sceNetCnfInterface::pppOption2.

◆ mPppOption3

unsigned char NetcnfifData::mPppOption3

sceNetCnfInterface::pppOption3.

◆ mPppOption1

unsigned char NetcnfifData::mPppOption1

sceNetCnfInterface::pppOption1.

◆ mReserved1

unsigned char NetcnfifData::mReserved1

Never touched by the module.


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