decap_group_impl¶
Warning
doxygenfile: Cannot find file “eos/decap_group_impl.h
Type definitions in decap_group_impl¶
-
namespace
eos -
class
decap_group_impl_t - #include <decap_group_impl.h>
An IP decap group configuration model. At this time, all decap groups are configured in the default VRF.
Public Functions
-
decap_group_impl_t()
-
decap_group_impl_t(std::string const & group_name, ip_addr_t const & destination_addr, decap_protocol_type_t protocol_type)
-
std::string
group_name() const Getter for ‘group_name’: the decap group name. Used to uniquely identify this group.
-
ip_addr_t
destination_addr() const Getter for ‘destination_addr’: match this destination IP on the outermost IP header.
-
void
destination_addr_is(ip_addr_t const & destination_addr) Setter for ‘destination_addr’.
-
decap_protocol_type_t
protocol_type() const Getter for ‘protocol_type’: decapsulate only packets matching this outer IP protocol type.
-
void
protocol_type_is(decap_protocol_type_t protocol_type) Setter for ‘protocol_type’.
-
bool
operator==(decap_group_impl_t const & other) const
-
bool
operator!=(decap_group_impl_t const & other) const
-
bool
operator<(decap_group_impl_t const & other) const
-
uint32_t
hash() const The hash function for type decap_group_t.
-
void
mix_me(hash_mix & h) const The hash mix function for type decap_group_t.
-
std::string
to_string() const Returns a string representation of the current object’s values.
Private Members
-
std::string
group_name_
-
ip_addr_t
destination_addr_
-
decap_protocol_type_t
protocol_type_
Friends
-
friend std::ostream &
operator<< A utility stream operator that adds a string representation of decap_group_t to the ostream.
-
-
class