EMANE  1.2.1
EMANE::Models::CommEffect::IPProtocolUDPRule Class Reference

#include <ipprotocoludprule.h>

Inheritance diagram for EMANE::Models::CommEffect::IPProtocolUDPRule:
EMANE::Models::CommEffect::IPProtocolRule EMANE::Models::CommEffect::Rule

Public Member Functions

 IPProtocolUDPRule (std::uint16_t u16SrcPort, std::uint16_t u16DstPort)
 
 ~IPProtocolUDPRule ()
 
bool match (const void *buf, std::size_t len, std::uint16_t u16Type) override
 

Protected Attributes

std::uint8_t u8Type_
 

Detailed Description

Definition at line 46 of file ipprotocoludprule.h.

Constructor & Destructor Documentation

◆ IPProtocolUDPRule()

EMANE::Models::CommEffect::IPProtocolUDPRule::IPProtocolUDPRule ( std::uint16_t  u16SrcPort,
std::uint16_t  u16DstPort 
)

Definition at line 41 of file ipprotocoludprule.cc.

◆ ~IPProtocolUDPRule()

EMANE::Models::CommEffect::IPProtocolUDPRule::~IPProtocolUDPRule ( )

Definition at line 58 of file ipprotocoludprule.cc.

Member Function Documentation

◆ match()

bool EMANE::Models::CommEffect::IPProtocolUDPRule::match ( const void *  buf,
std::size_t  len,
std::uint16_t  u16Type 
)
overridevirtual

Implements EMANE::Models::CommEffect::Rule.

Definition at line 61 of file ipprotocoludprule.cc.

Member Data Documentation

◆ u8Type_

std::uint8_t EMANE::Models::CommEffect::IPProtocolRule::u8Type_
protectedinherited

Definition at line 53 of file ipprotocolrule.h.


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