Write ChangeLog.
This commit is contained in:
parent
4f24b12e1f
commit
423a1849ef
3 changed files with 30 additions and 5 deletions
26
ChangeLog
26
ChangeLog
|
@ -1,3 +1,29 @@
|
|||
2011-06-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
2011-06-07 Manoel Rebelo Abranches <mrabran@gmail.com>
|
||||
|
||||
Network infrastructure.
|
||||
The ARP protocol was made by Paulo Pinatti <ppinatti@br.ibm.com>
|
||||
|
||||
* include/grub/net/arp.h: New file.
|
||||
* include/grub/net/ethernet.h: New file.
|
||||
* include/grub/net/ip.h: New file.
|
||||
* include/grub/net/netbuff.h: New file.
|
||||
* include/grub/net/tftp.h: New file.
|
||||
* include/grub/net/udp.h: New file.
|
||||
* include/grub/net.h: New file.
|
||||
* grub-core/net/arp.c: New file.
|
||||
* grub-core/net/ethernet.c: New file.
|
||||
* grub-core/net/ip.c: New file.
|
||||
* grub-core/net/netbuff.c: New file.
|
||||
* grub-core/net/net.c: New file.
|
||||
* grub-core/net/drivers/emu/emunet.c: New file.
|
||||
* grub-core/net/drivers/ieee1275/ofnet.c: New file.
|
||||
* grub-core/kern/device.c (grub_net_open) : New function.
|
||||
(grub_device_open) : Handle Network device.
|
||||
* grub-core/kern/file.c (grub_file_net_seek) : New function.
|
||||
(grub_file_net_seek): Seek in network device.
|
||||
|
||||
|
||||
2011-05-21 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/disk/arc/arcdisk.c (reopen): Close old handle before
|
||||
|
|
|
@ -84,9 +84,9 @@ tftp_open (struct grub_file *file, const char *filename)
|
|||
if (file->device->net->socket->status != 0)
|
||||
break;
|
||||
/* Retry. */
|
||||
//err = grub_net_send_udp_packet (file->device->net->socket, &nb);
|
||||
// if (err)
|
||||
// return err;
|
||||
/*err = grub_net_send_udp_packet (file->device->net->socket, &nb);
|
||||
if (err)
|
||||
return err;*/
|
||||
}
|
||||
|
||||
if (file->device->net->socket->status == 0)
|
||||
|
|
|
@ -25,7 +25,6 @@ grub_net_send_udp_packet (const grub_net_socket_t socket , struct grub_net_buff
|
|||
grub_err_t
|
||||
grub_net_recv_udp_packet (struct grub_net_buff *nb)
|
||||
{
|
||||
//grub_err_t err;
|
||||
struct udphdr *udph;
|
||||
grub_net_socket_t sock;
|
||||
udph = (struct udphdr *) nb->data;
|
||||
|
@ -41,7 +40,7 @@ grub_net_recv_udp_packet (struct grub_net_buff *nb)
|
|||
/* App protocol remove its own reader. */
|
||||
sock->app->read (sock,nb);
|
||||
|
||||
/* If there is data, puts packet in socket list */
|
||||
/* If there is data, puts packet in socket list. */
|
||||
if ((nb->tail - nb->data) > 0)
|
||||
grub_net_put_packet (&sock->packs, nb);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue