patch-1.3.68 linux/include/linux/netdevice.h

Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/ncp_mount.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.67/linux/include/linux/netdevice.h linux/include/linux/netdevice.h
@@ -34,13 +34,17 @@
 #define MAX_ADDR_LEN	7
 #ifndef CONFIG_AX25
 #ifndef CONFIG_TR
+#ifndef CONFIG_NET_IPIP
 #define MAX_HEADER	32		/* We really need about 18 worst case .. so 32 is aligned */
 #else
+#define MAX_HEADER	48		/* We need to allow for having tunnel headers */
+#endif  /* IPIP */
+#else
 #define MAX_HEADER	48		/* Token Ring header needs 40 bytes ... 48 is aligned */ 
-#endif
+#endif /* TR */
 #else
 #define MAX_HEADER	96		/* AX.25 + NetROM */
-#endif
+#endif /* AX25 */
 
 #define IS_MYADDR	1		/* address is (one of) our own	*/
 #define IS_LOOPBACK	2		/* address is for LOOPBACK	*/

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this