PyDocs

Nav

Internet Protocols and Support

IPv4Interface

  • IPv4Interface(address)
Construct an IPv4 interface. The meaning of address is as in the constructor of IPv4Network, except that arbitrary host addresses are always accepted.
Members of IPv4Interface

i

ip
The address (IPv4Address) without network information.

n

network
The network (IPv4Network) this interface belongs to.

w

with_hostmask
A string representation of the interface with the network as a host mask.
with_netmask
A string representation of the interface with the network as a net mask.
with_prefixlen
A string representation of the interface with the mask in prefix notation.
0 Examples
No examples for ipaddress/IPv4Interface.
See Also
No see-alsos for ipaddress/IPv4Interface
0 Notes
No notes for IPv4Interface