void CTcpStreamFeaturesNode::configure(CNodeConfig &config) { // Add parameters config.addInt("timezone", "GMT time", "The timezone value.", 0); config.addBool("split_dest_ip", "Split Destination IP", "Split each octet of the destination IP address as different features.", false); config.addUInt("dest_ip_split_number", "Destination IP Features", "The number of octets to use as attributes, starting from the " "least significant to the most significant [1-4]", 4); config.addBool("split_src_ip", "Split Source IP", "Split each octet of the source IP address as different attributes.", false); config.addUInt("src_ip_split_number", "Source IP Features", "The number of octets to use as attributes, starting from the " "least significant to the most significant [1-4]", 4); config.addUInt("word_count", "Words to Extract", "The number of words to extract from the data stream as they appear.", 8); config.addUInt("word_length", "Maximum Length of a Word", "The number of characters a word can be matched to.", 16); // Add the gates. config.addInput("in", "tcpstreams"); config.addOutput("out", "table"); }