aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2003-07-15 10:26:34 +0000
committerHartmut Brandt <harti@FreeBSD.org>2003-07-15 10:26:34 +0000
commit918c6c0c7ef7ec64e28a3b4a97a81b2961832f31 (patch)
tree0857f06a311d9dd2a13d20f5f54f118fead3edcf
parentbbc39c8391897384fe184b63de2cbe3236175792 (diff)
downloadsrc-918c6c0c7ef7ec64e28a3b4a97a81b2961832f31.tar.gz
src-918c6c0c7ef7ec64e28a3b4a97a81b2961832f31.zip
ATM_PH_LLCSNAP and ATMIO_FLAG_LLCSNAP must have the same value, so
define one in terms of the other.
Notes
Notes: svn path=/head/; revision=117627
-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 9712da8c0034..9b7ad2c70bea 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 */