Patent ID: 9032008
Filing Date: 2015-05-12
Classification: G06F,H04L

Abstract:
1. A communication device comprising: a storage unit to store plural combinations of quotients and remainders associated with multiplication values obtained by multiplying a specified integer number, which is expressed in a form of (2 a dividend setting unit to set, as a dividend, a data length of received packet data; a division unit to divide the dividend, set by the dividend setting unit, by 2 a subtraction value determination unit to obtain a second quotient that is stored in the storage unit in combination with the first remainder calculated by the division unit, from the storage unit, and determine whether or not a subtraction value, obtained by subtracting the obtained second quotient from the first quotient calculated by the division unit, is greater than the specified integer number; and a data length determination unit to determine that the data length of the packet data is a normal length, when the subtraction value determination unit determines that the subtraction value is not greater than the specified integer number and that a combination of the first quotient and the first remainder calculated by the division unit is stored in the storage unit, wherein the dividend setting unit sets the subtraction value as the dividend when the subtraction value determination unit determines that the subtraction value is greater than the specified integer number.