FPGA-based traffic classifier using the SVM algorithm