net: Include private header in more needed places

sys/netinet and sys/netipsec are both part of the 'blessed' netstack, so
can access struct ifnet directly.  With this structure becoming private
very soon, the necessary files need to get direct access.

Sponsored by:	Juniper Networks, Inc.
This commit is contained in:
Justin Hibbits 2024-11-08 15:22:49 -05:00
parent 1eaecc214e
commit 4d0c95384f
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@
#include <net/if.h>
#include <net/if_var.h>
#include <net/if_private.h>
#include <net/ethernet.h>
#include <net/bpf.h>
#include <net/vnet.h>

View File

@ -44,6 +44,7 @@
#include <net/if.h>
#include <net/if_var.h>
#include <net/if_private.h>
#include <net/vnet.h>
#include <netinet/in.h>
#include <netinet/ip.h>