VintageNet.Technology.ioctl
You're seeing just the callback
ioctl
, go back to VintageNet.Technology module for more information.
Specs
ioctl(VintageNet.ifname(), command :: atom(), args :: list()) :: :ok | {:ok, any()} | {:error, any()}
Handle an ioctl that has been requested on the network interface
The function runs isolated in its own process and only one ioctl is
guaranteed to be running at a time. VintageNet
will handle crashes and
hangs and unceremoniously kill the ioctl if the user changes their mind and
reconfigures the network interface.
Ioctl support is optional. Examples of ioctl
s include:
:scan
- scan for WiFi networks:statistics
- return a map of network statistics