bootp support

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-06-24 20:35:25 +02:00
parent 4700d08bb4
commit 8b51fd98b9
12 changed files with 360 additions and 91 deletions

View file

@ -13,8 +13,8 @@
static int fd;
static grub_err_t
send_card_buffer (struct grub_net_card *dev __attribute__ ((unused)),
static grub_err_t
send_card_buffer (const struct grub_net_card *dev __attribute__ ((unused)),
struct grub_net_buff *pack)
{
ssize_t actual;
@ -27,7 +27,7 @@ send_card_buffer (struct grub_net_card *dev __attribute__ ((unused)),
}
static grub_ssize_t
get_card_packet (struct grub_net_card *dev __attribute__ ((unused)),
get_card_packet (const struct grub_net_card *dev __attribute__ ((unused)),
struct grub_net_buff *pack)
{
ssize_t actual;