}
static int protocolToString(FieldType type, FieldData* data, char* s, int len) {	if (type.length != 1) {		errorf("Protocol with length %d unparseable", type.length);		return -1;		}	switch (data[0]) {		case IPFIX_protocolIdentifier_ICMP:			snprintf(s, len, "IC~");			return 0;		case IPFIX_protocolIdentifier_TCP:			snprintf(s, len, "TCP");			return 0;		case IPFIX_protocolIdentifier_UDP: 			snprintf(s, len, "UDP");			return 0;		case IPFIX_protocolIdentifier_RAW: 			snprintf(s, len, "RAW");			return 0;		default:			snprintf(s, len, "%u", data[0]);			return 0;		}	}