libnx  v4.7.0
Data Fields
LdnNetworkConfig Struct Reference

NetworkConfig. The input struct is copied to a tmp struct, which is then used with the cmd (ldnCreateNetwork, ldnCreateNetworkPrivate, ldnConnectPrivate). More...

#include <ldn.h>

Data Fields

s64 local_communication_id
 LdnNetworkInfo::local_communication_id. ldnCreateNetwork, ldnCreateNetworkPrivate, ldnConnect, ldnConnectPrivate: When -1, this is overwritten with the first LocalCommunicationId from the user-process control.nacp, if loading fails value 0 is written instead. Otherwise when not -1, if control.nacp loading is successful, this field must match one of the LocalCommunicationIds from there.
 
u8 reserved_x8 [2]
 Cleared to zero for the tmp struct.
 
u16 userdata_filter
 LdnNetworkInfo::userdata_filter.
 
u8 reserved_xC [4]
 Cleared to zero for the tmp struct.
 
s16 network_channel
 LdnNetworkInfo::network_channel. Channel, can be zero. Overwritten internally by ldnCreateNetwork.
 
s8 participant_max
 LdnNetworkInfo::participant_max. ldnCreateNetwork / ldnCreateNetworkPrivate: Must be 0x1-0x8.
 
u8 reserved_x13
 Cleared to zero for the tmp struct.
 
s16 local_communication_version
 LdnNodeInfo::local_communication_version, for the first entry in LdnNetworkInfo::nodes. Must not be negative.
 
u8 reserved_x16 [0xA]
 Cleared to zero for the tmp struct.
 

Detailed Description

NetworkConfig. The input struct is copied to a tmp struct, which is then used with the cmd (ldnCreateNetwork, ldnCreateNetworkPrivate, ldnConnectPrivate).


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