VintageNet.Technology.ioctl

You're seeing just the callback ioctl, go back to VintageNet.Technology module for more information.
Link to this callback

ioctl(arg1, command, args)

View Source

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 ioctls include:

  • :scan - scan for WiFi networks
  • :statistics - return a map of network statistics