setting up the packet sniffing abstraction