patch-2.2.17 linux/include/linux/hdlc.h

Next file: linux/include/linux/i2o.h
Previous file: linux/include/linux/hd64572.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.16/include/linux/hdlc.h linux/include/linux/hdlc.h
@@ -38,6 +38,8 @@
 #define LINE_X21	3
 #define LINE_LOOPBACK	4	/* On-card loopback */
 #define LINE_NOLOOPBACK	5
+#define LINE_T1		6
+#define LINE_E1		7
 #define LINE_MIN_CLOCK 75	/* This & higher values are real clock rates */
 
 
@@ -126,6 +128,8 @@
 	u16 rel;		/* reliability */
 	u32 time;
 }__attribute__ ((packed)) cisco_packet;
+#define	CISCO_PACKET_LEN	18
+#define	CISCO_BIG_PACKET_LEN	20
 
 
 
@@ -153,8 +157,8 @@
 	u8 N391cnt;
 
 	u8 state;		/* ! */
-	u8 txseq;		/* ! TX sequence number */
-	u8 rxseq;		/* ! RX sequence number */
+	u32 txseq;		/* ! TX sequence number - Cisco uses 4 bytes */
+	u32 rxseq;		/* ! RX sequence number */
 }fr_lmi;			/* ! means used in Cisco HDLC as well */
 
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)