--- linux-2.4.9.orig/include/linux/if_shaper.h Wed Aug 18 20:38:47 1999 +++ linux-2.4.9/include/linux/if_shaper.h Sun Sep 9 16:27:01 2001 @@ -14,6 +14,8 @@ #define SHAPER_MAXSLIP 2 #define SHAPER_BURST (HZ/50) /* Good for >128K then */ +#define IS_SHAPERDEVICE(dev) ((dev)->features & NETIF_F_SHAPER) + struct shaper { struct sk_buff_head sendq;