aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/netflow
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2023-01-23 15:05:29 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2023-01-31 20:02:16 +0000
commit3d0d5b21c9b2cfd7e48209340a090f63ca4bce03 (patch)
treea5debcaa7044f86ca30eb3307bf4b31c915d0704 /sys/netgraph/netflow
parent30af2c131bb05528f9b14518a7ed3e98c590b55e (diff)
downloadsrc-3d0d5b21c9b2cfd7e48209340a090f63ca4bce03.tar.gz
src-3d0d5b21c9b2cfd7e48209340a090f63ca4bce03.zip
IfAPI: Explicitly include <net/if_private.h> in netstack
Summary: In preparation of making if_t completely opaque outside of the netstack, explicitly include the header. <net/if_var.h> will stop including the header in the future. Sponsored by: Juniper Networks, Inc. Reviewed by: glebius, melifaro Differential Revision: https://reviews.freebsd.org/D38200
Diffstat (limited to 'sys/netgraph/netflow')
-rw-r--r--sys/netgraph/netflow/netflow.c1
-rw-r--r--sys/netgraph/netflow/ng_netflow.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/netgraph/netflow/netflow.c b/sys/netgraph/netflow/netflow.c
index 9c58674779ae..00fb0d9f68a7 100644
--- a/sys/netgraph/netflow/netflow.c
+++ b/sys/netgraph/netflow/netflow.c
@@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$");
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_var.h>
+#include <net/if_private.h>
#include <net/route.h>
#include <net/route/nhop.h>
#include <net/route/route_ctl.h>
diff --git a/sys/netgraph/netflow/ng_netflow.c b/sys/netgraph/netflow/ng_netflow.c
index ab0aff5cf7fc..fbb232b327d8 100644
--- a/sys/netgraph/netflow/ng_netflow.c
+++ b/sys/netgraph/netflow/ng_netflow.c
@@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$");
#include <net/route.h>
#include <net/if_arp.h>
#include <net/if_var.h>
+#include <net/if_private.h>
#include <net/if_vlan_var.h>
#include <net/bpf.h>
#include <netinet/in.h>