FreeBSD: The GENERIC kernel does not have ALTQ options enabled. Relevant options are
options ALTQ options ALTQ_CBQ # Class-Based Queuing (CBQ) options ALTQ_RED # Random Early Detection (RED) options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) options ALTQ_PRIQ # Priority Queuing (PRIQ) options ALTQ_NOPCC # Required for SMP buildo
Enable the options you need in your kernel config, build and install the kernel