summaryrefslogtreecommitdiff
path: root/kernel/network/arp.h
blob: e2d2fe1ccab6d827432a77cf618cf4692c177cbd (plain)
1
2
3
4
5
6
7
#include <typedefs.h>

extern ipv4_t ip_address;
void setup_network(ipv4_t _gateway, ipv4_t _bitmask);
int get_mac_from_ip(const ipv4_t ip, u8 mac[6]);
void send_arp_request(const ipv4_t ip);
void handle_arp(const u8 *payload);