patch-2.4.21 linux-2.4.21/drivers/net/shaper.c
Next file: linux-2.4.21/drivers/net/sis900.c
Previous file: linux-2.4.21/drivers/net/sgiseeq.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
2003-06-13 07:51:35.000000000 -0700
- Orig file:
linux-2.4.20/drivers/net/shaper.c
- Orig date:
2001-12-21 09:41:54.000000000 -0800
diff -urN linux-2.4.20/drivers/net/shaper.c linux-2.4.21/drivers/net/shaper.c
@@ -89,10 +89,10 @@
#include <linux/if_shaper.h>
struct shaper_cb {
+ unsigned long shapeclock; /* Time it should go out */
+ unsigned long shapestamp; /* Stamp for shaper */
__u32 shapelatency; /* Latency on frame */
- __u32 shapeclock; /* Time it should go out */
__u32 shapelen; /* Frame length in clocks */
- __u32 shapestamp; /* Stamp for shaper */
__u16 shapepend; /* Pending */
};
#define SHAPERCB(skb) ((struct shaper_cb *) ((skb)->cb))
@@ -336,7 +336,7 @@
*/
if(sh_debug)
- printk("Clock = %d, jiffies = %ld\n", SHAPERCB(skb)->shapeclock, jiffies);
+ printk("Clock = %ld, jiffies = %ld\n", SHAPERCB(skb)->shapeclock, jiffies);
if(time_before_eq(SHAPERCB(skb)->shapeclock - jiffies, SHAPER_BURST))
{
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)