Searched refs:shaper (Results 1 – 8 of 8) sorted by relevance
/linux-2.4.37.9/drivers/net/ |
D | shaper.c | 108 static int shaper_lock(struct shaper *sh) in shaper_lock() 124 static void shaper_kick(struct shaper *sh); 126 static void shaper_unlock(struct shaper *sh) in shaper_unlock() 137 static int shaper_clocks(struct shaper *shaper, struct sk_buff *skb) in shaper_clocks() argument 139 int t=skb->len/shaper->bytespertick; in shaper_clocks() 149 static void shaper_setspeed(struct shaper *shaper, int bitspersec) in shaper_setspeed() argument 151 shaper->bitspersec=bitspersec; in shaper_setspeed() 152 shaper->bytespertick=(bitspersec/HZ)/8; in shaper_setspeed() 153 if(!shaper->bytespertick) in shaper_setspeed() 154 shaper->bytespertick++; in shaper_setspeed() [all …]
|
D | Makefile | 141 obj-$(CONFIG_SHAPER) += shaper.o
|
/linux-2.4.37.9/Documentation/networking/ |
D | shaper.txt | 3 This is the current BETA release of the traffic shaper for Linux. It works 11 o If you ifconfig the master device that a shaper is attached to down 14 o The shaper must be a module. 19 A shaper device is configured using the shapeconfig program. 27 The shaper should have the same IP address as the device it is attached to 32 The shaper shapes transmitted traffic. It's rather impossible to 35 Gated/routed/rwhod/mrouted all see the shaper as an additional device 37 mrouted tunnels via a traffic shaper to control bandwidth usage. 39 The shaper is device/route based. This makes it very easy to use
|
D | 00-INDEX | 95 shaper.txt
|
/linux-2.4.37.9/drivers/atm/ |
D | zatm.c | 512 zpeekl(zatm_dev,uPD98401_IM(zatm_vcc->shaper)+16*i)); 978 int shaper; in alloc_shaper() local 983 for (shaper = 0; !((zatm_dev->free_shapers >> shaper) & 1); shaper++); in alloc_shaper() 984 zatm_dev->free_shapers &= ~1 << shaper; in alloc_shaper() 989 zatm_dev->ubr = shaper; in alloc_shaper() 1027 zpokel(zatm_dev,(i << uPD98401_IM_I_SHIFT) | m,uPD98401_IM(shaper)); in alloc_shaper() 1028 zpokel(zatm_dev,c << uPD98401_PC_C_SHIFT,uPD98401_PC(shaper)); in alloc_shaper() 1029 zpokel(zatm_dev,0,uPD98401_X(shaper)); in alloc_shaper() 1030 zpokel(zatm_dev,0,uPD98401_Y(shaper)); in alloc_shaper() 1031 zpokel(zatm_dev,uPD98401_PS_E,uPD98401_PS(shaper)); in alloc_shaper() [all …]
|
D | zatm.h | 74 int shaper; /* shaper, <0 if none */ member
|
/linux-2.4.37.9/include/linux/ |
D | if_shaper.h | 17 struct shaper struct
|
/linux-2.4.37.9/Documentation/ |
D | Configure.help | 13537 The traffic shaper is a virtual network device that allows you to 13541 <file:Documentation/networking/shaper.txt> for more information. 13543 An alternative to this traffic shaper is the experimental 13547 To set up and configure shaper devices, you need the shapecfg 13549 shaper package. 13553 The module will be called shaper.o. If you want to compile it as a
|