/* size_ok() - Check to see if packet size matches size of data we want. Returns 1 for good match or 0 for failure.  */
static int size_ok(vpd_packet_t *packet, unsigned long size)
/* size_ok() - Check to see if packet size matches size of data we want. Returns 1 for good match or 0 for failure.  */
static int size_ok(vpd_packet_t *packet, unsigned long size)
{
    if (packet->size != size) {
	printf("VPD Packet 0x%x corrupt.\n", packet->identifier);
	return 0;
    }
    return 1;
}