Free (GPLv2) TCP/IP stack developed by TASS Belgium
Fork of PicoTCP by
include/pico_arp.h
- Committer:
- daniele
- Date:
- 2013-08-03
- Revision:
- 51:18637a3d071f
- Parent:
- 3:b4047e8a0123
File content as of revision 51:18637a3d071f:
/********************************************************************* PicoTCP. Copyright (c) 2012 TASS Belgium NV. Some rights reserved. See LICENSE and COPYING for usage. *********************************************************************/ #ifndef _INCLUDE_PICO_ARP #define _INCLUDE_PICO_ARP #include "pico_eth.h" #include "pico_device.h" int pico_arp_receive(struct pico_frame *); struct pico_eth *pico_arp_get(struct pico_frame *f); int pico_arp_query(struct pico_device *dev, struct pico_ip4 *dst); #define PICO_ARP_STATUS_REACHABLE 0x00 #define PICO_ARP_STATUS_PERMANENT 0x01 #define PICO_ARP_STATUS_STALE 0x02 struct pico_eth *pico_arp_lookup(struct pico_ip4 *dst); struct pico_ip4 *pico_arp_reverse_lookup(struct pico_eth *dst); int pico_arp_create_entry(uint8_t* hwaddr, struct pico_ip4 ipv4, struct pico_device* dev); #endif