hsr_check_duplicate
return hsr_check_duplicate(frame, port->type - 1);
return hsr_check_duplicate(frame, 0);