packet length filter, unused vars