return 0;
/* Make sure the checksums match. */
- if (ipchksum((uint16_t *) header, sizeof(*header)) != 0)
+ if (ipchksum((u16 *) header, sizeof(*header)) != 0)
return -1;
- if (ipchksum((uint16_t *) (ptr + sizeof(*header)),
+ if (ipchksum((u16 *) (ptr + sizeof(*header)),
header->table_bytes) != header->table_checksum)
return -1;