* 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 |
||
|---|---|---|
| .. | ||
| auth.c | ||
| autofs.c | ||
| cmdline.c | ||
| color.c | ||
| completion.c | ||
| context.c | ||
| crypto.c | ||
| datetime.c | ||
| dyncmd.c | ||
| main.c | ||
| menu.c | ||
| menu_entry.c | ||
| menu_text.c | ||
| misc.c | ||
| term.c | ||