FD.io VPP  v18.07.1-13-g909ba93
Vector Packet Processing
VOM::ACL::ethertype_rule_t Struct Reference

An ACL ethertype list comprises a set of inbound ether types and out bound ether types to be applied to packets. More...

Public Member Functions

 ethertype_rule_t (const ethertype_t &eth, const direction_t &dir)
 Constructor. More...
 
 ~ethertype_rule_t ()=default
 Destructor. More...
 
std::string to_string () const
 convert to string More...
 
bool operator< (const ethertype_rule_t &other) const
 comparision operator More...
 
bool operator== (const ethertype_rule_t &other) const
 comparision operator (for testing) More...
 
uint16_t getEthertype (void) const
 get the ether value More...
 
const direction_tgetDirection (void) const
 get the direction More...
 

Detailed Description

An ACL ethertype list comprises a set of inbound ether types and out bound ether types to be applied to packets.

A list is bound to a given interface.

Definition at line 37 of file acl_ethertype.hpp.

Constructor & Destructor Documentation

VOM::ACL::ethertype_rule_t::ethertype_rule_t ( const ethertype_t eth,
const direction_t dir 
)

Constructor.

Definition at line 23 of file acl_ethertype.cpp.

VOM::ACL::ethertype_rule_t::~ethertype_rule_t ( )
default

Destructor.

Member Function Documentation

const direction_t & VOM::ACL::ethertype_rule_t::getDirection ( void  ) const

get the direction

Definition at line 61 of file acl_ethertype.cpp.

+ Here is the call graph for this function:

uint16_t VOM::ACL::ethertype_rule_t::getEthertype ( void  ) const

get the ether value

Definition at line 55 of file acl_ethertype.cpp.

+ Here is the call graph for this function:

bool VOM::ACL::ethertype_rule_t::operator< ( const ethertype_rule_t other) const

comparision operator

Definition at line 43 of file acl_ethertype.cpp.

bool VOM::ACL::ethertype_rule_t::operator== ( const ethertype_rule_t other) const

comparision operator (for testing)

Definition at line 49 of file acl_ethertype.cpp.

std::string VOM::ACL::ethertype_rule_t::to_string ( void  ) const

convert to string

Definition at line 31 of file acl_ethertype.cpp.

+ Here is the call graph for this function:


The documentation for this struct was generated from the following files: