摘要 |
<p><P>PROBLEM TO BE SOLVED: To perform traffic shaping for controlling a token rate precisely. <P>SOLUTION: By a traffic shaping method, packet transmission is controlled based on a token counter value added by a predetermined period with the token size as an upper limit. When a sum value is added to the token counter value, the token counter value is compared with a value obtained by shifting the token size to the left by a prescribed shift value. When the token counter value is larger than the value obtained by shifting the token size to the left by the shift value, the token size is stored in a token counter storage section as the token counter value. When the transmission request of a packet is received, the transmission of the packet is requested based on the token counter value. When the transmission of the packet is requested, a value obtained by shifting the frame size value of the packet to the left by a shift value is subtracted from the token counter value. <P>COPYRIGHT: (C)2009,JPO&INPIT</p> |