fixed lose-packet rate with burst
all tools use port.h now