bsd_partition_le_enc
bsd_partition_le_enc(ptr + 148 + 16 * i, &d->d_partitions[i]);
void bsd_partition_le_enc(u_char *ptr, struct partition *d);