As a last resort, match packets to processes when only the local part matches

Helps for applications with many short-lived connections (such as bittorrent)
and is correct except for exotic use cases anyway
This commit is contained in:
Arnout Engelen
2013-05-12 18:17:59 +00:00
parent 9d8555e17c
commit d7497c1ebf
3 changed files with 44 additions and 25 deletions

View File

@@ -74,6 +74,7 @@ public:
bool Outgoing ();
bool match (Packet * other);
bool matchSource (Packet * other);
/* returns '1.2.3.4:5-1.2.3.4:6'-style string */
char * gethashstring();
private: