Optimized to handle most common packets first