patch-2.4.19 linux-2.4.19/include/linux/if_bonding.h
Next file: linux-2.4.19/include/linux/if_pppox.h
Previous file: linux-2.4.19/include/linux/ide.h
Back to the patch index
Back to the overall index
-  Lines: 26
-  Date:
Fri Aug  2 17:39:45 2002
-  Orig file: 
linux-2.4.18/include/linux/if_bonding.h
-  Orig date: 
Mon Feb 25 11:38:13 2002
diff -urN linux-2.4.18/include/linux/if_bonding.h linux-2.4.19/include/linux/if_bonding.h
@@ -51,7 +51,7 @@
 #define BOND_STATE_ACTIVE       0   /* link is active */
 #define BOND_STATE_BACKUP       1   /* link is backup */
 
-#define MAX_BONDS               1   /* Maximum number of devices to support */
+#define BOND_DEFAULT_MAX_BONDS  1   /* Default maximum number of devices to support */
 
 typedef struct ifbond {
 	__s32 bond_mode;
@@ -76,6 +76,7 @@
 	short  delay;
 	char   link;    /* one of BOND_LINK_XXXX */
 	char   state;   /* one of BOND_STATE_XXXX */
+	unsigned short original_flags;
 	u32 link_failure_count;
 } slave_t;
 
@@ -104,6 +105,8 @@
 #endif /* CONFIG_PROC_FS */
 	struct bonding *next_bond;
 	struct net_device *device;
+	struct dev_mc_list *mc_list;
+	unsigned short flags;
 } bonding_t;
 #endif /* __KERNEL__ */
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)