Since VPP has already integrated the bpf_trace_filter plugin, I believe this project has fulfilled its purpose. Starting from now, this repository will be archived.
using tcpdump to capture packets from vpp interface.
using veth device to receive packets from vpp interface. then using tcpdump to capture packets.
./vtcpdump.py -nvi GigabitEthernet0/0/1 (just same as tcpdump)
I've just tested this on vpp version 22.02, may be it works on other versions.
have fun ! ! 😆😆