Replace the C code with a Scapy-based parser.