Scapy routines for IPI testing