patch-2.1.116 linux/include/linux/if_shaper.h

Next file: linux/include/linux/if_wic.h
Previous file: linux/include/linux/genhd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.115/linux/include/linux/if_shaper.h linux/include/linux/if_shaper.h
@@ -18,6 +18,7 @@
 {
 	struct sk_buff_head sendq;
 	__u32 bytespertick;
+	__u32 bitspersec;
 	__u32 shapelatency;
 	__u32 shapeclock;
 	__u32 recovery;		/* Time we can next clock a packet out on
@@ -44,6 +45,8 @@
 
 #define SHAPER_SET_DEV		0x0001
 #define SHAPER_SET_SPEED	0x0002
+#define SHAPER_GET_DEV		0x0003
+#define SHAPER_GET_SPEED	0x0004
 
 struct shaperconf
 {

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