BUG-3229: Add support for PacketIn filtering
When we are facing an overload situation, we may need to suppress
PacketIns while still processing other messages. This patch adds the
interface for ConnectionAdapter users which they can use to enable
filtering of such packets.
The implementation ensures that we filter these packets as efficiently
as possible.
Change-Id: I431631922437af7a08eb8ece647904d487634bd9
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit
1f1a00d6c132e58a4d8f549f836323ecfe003e77)