net: add missing declaration
This commit is contained in:
parent
73495747b9
commit
0edb682567
@ -39,3 +39,5 @@ struct ArpCacheEntry {
|
|||||||
|
|
||||||
struct ArpCacheEntry * net_arp_cache_get(uint32_t addr);
|
struct ArpCacheEntry * net_arp_cache_get(uint32_t addr);
|
||||||
void net_arp_cache_add(struct EthernetDevice * iface, uint32_t addr, uint8_t * hwaddr, uint16_t flags);
|
void net_arp_cache_add(struct EthernetDevice * iface, uint32_t addr, uint8_t * hwaddr, uint16_t flags);
|
||||||
|
void net_arp_ask(uint32_t addr, fs_node_t * fsnic);
|
||||||
|
|
||||||
|
@ -304,8 +304,6 @@ static void init_tx(struct e1000_nic * device) {
|
|||||||
read_command(device, E1000_REG_TCTRL));
|
read_command(device, E1000_REG_TCTRL));
|
||||||
}
|
}
|
||||||
|
|
||||||
extern void net_arp_ask(uint32_t addr, fs_node_t * fsnic);
|
|
||||||
|
|
||||||
static int ioctl_e1000(fs_node_t * node, unsigned long request, void * argp) {
|
static int ioctl_e1000(fs_node_t * node, unsigned long request, void * argp) {
|
||||||
struct e1000_nic * nic = node->device;
|
struct e1000_nic * nic = node->device;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user