35 #ifndef EMANEMODELSCOMMEFFECTETHERNETPROTOCOLIPV4RULE_HEADER_ 36 #define EMANEMODELSCOMMEFFECTETHERNETPROTOCOLIPV4RULE_HEADER_ 58 bool match(
const void * buf, std::size_t len, std::uint16_t u16Type)
override;
62 std::uint32_t u32Src_;
63 std::uint32_t u32Dst_;
64 std::uint16_t u16Len_;
72 #endif // EMANEMODELSCOMMEFFECTETHERNETPROTOCOLIPV4RULE_HEADER_ ~EthernetProtocolIPv4Rule()
std::list< IPProtocolRule * > IPProtocolRules
EthernetProtocolIPv4Rule(std::uint32_t u32Src, std::uint32_t u32Dst, std::uint16_t u16Len, std::uint8_t u8TOS, std::uint8_t u8TTL, const IPProtocolRules &rules)
bool match(const void *buf, std::size_t len, std::uint16_t u16Type) override