]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/net/classq/classq_util.c
xnu-2422.100.13.tar.gz
[apple/xnu.git] / bsd / net / classq / classq_util.c
index e8bf3d5bd1ca8742aa1abc5d7c06dd1871932cf2..9cc141265c83a67000a6561de11a8a3ad7920d60 100644 (file)
@@ -82,6 +82,7 @@
 
 #include <libkern/libkern.h>
 
+#if PF_ECN
 /*
  * read and write diffserv field in IPv4 or IPv6 header
  */
@@ -302,3 +303,4 @@ mark_ecn(struct mbuf *m, struct pf_mtag *t, int flags)
        /* not marked */
        return (0);
 }
+#endif /* PF_ECN */