Since you’re using af-packet, a bpf rule is probably the best approach to keeping the unwanted data from being analyzed