Added packet number limitation feature