Patent ID: 8719674

Claim:
A communication apparatus that realizes an FEC (forward error correction) function, the communication apparatus comprising: a T_FEC-pattern comparing unit that executes, for each of a plurality of detection windows provided at staggered times, processing for comparing an input FEC frame, which is defined in IEEE802.3ah, and a pre-defined T_FEC pattern, which is a pattern for boundary identification added in the input FEC frame at the time of transmission, thereby calculating each code distance between a pattern of the input FEC frame falling in a corresponding one of the detection windows and the same pre-defined T_FEC pattern for each of the detection windows one after another; a code-distance comparing unit that compares at least one of the calculated code distances corresponding to a first one of the detection windows to another one of the calculated code distances corresponding to a second one of the detection windows at a different time from the first one of the detection windows, and detects, based on a result of the comparison, a code for boundary identification T_FEC between an IEEE802.3 frame and an FEC parity; and a boundary-signal generating unit that generates, based on a result of the detection, a T_FEC boundary signal as a signal indicating a detection position of the T_FEC in the FEC frame.