subintf_impl

Warning

doxygenfile: Cannot find file “eos/subintf_impl.h

Type definitions in subintf_impl

namespace eos
class subintf_impl_t
#include <subintf_impl.h>

This data structure defines a subinterface.

Public Functions

subintf_impl_t()
subintf_impl_t(intf_id_t intf_id, vlan_id_t vlan_id)
intf_id_t intf_id() const

Getter for ‘intf_id’: the interface ID of this subinterface.

vlan_id_t vlan_id() const

Getter for ‘vlan_id’: the VLAN tag of this subinterface.

void vlan_id_is(vlan_id_t vlan_id)

Setter for ‘vlan_id’.

bool operator==(subintf_impl_t const & other) const
bool operator!=(subintf_impl_t const & other) const
uint32_t hash() const

The hash function for type subintf_t.

void mix_me(hash_mix & h) const

The hash mix function for type subintf_t.

std::string to_string() const

Returns a string representation of the current object’s values.

Private Members

intf_id_t intf_id_
vlan_id_t vlan_id_

Friends

friend std::ostream & operator<<

A utility stream operator that adds a string representation of subintf_t to the ostream.