mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
Replace uses of the old Dict generation code with new template versions
This commit is contained in:
parent
e2feec52be
commit
50943a580c
26 changed files with 62 additions and 94 deletions
|
@ -20,9 +20,6 @@ class Connection;
|
|||
class ConnCompressor;
|
||||
struct ConnID;
|
||||
|
||||
declare(PDict,Connection);
|
||||
declare(PDict,FragReassembler);
|
||||
|
||||
class Discarder;
|
||||
class PacketFilter;
|
||||
|
||||
|
@ -216,10 +213,10 @@ protected:
|
|||
const Packet *pkt, const EncapsulationStack* encap);
|
||||
|
||||
CompositeHash* ch;
|
||||
PDict(Connection) tcp_conns;
|
||||
PDict(Connection) udp_conns;
|
||||
PDict(Connection) icmp_conns;
|
||||
PDict(FragReassembler) fragments;
|
||||
PDict<Connection> tcp_conns;
|
||||
PDict<Connection> udp_conns;
|
||||
PDict<Connection> icmp_conns;
|
||||
PDict<FragReassembler> fragments;
|
||||
|
||||
typedef pair<IPAddr, IPAddr> IPPair;
|
||||
typedef pair<EncapsulatingConn, double> TunnelActivity;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue