Search
Preparing search index...
The search index is not available
netlink
Options
All
Public
Public/Protected
All
Inherited
Menu
netlink
nl80211/nl80211
Nl80211Socket
Class Nl80211Socket
Hierarchy
EventEmitter
Nl80211Socket
Index
Constructors
constructor
Properties
socket
Methods
del
Interface
get
Interfaces
get
Phys
new
Interface
request
send
Constructors
constructor
new
Nl80211
Socket
(
socket
:
GenericNetlinkSocket
, familyData
:
Message
, options
?:
Nl80211SocketOptions
)
:
Nl80211Socket
Parameters
socket:
GenericNetlinkSocket
familyData:
Message
Optional
options:
Nl80211SocketOptions
Returns
Nl80211Socket
Properties
Readonly
socket
socket
:
GenericNetlinkSocket
Methods
del
Interface
del
Interface
(
ifindex
:
undefined
|
number
, attrs
?:
Message
, options
?:
Nl80211SendOptions
&
RequestOptions
)
:
Promise
<
void
>
Parameters
ifindex:
undefined
|
number
Optional
attrs:
Message
Optional
options:
Nl80211SendOptions
&
RequestOptions
Returns
Promise
<
void
>
get
Interfaces
get
Interfaces
(
)
:
Promise
<
Map
<
bigint
,
Message
>
>
Returns
Promise
<
Map
<
bigint
,
Message
>
>
get
Phys
get
Phys
(
)
:
Promise
<
Map
<
number
,
Message
>
>
Returns
Promise
<
Map
<
number
,
Message
>
>
new
Interface
new
Interface
(
wiphy
:
undefined
|
number
, ifname
:
undefined
|
string
, iftype
:
undefined
|
InterfaceType
|
"UNSPECIFIED"
|
"ADHOC"
|
"STATION"
|
"AP"
|
"AP_VLAN"
|
"WDS"
|
"MONITOR"
|
"MESH_POINT"
|
"P2P_CLIENT"
|
"P2P_GO"
|
"P2P_DEVICE"
|
"OCB"
|
"NAN"
, attrs
?:
Message
, options
?:
Nl80211SendOptions
&
RequestOptions
)
:
Promise
<
Message
&
{
ifindex
:
undefined
|
number
}
>
Parameters
wiphy:
undefined
|
number
ifname:
undefined
|
string
iftype:
undefined
|
InterfaceType
|
"UNSPECIFIED"
|
"ADHOC"
|
"STATION"
|
"AP"
|
"AP_VLAN"
|
"WDS"
|
"MONITOR"
|
"MESH_POINT"
|
"P2P_CLIENT"
|
"P2P_GO"
|
"P2P_DEVICE"
|
"OCB"
|
"NAN"
Optional
attrs:
Message
Optional
options:
Nl80211SendOptions
&
RequestOptions
Returns
Promise
<
Message
&
{
ifindex
:
undefined
|
number
}
>
request
request
(
cmd
:
Commands
, msg
?:
Message
, options
?:
Nl80211SendOptions
&
RequestOptions
)
:
Promise
<
Message
[]
>
Parameters
cmd:
Commands
Optional
msg:
Message
Optional
options:
Nl80211SendOptions
&
RequestOptions
Returns
Promise
<
Message
[]
>
send
send
(
cmd
:
Commands
, msg
:
Message
, options
?:
Nl80211SendOptions
)
:
number
Parameters
cmd:
Commands
msg:
Message
Optional
options:
Nl80211SendOptions
Returns
number
Modules
constants
genl/genl
genl/structs
netlink
nl80211/nl80211
nl80211/structs
raw
rt/gen_
structs
rt/ifla
rt/rt
rt/structs
structs
Nl80211
Socket
constructor
socket
del
Interface
get
Interfaces
get
Phys
new
Interface
request
send
Generated using
TypeDoc