= nif.openLive(SNAPLEN, PromiscuousMode.PROMISCUOUS, READ_TIMEOUT);
PcapHandle sendHandle
= nif.openLive(SNAPLEN, PromiscuousMode.PROMISCUOUS, READ_TIMEOUT);
ExecutorService pool = Executors.newSingleThreadExecutor();
MacAddress srcMacAddr = MacAddress.getByName(strSrcMacAddress, ":");
try {
handle.setFilter(
"icmp and ether dst " + Pcaps.toBpfString(srcMacAddr),
BpfCompileMode.OPTIMIZE
);