aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_atm.h
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2003-07-15 10:22:55 +0000
committerHartmut Brandt <harti@FreeBSD.org>2003-07-15 10:22:55 +0000
commite6b34a1dbb3754e8f98affebae6c3e252063bfc7 (patch)
tree06e22fbbbbc24c6ba5e70e1f2b40f265a56c85fb /sys/net/if_atm.h
parent7e9024cdd9a555f05fef1a872eb05e0d4fefebc1 (diff)
downloadsrc-e6b34a1dbb3754e8f98affebae6c3e252063bfc7.tar.gz
src-e6b34a1dbb3754e8f98affebae6c3e252063bfc7.zip
Protect a kernel structure by _KERNEL.
Notes
Notes: svn path=/head/; revision=117625
Diffstat (limited to 'sys/net/if_atm.h')
-rw-r--r--sys/net/if_atm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_atm.h b/sys/net/if_atm.h
index d809d16780b2..9712da8c0034 100644
--- a/sys/net/if_atm.h
+++ b/sys/net/if_atm.h
@@ -159,6 +159,7 @@ struct atmio_vcctable {
#define ATM_RATE_622M 1412830
#define ATM_RATE_2_4G 5651320
+#ifdef _KERNEL
/*
* Common fields for all ATM interfaces. Each driver's softc must start with
* this structure.
@@ -169,6 +170,7 @@ struct ifatm {
void *phy; /* usually SUNI */
void *ngpriv; /* netgraph link */
};
+#endif
/*
* Keep structures in sync with ng_atm.h