Holds an interface alias, which is just IP address and netmask. More...
#include <DwmLocalInterfaces.hh>
Public Member Functions | |
| LocalInterfaceAlias () | |
| Constructor. | |
| LocalInterfaceAlias (const Ipv4Address &address, const Ipv4Address &mask) | |
| Construct from an address and netmask. | |
| const Ipv4Address & | Addr () const |
| Returns the IP address. | |
| const Ipv4Address & | Addr (const Ipv4Address &addr) |
| Sets and returns the IP address. | |
| const Ipv4Address & | Mask () const |
| Returns the netmask. | |
| const Ipv4Address & | Mask (const Ipv4Address &mask) |
| Sets and returns the netmask. | |
| bool | operator< (const LocalInterfaceAlias &alias) const |
| operator < | |
| bool | operator== (const LocalInterfaceAlias &alias) const |
| operator == | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const LocalInterfaceAlias &alias) |
| Prints a LocalInterfaceAlias to an ostream. | |
Holds an interface alias, which is just IP address and netmask.