case IPFIX_TYPEID_protocolIdentifier: return 3; break; case IPFIX_TYPEID_sourceIPv4Address: case IPFIX_TYPEID_destinationIPv4Address: return 18; break; case IPFIX_TYPEID_sourceTransportPort: case IPFIX_TYPEID_destinationtransportPort: return 11; break; case IPFIX_TYPEID_flowCreationTime: case IPFIX_TYPEID_flowEndTime: return 8; break; case IPFIX_TYPEID_sourceIPv4Mask: case IPFIX_TYPEID_destinationIPv4Mask: return 2; break; default: return 5; break; }
case IPFIX_TYPEID_protocolIdentifier: return 3; break; case IPFIX_TYPEID_sourceIPv4Address: case IPFIX_TYPEID_destinationIPv4Address: return 18; break; case IPFIX_TYPEID_sourceTransportPort: case IPFIX_TYPEID_destinationtransportPort: return 11; break; case IPFIX_TYPEID_flowCreationTime: case IPFIX_TYPEID_flowEndTime: return 8; break; case IPFIX_TYPEID_sourceIPv4Mask: case IPFIX_TYPEID_destinationIPv4Mask: return 2; break; default: return 5; break;
static int fieldTypeToStringLength(FieldType type) {	switch (type.id) {		case IPFIX_TYPEID_protocolIdentifier:			return 3;			break;		case IPFIX_TYPEID_sourceIPv4Address:		case IPFIX_TYPEID_destinationIPv4Address:			return 18;			break;						case IPFIX_TYPEID_sourceTransportPort:		case IPFIX_TYPEID_destinationtransportPort:			return 11;			break;		case IPFIX_TYPEID_flowCreationTime:		case IPFIX_TYPEID_flowEndTime:			return 8;			break;		case IPFIX_TYPEID_sourceIPv4Mask:		case IPFIX_TYPEID_destinationIPv4Mask:			return 2;			break;		default:			return 5;			break;		}	}