limit number of packets that can be received per iteration of protocol loop