Lines Matching defs:pack
563 struct grub_net_bootp_packet *pack;
573 nb = grub_netbuff_alloc (sizeof (*pack));
579 err = grub_netbuff_reserve (nb, sizeof (*pack) + 64 + 128);
585 err = grub_netbuff_push (nb, sizeof (*pack) + 64);
591 pack = (void *) nb->data;
593 grub_memset (pack, 0, sizeof (*pack) + 64);
594 pack->opcode = 1;
595 pack->hw_type = 1;
596 pack->hw_len = 6;
603 pack->ident = grub_cpu_to_be32 (t);
604 pack->seconds = grub_cpu_to_be16 (t);
606 grub_memcpy (&pack->mac_addr, &ifaces[j].hwaddress.mac, 6);