802.1p
Responsibility for QOS provisions on the local segment, and avoidance of the "all packets are treated equally" issue, falls onto the hub or switch servicing the segment. At such a level, the issue of differentiating between network packets, and perhaps treating them differently, must fall into the realm of the media access control (MAC) header. The MAC header (the lower half of Layer 2 in the ISO OSI Model) is the only part of a packet that hubs or switches investigate in their scope of work.
802.1p provides prioritization of packets traversing a subnet by the setting of a 3-bit value in the MAC header. Thus, when the local segment becomes congested and the hub/switch workload results in the delay (dropping) of packets, those packets with flags that correspond to higher priorities will receive preferential treatment, and will be serviced before packets with lower priorities.
Note that implementing 802.1p for QOS requires an 802.1p-aware network interface card, an 802.1p-aware device driver, and an 802.1p-aware switch.