implemented BPF packet sniffing