several code fixes and cleanups, revival of the 'unknown' process

This commit is contained in:
Arnout Engelen
2004-08-30 15:54:11 +00:00
parent 3b5ac96754
commit 0518d27924
7 changed files with 38 additions and 26 deletions

View File

@@ -28,11 +28,13 @@ public:
timeval time;
Packet (in_addr m_sip, unsigned short m_sport, in_addr m_dip, unsigned short m_dport, bpf_u_int32 m_len, timeval m_time);
/* copy constructor */
Packet * newPacket ();
/* using default copy constructor */
/* Packet (const Packet &old_packet); */
/* copy constructor that turns the packet around */
Packet * newInverted ();
bool isOlderThan(timeval t);
/* is this packet coming from here? */
/* is this packet coming from the local host? */
bool Outgoing ();
bool match (Packet * other);