summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-07-15 10:26:34 +0000
committerharti <harti@FreeBSD.org>2003-07-15 10:26:34 +0000
commit654d5d52495d7f555ca7c87427cc17cb772a99ba (patch)
tree0857f06a311d9dd2a13d20f5f54f118fead3edcf /sys/net
parentce0c00f511371de4e08ccd40a89f1d4d6b8f7912 (diff)
downloadFreeBSD-src-654d5d52495d7f555ca7c87427cc17cb772a99ba.zip
FreeBSD-src-654d5d52495d7f555ca7c87427cc17cb772a99ba.tar.gz
ATM_PH_LLCSNAP and ATMIO_FLAG_LLCSNAP must have the same value, so
define one in terms of the other.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_atm.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/net/if_atm.h b/sys/net/if_atm.h
index 9712da8..9b7ad2c 100644
--- a/sys/net/if_atm.h
+++ b/sys/net/if_atm.h
@@ -209,8 +209,10 @@ struct atm_pseudohdr {
(X)->atm_ph[3] = ((V) & 0xff); \
}
-#define ATM_PH_AAL5 0x01 /* use AAL5? (0 == aal0) */
-#define ATM_PH_LLCSNAP 0x02 /* use the LLC SNAP encoding (iff aal5) */
+/* use AAL5? (0 == aal0) */
+#define ATM_PH_AAL5 0x01
+/* use the LLC SNAP encoding (iff aal5) */
+#define ATM_PH_LLCSNAP ATMIO_FLAG_LLCSNAP
#define ATM_PH_DRIVER7 0x40 /* reserve for driver's use */
#define ATM_PH_DRIVER8 0x80 /* reserve for driver's use */
OpenPOWER on IntegriCloud