All functionality exposed by the ifconfig module is accessed through an instance of the IFConfig class. This class acts as a dictionary that "contains" the list of network interfaces. Each interface is an instance of the Interface class, which is discussed in the next section.
The IFConfig class requires no instantiation parameters.
Retrieve an interface of a given name. This special method also allows an interface object to be treated as a dictionary, the keys of which are interface names.
Does an interface with the name ifname exist.
Retrieve a list of interfaces.
Create an interface with name ifname.
Destroy the interface with name ifname.
<--previous | contents | next--> | (12/21/04) |