void printIPv4(FieldType type, FieldData* data) {
static void printIPv4(FieldType type, FieldData* data) {
void printIPv4(FieldType type, FieldData* data) {	int octet1 = 0;	int octet2 = 0;	int octet3 = 0;	int octet4 = 0;	int imask = 0;	if (type.length >= 1) octet1 = data[0];	if (type.length >= 2) octet2 = data[1];	if (type.length >= 3) octet3 = data[2];	if (type.length >= 4) octet4 = data[3];	if (type.length >= 5) imask = data[4];	if (type.length > 5) {		errorf("IPv4 Address with length %d unparseable", type.length);		return;		}		if (type.length < 5) {		printf("%d.%d.%d.%d", octet1, octet2, octet3, octet4);		} else {		printf("%d.%d.%d.%d/%d", octet1, octet2, octet3, octet4, 32-imask);		}	}