NetBSD: ALTQ available in NetBSD 4.0; The GENERIC kernel does not have ALTQ options enabled. Relevant options are
options ALTQ # Manipulate network interfaces' output queues options ALTQ_CBQ # Class-Based Queuing options ALTQ_HFSC # Hierarchical Fair Service Curve options ALTQ_PRIQ # Priority Queuing options ALTQ_RED # Random Early Detection
Enable the options you need in your kernel config, install the kernel