how-to limit number of packets and # of sessions per

please can anybody inform me or help me how to limit the number of sessions a client can open or the number of packets/sec a user can send, my clients have either fixed ip or hotspot. also if these can be done per profile for hotspot users. thanks

no one having such configuration or have an idea or a link to a reference how to do it???