EMANE  1.2.1
EMANE::Models::CommEffect::EthernetProtocolRule Class Referenceabstract

#include <ethernetprotocolrule.h>

Inheritance diagram for EMANE::Models::CommEffect::EthernetProtocolRule:
EMANE::Models::CommEffect::Rule EMANE::Models::CommEffect::EthernetProtocolIPv4Rule

Public Member Functions

 EthernetProtocolRule (std::uint16_t u16Type, const IPProtocolRules &rules)
 
 ~EthernetProtocolRule ()
 
virtual bool match (const void *buf, std::size_t len, std::uint16_t u16Type)=0
 

Protected Attributes

std::uint16_t u16Type_
 
IPProtocolRules rules_
 

Detailed Description

Definition at line 51 of file ethernetprotocolrule.h.

Constructor & Destructor Documentation

◆ EthernetProtocolRule()

EMANE::Models::CommEffect::EthernetProtocolRule::EthernetProtocolRule ( std::uint16_t  u16Type,
const IPProtocolRules rules 
)
inline

Definition at line 54 of file ethernetprotocolrule.h.

◆ ~EthernetProtocolRule()

EMANE::Models::CommEffect::EthernetProtocolRule::~EthernetProtocolRule ( )
inline

Definition at line 59 of file ethernetprotocolrule.h.

Member Function Documentation

◆ match()

virtual bool EMANE::Models::CommEffect::Rule::match ( const void *  buf,
std::size_t  len,
std::uint16_t  u16Type 
)
pure virtualinherited

Member Data Documentation

◆ rules_

IPProtocolRules EMANE::Models::CommEffect::EthernetProtocolRule::rules_
protected

Definition at line 67 of file ethernetprotocolrule.h.

◆ u16Type_

std::uint16_t EMANE::Models::CommEffect::EthernetProtocolRule::u16Type_
protected

Definition at line 62 of file ethernetprotocolrule.h.


The documentation for this class was generated from the following file: