prepare for moving struct pf_state from pfvar.h to pfvar_priv.h
authordlg <dlg@openbsd.org>
Fri, 11 Nov 2022 10:51:46 +0000 (10:51 +0000)
committerdlg <dlg@openbsd.org>
Fri, 11 Nov 2022 10:51:46 +0000 (10:51 +0000)
pflow obviously looks at the kernel pf state structure to do it's
thing, so it will need the header that provides it. i'm committing
this chunk separately to the actual pf_state move to keep the commits
small and simple.

ok sashan@

sys/net/if_pflow.c

index 7f01107..46fcabc 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: if_pflow.c,v 1.96 2022/08/12 16:38:50 mvs Exp $       */
+/*     $OpenBSD: if_pflow.c,v 1.97 2022/11/11 10:51:46 dlg Exp $       */
 
 /*
  * Copyright (c) 2011 Florian Obser <florian@narrans.de>
 #include <netinet/tcp.h>
 
 #include <netinet/ip.h>
+#include <netinet/ip_icmp.h>
 #include <netinet/ip_var.h>
 #include <netinet/udp.h>
 #include <netinet/udp_var.h>
 #include <netinet/in_pcb.h>
 
 #include <net/pfvar.h>
+#include <net/pfvar_priv.h>
 #include <net/if_pflow.h>
 
 #include "bpfilter.h"