altq_is_enabled
static int altq_is_enabled(int pfdevice);
if ((altq_enabled = altq_is_enabled(pfctl_fd(pfh))) == -1) {