// Transactions.
pub transactions: Vec<DNSTransaction>,
- pub events: u16,
-
config: Option<ConfigTracker>,
gap: bool,
return DNSState{
tx_id: 0,
transactions: Vec::new(),
- events: 0,
config: None,
gap: false,
};
return DNSState{
tx_id: 0,
transactions: Vec::new(),
- events: 0,
config: None,
gap: false,
};
let tx = &mut self.transactions[len - 1];
core::sc_app_layer_decoder_events_set_event_raw(&mut tx.events,
event as u8);
- self.events += 1;
}
pub fn parse_request(&mut self, input: &[u8]) -> bool {