aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_dead.c
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2023-01-13 15:43:51 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2023-01-24 19:36:30 +0000
commit2c2b37ad251d25fb81d6254e29130684fed774ab (patch)
treed3e6ebee767c99629bce3640f51fbd42bd0d72ec /sys/net/if_dead.c
parentfa25dbfd98ff58556d707a94a8355626b681c65f (diff)
downloadsrc-2c2b37ad251d25fb81d6254e29130684fed774ab.tar.gz
src-2c2b37ad251d25fb81d6254e29130684fed774ab.zip
ifnet/API: Move struct ifnet definition to a <net/if_private.h>
Hide the ifnet structure definition, no user serviceable parts inside, it's a netstack implementation detail. Include it temporarily in <net/if_var.h> until all drivers are updated to use the accessors exclusively. Reviewed by: glebius Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D38046
Diffstat (limited to 'sys/net/if_dead.c')
-rw-r--r--sys/net/if_dead.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_dead.c b/sys/net/if_dead.c
index 5721e9490776..8d645c29817b 100644
--- a/sys/net/if_dead.c
+++ b/sys/net/if_dead.c
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
#include <net/if.h>
#include <net/if_var.h>
+#include <net/if_private.h>
static int
ifdead_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *sa,