patch-2.1.67 linux/include/linux/if.h

Next file: linux/include/linux/if_arp.h
Previous file: linux/include/linux/icmp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.66/linux/include/linux/if.h linux/include/linux/if.h
@@ -39,6 +39,8 @@
 
 #define IFF_MULTICAST	0x1000		/* Supports multicast		*/
 
+#define IFF_VOLATILE	(IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ALLMULTI)
+
 #define IFF_PORTSEL	0x2000          /* can set media type		*/
 #define IFF_AUTOMEDIA	0x4000		/* auto media select active	*/
 
@@ -129,6 +131,7 @@
 #define ifr_slave	ifr_ifru.ifru_slave	/* slave device		*/
 #define	ifr_data	ifr_ifru.ifru_data	/* for use by interface	*/
 #define ifr_ifindex	ifr_ifru.ifru_ivalue	/* interface index	*/
+#define ifr_bandwidth	ifr_ifru.ifru_ivalue    /* link bandwidth	*/
 
 /*
  * Structure used in SIOCGIFCONF request.
@@ -148,5 +151,6 @@
 };
 #define	ifc_buf	ifc_ifcu.ifcu_buf		/* buffer address	*/
 #define	ifc_req	ifc_ifcu.ifcu_req		/* array of structures	*/
+
 
 #endif /* _LINUX_IF_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov