char* typeid2string(int i) { if (i ==  60) return "ipVersion"; if (i ==   8) return "sourceIPv4Address"; if (i ==  27) return "sourceIPv6Address"; if (i ==   9) return "sourceIPv4Mask"; if (i ==  29) return "sourceIPv6Mask"; if (i ==  44) return "sourceIPv4Prefix"; if (i ==  12) return "destinationIPv4Address"; if (i ==  28) return "destinationIPv6Address"; if (i ==  13) return "destinationIPv4Mask"; if (i ==  30) return "destinationIPv6Mask"; if (i ==  45) return "destinationIPv4Prefix"; if (i ==   5) return "classOfServiceIPv4"; if (i == 137) return "classOfServiceV6"; if (i ==  31) return "flowLabelV6"; if (i ==  54) return "identificationV4"; if (i ==   4) return "protocolIdentifier"; if (i ==   7) return "sourceTransportPort"; if (i ==  11) return "destinationtransportPort"; if (i ==  32) return "icmpTypeCode"; if (i ==  33) return "igmpType"; if (i ==  56) return "sourceMacAddress"; if (i ==  70) return "mplsLabelStackEntry1"; if (i ==  71) return "mplsLabelStackEntry2"; if (i ==  72) return "mplsLabelStackEntry3"; if (i ==  73) return "mplsLabelStackEntry4"; if (i ==  74) return "mplsLabelStackEntry5"; if (i ==  75) return "mplsLabelStackEntry6"; if (i ==  76) return "mplsLabelStackEntry7"; if (i ==  77) return "mplsLabelStackEntry8"; if (i ==  78) return "mplsLabelStackEntry9"; if (i ==  79) return "mplsLabelStackEntry10"; if (i ==  15) return "ipNextHopIPv4Address"; if (i ==  62) return "ipNextHopIPv6Address"; if (i ==  10) return "ingressInterface"; if (i ==  14) return "egressInterface"; if (i == 129) return "ipNextHopAsNumber"; if (i ==  16) return "bgpSourceAsNumber"; if (i ==  17) return "bgpDestinationAsNumber"; if (i == 128) return "bgpNextHopAsNumber"; if (i ==  18) return "bgpNextHopIPv4Address"; if (i ==  63) return "bgpNextHopIPv6Address"; if (i ==  46) return "mplsTopLabelType"; if (i ==  47) return "mplsTopLabelIPv4Address"; if (i == 140) return "mplsTopLabelIPv6Address"; if (i == 130) return "exporterIPv4Address"; if (i == 131) return "exporterIPv6Address"; if (i ==  25) return "minPacketLength"; if (i ==  26) return "maxPacketLength"; if (i ==  52) return "minimumTTL"; if (i ==  53) return "maximumTTL"; if (i ==  64) return "ipv6OptionHeaders"; if (i ==   6) return "tcpControlBits"; if (i ==  22) return "flowCreationTime"; if (i ==  21) return "flowEndTime"; if (i ==  36) return "flowActiveTimeOut"; if (i ==  37) return "flowInactiveTimeout"; if (i == 136) return "flowEndReason"; if (i ==   1) return "inOctetDeltaCount"; if (i ==  23) return "outOctetDeltaCount"; if (i == 138) return "octetDeltaCount"; if (i ==  85) return "octetTotalCount"; if (i ==   2) return "inPacketDeltaCount"; if (i ==  24) return "outPacketDeltaCount"; if (i == 139) return "packetDeltaCount"; if (i ==  86) return "packetTotalCount"; if (i == 132) return "droppedOctetDeltaCount"; if (i == 133) return "droppedOctetTotalCount"; if (i == 134) return "droppedPacketDeltaCount"; if (i == 135) return "droppedPacketTotalCount"; if (i ==  19) return "outMulticastPacketCount"; if (i ==  20) return "outMulticastOctetCount"; if (i ==   3) return "observedFlowTotalCount"; if (i ==  40) return "exportedOctetTotalCount"; if (i ==  41) return "exportedPacketTotalCount"; if (i ==  42) return "exportedFlowTotalCount"; return NULL;
char* typeid2string(int i) { const struct ipfix_identifier *ix; ix=ipfix_id_lookup(i);  if(!ix) { return NULL;
char* typeid2string(int i) {	if (i ==  60) return "ipVersion"; 	if (i ==   8) return "sourceIPv4Address"; 	if (i ==  27) return "sourceIPv6Address"; 	if (i ==   9) return "sourceIPv4Mask"; 	if (i ==  29) return "sourceIPv6Mask"; 	if (i ==  44) return "sourceIPv4Prefix"; 	if (i ==  12) return "destinationIPv4Address"; 	if (i ==  28) return "destinationIPv6Address"; 	if (i ==  13) return "destinationIPv4Mask"; 	if (i ==  30) return "destinationIPv6Mask"; 	if (i ==  45) return "destinationIPv4Prefix"; 	if (i ==   5) return "classOfServiceIPv4"; 	if (i == 137) return "classOfServiceV6"; 	if (i ==  31) return "flowLabelV6"; 	if (i ==  54) return "identificationV4"; 	if (i ==   4) return "protocolIdentifier"; 	if (i ==   7) return "sourceTransportPort"; 	if (i ==  11) return "destinationtransportPort"; 	if (i ==  32) return "icmpTypeCode"; 	if (i ==  33) return "igmpType"; 	if (i ==  56) return "sourceMacAddress"; 	if (i ==  70) return "mplsLabelStackEntry1"; 	if (i ==  71) return "mplsLabelStackEntry2"; 	if (i ==  72) return "mplsLabelStackEntry3"; 	if (i ==  73) return "mplsLabelStackEntry4"; 	if (i ==  74) return "mplsLabelStackEntry5"; 	if (i ==  75) return "mplsLabelStackEntry6"; 	if (i ==  76) return "mplsLabelStackEntry7"; 	if (i ==  77) return "mplsLabelStackEntry8"; 	if (i ==  78) return "mplsLabelStackEntry9"; 	if (i ==  79) return "mplsLabelStackEntry10"; 	if (i ==  15) return "ipNextHopIPv4Address"; 	if (i ==  62) return "ipNextHopIPv6Address"; 	if (i ==  10) return "ingressInterface"; 	if (i ==  14) return "egressInterface"; 	if (i == 129) return "ipNextHopAsNumber"; 	if (i ==  16) return "bgpSourceAsNumber"; 	if (i ==  17) return "bgpDestinationAsNumber"; 	if (i == 128) return "bgpNextHopAsNumber"; 	if (i ==  18) return "bgpNextHopIPv4Address"; 	if (i ==  63) return "bgpNextHopIPv6Address"; 	if (i ==  46) return "mplsTopLabelType"; 	if (i ==  47) return "mplsTopLabelIPv4Address"; 	if (i == 140) return "mplsTopLabelIPv6Address"; 	if (i == 130) return "exporterIPv4Address"; 	if (i == 131) return "exporterIPv6Address"; 	if (i ==  25) return "minPacketLength"; 	if (i ==  26) return "maxPacketLength"; 	if (i ==  52) return "minimumTTL"; 	if (i ==  53) return "maximumTTL"; 	if (i ==  64) return "ipv6OptionHeaders"; 	if (i ==   6) return "tcpControlBits"; 	if (i ==  22) return "flowCreationTime"; 	if (i ==  21) return "flowEndTime"; 	if (i ==  36) return "flowActiveTimeOut"; 	if (i ==  37) return "flowInactiveTimeout"; 	if (i == 136) return "flowEndReason"; 	if (i ==   1) return "inOctetDeltaCount"; 	if (i ==  23) return "outOctetDeltaCount"; 	if (i == 138) return "octetDeltaCount"; 	if (i ==  85) return "octetTotalCount"; 	if (i ==   2) return "inPacketDeltaCount"; 	if (i ==  24) return "outPacketDeltaCount"; 	if (i == 139) return "packetDeltaCount"; 	if (i ==  86) return "packetTotalCount"; 	if (i == 132) return "droppedOctetDeltaCount"; 	if (i == 133) return "droppedOctetTotalCount"; 	if (i == 134) return "droppedPacketDeltaCount"; 	if (i == 135) return "droppedPacketTotalCount"; 	if (i ==  19) return "outMulticastPacketCount"; 	if (i ==  20) return "outMulticastOctetCount"; 	if (i ==   3) return "observedFlowTotalCount"; 	if (i ==  40) return "exportedOctetTotalCount"; 	if (i ==  41) return "exportedPacketTotalCount"; 	if (i ==  42) return "exportedFlowTotalCount"; 	return NULL;	}