-/* $OpenBSD: pf_ioctl.c,v 1.316 2017/06/28 19:27:42 mikeb Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.317 2017/06/28 19:30:24 mikeb Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
return (0);
}
+const struct pfq_ops *
+pf_queue_manager(struct pf_queuespec *q)
+{
+ if (q->flags & PFQS_FLOWQUEUE)
+ return pfq_fqcodel_ops;
+ return (/* pfq_default_ops */ NULL);
+}
+
#define PF_MD5_UPD(st, elm) \
MD5Update(ctx, (u_int8_t *) &(st)->elm, sizeof((st)->elm))
-/* $OpenBSD: pfvar.h,v 1.459 2017/06/28 18:31:03 mikeb Exp $ */
+/* $OpenBSD: pfvar.h,v 1.460 2017/06/28 19:30:24 mikeb Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
int pf_addr_compare(struct pf_addr *, struct pf_addr *,
sa_family_t);
+const struct pfq_ops
+ *pf_queue_manager(struct pf_queuespec *);
+
extern struct pf_status pf_status;
extern struct pool pf_frent_pl, pf_frag_pl;