Typedefs
A deprecated alias. Use eos::vlan_set_t instead.
Valid range of 1-4094 (0/4095 are reserved).
A bitset representing a collection of VLAN IDs.
An Ethernet address.
Public Functions
Default constructor. Copy constructor and assignment operator implicitly declared.
Constructs an address from a char *. Supported formats are xx:xx:xx:xx:xx:xx, xx-xx-xx-xx-xx-xx, or xxxx.xxxx.xxxx.
Constructs an address from a std::string. Supported formats are xx:xx:xx:xx:xx:xx, xx-xx-xx-xx-xx-xx, or xxxx.xxxx.xxxx.
Constructs an address from the 6 bytes that make it up.
Constructs an address from a byte array. The array will be copied.
String representation of a Ethernet address, e.g “xx:xx:xx:xx:xx:xx”.
Only the default MAC address (all zeros) evaluates to false.
Returns the given byte from the address.
Copies the bytes of the Ethernet address to the given address.
Returns true if the Ethernet address is a unicast address.
Returns true if the Ethernet address is a multicast address.
Returns true if the Ethernet address is a broadcast address.
Private Members
Friends
A utility stream operator that adds a string representation of eth_addr_t to the ostream.
The given VLAN number was invalid (for example 0 or 4095).
Public Functions
Throws this exception.
Returns a string representation of the current object’s values.
Private Members
Friends
A utility stream operator that adds a string representation of invalid_vlan_error to the ostream.
Tried to configure an internal VLAN on a trunk port.
Public Functions
Throws this exception.
Returns a string representation of the current object’s values.
Private Members
Friends
A utility stream operator that adds a string representation of internal_vlan_error to the ostream.