case IPFIX_TYPEID_protocolIdentifier: return protocolToString(type, data, s, len); break; case IPFIX_TYPEID_sourceIPv4Address: case IPFIX_TYPEID_destinationIPv4Address: return ipv4ToString(type, data, s, len); break; case IPFIX_TYPEID_sourceTransportPort: case IPFIX_TYPEID_destinationtransportPort: return portToString(type, data, s, len); break; case IPFIX_TYPEID_flowCreationTime: case IPFIX_TYPEID_flowEndTime: return timeToString(type, data, s, len); break; default: return uintToString(type, data, s, len); break; }
case IPFIX_TYPEID_protocolIdentifier: return protocolToString(type, data, s, len); break; case IPFIX_TYPEID_sourceIPv4Address: case IPFIX_TYPEID_destinationIPv4Address: return ipv4ToString(type, data, s, len); break; case IPFIX_TYPEID_sourceTransportPort: case IPFIX_TYPEID_destinationtransportPort: return portToString(type, data, s, len); break; case IPFIX_TYPEID_flowCreationTime: case IPFIX_TYPEID_flowEndTime: return timeToString(type, data, s, len); break; default: return uintToString(type, data, s, len); break;
static int fieldToString(FieldType type, FieldData* data, char* s, int len) {	switch (type.id) {		case IPFIX_TYPEID_protocolIdentifier:			return protocolToString(type, data, s, len);			break;		case IPFIX_TYPEID_sourceIPv4Address:		case IPFIX_TYPEID_destinationIPv4Address:			return ipv4ToString(type, data, s, len);			break;						case IPFIX_TYPEID_sourceTransportPort:		case IPFIX_TYPEID_destinationtransportPort:			return portToString(type, data, s, len);			break;		case IPFIX_TYPEID_flowCreationTime:		case IPFIX_TYPEID_flowEndTime:			return timeToString(type, data, s, len);			break;		default:			return uintToString(type, data, s, len);			break;		}	}