Add packet capture functions