diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2023-01-23 15:05:29 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2023-01-31 20:02:16 +0000 |
commit | 3d0d5b21c9b2cfd7e48209340a090f63ca4bce03 (patch) | |
tree | a5debcaa7044f86ca30eb3307bf4b31c915d0704 /sys/netpfil/ipfw/nat64 | |
parent | 30af2c131bb05528f9b14518a7ed3e98c590b55e (diff) | |
download | src-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/netpfil/ipfw/nat64')
-rw-r--r-- | sys/netpfil/ipfw/nat64/nat64_translate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netpfil/ipfw/nat64/nat64_translate.c b/sys/netpfil/ipfw/nat64/nat64_translate.c index fecc8ff334d2..4b4fc16a5ba6 100644 --- a/sys/netpfil/ipfw/nat64/nat64_translate.c +++ b/sys/netpfil/ipfw/nat64/nat64_translate.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <net/if.h> #include <net/if_var.h> +#include <net/if_private.h> #include <net/if_pflog.h> #include <net/pfil.h> #include <net/netisr.h> |