class_map_impl¶
Warning
doxygenfile: Cannot find file “eos/class_map_impl.h
Type definitions in class_map_impl¶
-
namespace
eos -
class
class_map_rule_impl_t¶ - #include <class_map_impl.h>
A class map match rule uses an ACL to match classified traffic. Values of this type are returned from the class_map_rule_iter, to program class maps, either supply one of these or the acl_key_t directly to class_map_mgr’s class_map_rule_set().
Public Functions
-
class_map_rule_impl_t()¶
-
acl_key_t
acl_key() const¶ Getter for ‘acl_key’: the ACL name and type to use as a class map match rule.
-
bool
operator==(class_map_rule_impl_t const &other) const¶
-
bool
operator!=(class_map_rule_impl_t const &other) const¶
-
uint32_t
hash() const¶ The hash function for type class_map_rule_t.
-
void
mix_me(hash_mix &h) const¶ The hash mix function for type class_map_rule_t.
Friends
-
std::ostream &
operator<<(std::ostream &os, const class_map_rule_impl_t &obj)¶ A utility stream operator that adds a string representation of class_map_rule_t to the ostream.
-
-
class
class_map_impl_t¶ - #include <class_map_impl.h>
A class map classifies traffic to apply policy features to.
A class map can match IP or MPLS traffic. To match IP traffic, specify a class map matching one or more IPv4 ACLs (for PBR).
Public Functions
-
class_map_impl_t()¶
-
class_map_impl_t(class_map_key_t const &key)¶
-
class_map_key_t
key() const¶ Getter for ‘key’: the class map key.
-
void
key_is(class_map_key_t const &key)¶ Setter for ‘key’.
-
std::map<uint32_t, class_map_rule_t> const &
rules() const¶ Getter for ‘rules’: the sequence of class map rules.
-
void
rules_is(std::map<uint32_t, class_map_rule_t> const &rules)¶ Setter for ‘rules’.
-
void
rule_set(uint32_t key, class_map_rule_t const &value)¶ Inserts key/value pair to the map.
-
void
rule_del(uint32_t key)¶ Deletes the key/value pair from the map.
-
bool
operator==(class_map_impl_t const &other) const¶
-
bool
operator!=(class_map_impl_t const &other) const¶
-
uint32_t
hash() const¶ The hash function for type class_map_t.
-
void
mix_me(hash_mix &h) const¶ The hash mix function for type class_map_t.
Friends
-
std::ostream &
operator<<(std::ostream &os, const class_map_impl_t &obj)¶ A utility stream operator that adds a string representation of class_map_t to the ostream.
-
-
class