I believe the syntax for writing QoS on FreeBSD and OpenBSD provides very good expressive capability [1]. By using tagging [2], one can assign QoS priority to anything that a firewall rule can define.
Having used FreeBSD QoS on dial-up, ISDN, DSL and cable over the years, it is this expressiveness that is one of the reasons I prefer the pf packet filter and thus BSD.
Here's an example for bandwidth limited wan. Interactive ssh sessions get a queue with a minimum bandwidth; scp and sftp bulk transfers go to a separate queue.
queue rootq on em0 bandwidth 100M max 100M
queue ssh parent rootq bandwidth 20M
queue ssh_interactive parent ssh bandwidth 10M min 5M
queue ssh_bulk parent ssh bandwidth 10M
queue std parent rootq bandwidth 20M default
block return out on em0 inet all set queue std
pass out on em0 inet proto tcp from any to any port 22 set queue(ssh_bulk, ssh_interactive)
[1] PF - Packet Queueing and Prioritization
http://www.openbsd.org/faq/pf/queueing.html[2] PF - Packet Tagging (Policy Filtering) http://www.openbsd.org/faq/pf/tagging.html