Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Name string
HasNwid bool
Nwid IwParam
HasFreq bool
Freq float64
FreqFlags int
HasKey bool
Key string
KeySize int
KeyFlags int
HasEssid bool
EssidOn bool
Essid string
HasMode bool
Mode int
}
Config is the wireless_config struct from iwlib.h
type NetworkInterface ¶
type NetworkInterface string
NetworkInterface is the name of the wireless interface you wish to perform operations on
func NetworkInterfaces ¶
func NetworkInterfaces() ([]NetworkInterface, error)
NetworkInterfaces enumerates /proc/net/wireless to discover all of the available wireless interfaces
func (NetworkInterface) BasicConfig ¶
func (i NetworkInterface) BasicConfig() (Config, error)
BasicConfig retrieves the wireless configuration for the given interface name.
Click to show internal directories.
Click to hide internal directories.