libnx  v4.2.1
Data Fields
LdnScanFilter Struct Reference

ScanFilter. The input struct is copied to a tmp struct, which is then used with the cmd (ldnScan and ldnScanPrivate). More...

#include <ldn.h>

Data Fields

s64 local_communication_id
 See LdnScanFilterFlags_LocalCommunicationId. When enabled, this will be overwritten if it's -1 (written data is from the user-process control.nacp, with value 0 used instead if loading fails). During filtering if enabled, LdnNetworkInfo::unk_x4B must match 0x2, and this ScanFilter field must match LdnNetworkInfo::local_communication_id.
 
u8 pad_x8 [0x2]
 Padding.
 
u16 userdata_filter
 See LdnScanFilterFlags_UserData. During filtering if enabled, LdnNetworkInfo::unk_x4B must match 0x2, and this ScanFilter field must match LdnNetworkInfo::userdata_filter.
 
u8 pad_xC [0x4]
 Padding.
 
u8 network_id [0x10]
 See LdnScanFilterFlags_NetworkId. During filtering if enabled, LdnNetworkInfo::unk_x4B must match 0x2, and this ScanFilter data must match LdnNetworkInfo::network_id.
 
u32 unk_x20
 See LdnScanFilterFlags_Unknown2. When enabled, this must be <=0x3, and during filtering must match LdnNetworkInfo::unk_x4B.
 
LdnMacAddress mac_addr
 LdnMacAddress (LdnScanFilterFlags_MacAddr, during filtering if enabled this must match LdnNetworkInfo::mac_addr)
 
LdnSsid ssid
 LdnSsid (LdnScanFilterFlags_Ssid, during filtering if enabled this must match LdnNetworkInfo::ssid)
 
u8 reserved [0x10]
 Cleared to zero for the tmp struct.
 
u32 flags
 Bitmask for LdnScanFilterFlags. Masked with value 0x37 for ldnScan, with ldnScanPrivate this is masked with 0x3F.
 

Detailed Description

ScanFilter. The input struct is copied to a tmp struct, which is then used with the cmd (ldnScan and ldnScanPrivate).


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