Crate nl80211

Source
Expand description

§Nl80211

Communicate with nl80211

Structs§

Bss
A struct representing a BSS (Basic Service Set)
Interface
A struct representing a wifi interface
Socket
A generic netlink socket to send commands and receive messages
Station
A struct representing a remote station (Access Point)

Enums§

Nl80211Ac
nl80211Ac
Nl80211AclPolicy
nl80211AclPolicy
Nl80211Attr
nl80211Attrs
Nl80211AttrCoalesceRule
nl80211AttrCoalesceRule
Nl80211AttrCqm
nl80211AttrCqm
Nl80211AuthType
nl80211AuthType
Nl80211BandAttr
nl80211BandAttr
Nl80211Bandc
nl80211Band
Nl80211BitrateAttr
nl80211BitrateAttr
Nl80211Bss
nl80211Bss
Nl80211BssScanWidth
nl80211BssScanWidth
Nl80211BssSelectAttr
nl80211BssSelectAttr
Nl80211BssStatus
nl80211BssStatus
Nl80211ChanWidth
nl80211ChanWidth
Nl80211ChannelType
nl80211ChannelType
Nl80211Cmd
nl80211Commands
Nl80211CoalesceCondition
nl80211CoalesceCondition
Nl80211ConnectFailedReason
nl80211ConnectFailedReason
Nl80211CqmRssiThresholdEvent
nl80211CqmRssiThresholdEvent
Nl80211CritProtoId
nl80211CritProtoId
Nl80211DfsRegions
nl80211DfsRegions
Nl80211DfsState
nl80211DfsState
Nl80211ExtFeatureIndex
nl80211ExtFeatureIndex
Nl80211FeatureFlags
nl80211FeatureFlags
Nl80211FrequencyAttr
nl80211FrequencyAttr
Nl80211HiddenSsid
nl80211HiddenSsid
Nl80211IfCombinationAttrs
nl80211IfCombinationAttrs
Nl80211IfaceLimitAttrs
nl80211IfaceLimitAttrs
Nl80211Iftype
nl80211Iftype
Nl80211KeyAttributes
nl80211KeyAttributes
Nl80211KeyDefaultTypes
nl80211KeyDefaultTypes
Nl80211KeyType
nl80211KeyType
Nl80211MeshPowerMode
nl80211MeshPowerMode
Nl80211MeshSetupParams
nl80211MeshSetupParams
Nl80211MeshconfParams
nl80211MeshconfParams
Nl80211Mfp
nl80211Mfp
Nl80211MntrFlags
nl80211MntrFlags
Nl80211MpathFlags
nl80211MpathFlags
Nl80211MpathInfo
nl80211MpathFlags
Nl80211NanDualBandConf
nl80211NanDualBandConf
Nl80211NanFuncAttributes
nl80211NanFuncAttributes
Nl80211NanFuncTermReason
nl80211NanFuncTermReason
Nl80211NanFunctionType
nl80211NanFunctionType
Nl80211NanMatchAttributes
nl80211NanMatchAttributes
Nl80211NanPublishType
nl80211NanPublishType
Nl80211NanSrfAttributes
nl80211NanSrfAttributes
Nl80211PacketPatternAttr
nl80211PacketPatternAttr
Nl80211PlinkState
nl80211PlinkState
Nl80211PmksaCandidateAttr
nl80211PmksaCandidateAttr
Nl80211ProbeRespOffloadSupportAttr
nl80211ProbeRespOffloadSupportAttr
Nl80211ProtocolFeatures
nl80211ProtocolFeatures
Nl80211PsState
nl80211PsState
Nl80211RadarEvent
nl80211RadarEvent
Nl80211RateInfo
nl80211RateInfo
Nl80211RegInitiator
nl80211RegInitiator
Nl80211RegRuleAttr
nl80211RegRuleAttr
Nl80211RegRuleFlags
nl80211RegRuleFlags
Nl80211RegType
nl80211RegType
Nl80211RekeyData
nl80211RekeyData
Nl80211RxmgmtFlags
nl80211RxmgmtFlags
Nl80211ScanFlags
nl80211ScanFlags
Nl80211SchedScanMatchAttr
nl80211SchedScanMatchAttr
Nl80211SchedScanPlan
nl80211SchedScanPlan
Nl80211SmpsMode
nl80211SmpsMode
Nl80211StaBssParam
nl80211StaBssParam
Nl80211StaFlags
Nl80211StaInfo
nl80211StaInfo
Nl80211StaP2pPsStatus
nl80211StaP2pPsStatus
Nl80211StaWmeAttr
nl80211StaWmeAttr
Nl80211SurveyInfo
nl80211SurveyInfo
Nl80211TdlsOperation
nl80211TdlsOperation
Nl80211TdlsPeerCapability
nl80211TdlsPeerCapability
Nl80211TidStats
nl80211TidStats
Nl80211TxPowerSetting
nl80211TxPowerSetting
Nl80211TxRateAttributes
nl80211TxRateAttributes
Nl80211TxqAttr
nl80211TxqAttr
Nl80211TxrateGi
nl80211TxrateGi
Nl80211UserRegHintType
nl80211UserRegHintType
Nl80211WowlanTcpAttrs
nl80211WowlanTcpAttrs
Nl80211WowlanTriggers
nl80211WowlanTriggers
Nl80211WpaVersions
nl80211WpaVersions
NlaNested
PlinkActions
plinkActions

Constants§

NL_80211_GENL_NAME
NL_80211_GENL_VERSION

Traits§

NlPayloadDecode
Decode netlink payloads (Vec<u8>) to appropriate types
ParseNlAttr
Parse netlink messages attributes returned by a nl80211 command
PrettyFormat
Format and convert network information to human readable format

Functions§

parse_hex
Parse a vec of bytes as hex String
parse_i8
Parse a vec of bytes as i8
parse_i32
Parse a vec of bytes as i32
parse_string
Parse a vec of bytes as a String
parse_u8
Parse a vec of bytes as u8
parse_u16
Parse a vec of bytes as u16
parse_u32
Parse a vec of bytes as u32
parse_u64
Parse a vec of bytes as u64