grub/net
Paulo de Rezende Pinatti 10830203a0 Added ARP protocol to network stack and fixed bug in grub_netbuff_alloc function.
* include/grub/net/arp.h: added arp header, arp cache entry and related constants and functions
* net/arp.c: added functions arp_init_table, arp_find_entry, arp_resolve and arp_receive
* net/ethernet.c (send_ethernet_packet): replaced hardcoded hardware address by parameter target_addr
* net/ethernet.c (recv_ethernet_packet): added call to arp_receive when packet is of type 0x803 (ARP) and only return when packet is of type determined by parameter ethertype
* net/ip.c (send_ip_packet): added call to arp_resolve to determine hardware address of destination
* net/netbuff.c (grub_netbuff_alloc): fixed swapped parameters in call to grub_memalign
2010-08-13 14:42:16 -03:00
..
ieee1275 Fixed get_card_packet to correctly read data from network card into buffer. 2010-07-29 16:36:17 -03:00
arp.c Added ARP protocol to network stack and fixed bug in grub_netbuff_alloc function. 2010-08-13 14:42:16 -03:00
device.c Initial Implementation of TFTP protocol and new protocol structs. 2010-04-27 18:05:35 -03:00
ethernet.c Added ARP protocol to network stack and fixed bug in grub_netbuff_alloc function. 2010-08-13 14:42:16 -03:00
interface.c Added ARP protocol to network stack and fixed bug in grub_netbuff_alloc function. 2010-08-13 14:42:16 -03:00
ip.c Added ARP protocol to network stack and fixed bug in grub_netbuff_alloc function. 2010-08-13 14:42:16 -03:00
netbuff.c Added ARP protocol to network stack and fixed bug in grub_netbuff_alloc function. 2010-08-13 14:42:16 -03:00
protocol.c Adaptation for the new protocols and interface structs. 2010-06-21 19:15:45 -03:00
tftp.c Added ARP protocol to network stack and fixed bug in grub_netbuff_alloc function. 2010-08-13 14:42:16 -03:00
udp.c Clean Debug messages 2010-06-29 06:50:15 -03:00