patch-2.3.43 linux/include/linux/atm_tcp.h

Next file: linux/include/linux/atm_zatm.h
Previous file: linux/include/linux/atm_nicstar.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/include/linux/atm_tcp.h linux/include/linux/atm_tcp.h
@@ -1,12 +1,14 @@
 /* atm_tcp.h - Driver-specific declarations of the ATMTCP driver (for use by
 	       driver-specific utilities) */
 
-/* Written 1997-1999 by Werner Almesberger, EPFL LRC/ICA */
+/* Written 1997-2000 by Werner Almesberger, EPFL LRC/ICA */
 
 
 #ifndef LINUX_ATM_TCP_H
 #define LINUX_ATM_TCP_H
 
+#include <linux/atmapi.h>
+
 #ifdef __KERNEL__
 #include <linux/types.h>
 #endif
@@ -33,12 +35,12 @@
 
 struct atmtcp_control {
 	struct atmtcp_hdr hdr;	/* must be first */
-	int		type;	/* message type; both directions */
-	unsigned long	vcc;	/* both directions */
+	int type;		/* message type; both directions */
+	atm_kptr_t vcc;		/* both directions */
 	struct sockaddr_atmpvc addr; /* suggested value from kernel */
 	struct atm_qos	qos;	/* both directions */
 	int result;		/* to kernel only */
-};
+} __ATM_API_ALIGN;
 
 /*
  * Field usage:

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