`(pktLen < maxPacketSize)` would be more intuitive IMO, but of course it's fine like that