Class ParseIntrusionData

Class Documentation

class ParseIntrusionData

Parser to read the intrusion data from a udp sequence.

Public Functions

ParseIntrusionData()

Constructor of the parser.

datastructure::IntrusionData parseUDPSequence(const datastructure::PacketBuffer &buffer, datastructure::Data &data)

Parse a udp sequence to read the intrusion data if enabled.

Parameters:
  • buffer – The incoming sequence.

  • data – The already parsed data to check if intrusion data is enabled.

Returns:

The parsed intrusion data.

uint16_t getNumScanPoints() const
void setNumScanPoints(const uint16_t &num_scan_points)