Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of USB_Ethernet by
pico_arp.h
00001 /********************************************************************* 00002 PicoTCP. Copyright (c) 2012 TASS Belgium NV. Some rights reserved. 00003 See LICENSE and COPYING for usage. 00004 00005 *********************************************************************/ 00006 #ifndef _INCLUDE_PICO_ARP 00007 #define _INCLUDE_PICO_ARP 00008 #include "pico_eth.h" 00009 #include "pico_device.h" 00010 00011 int pico_arp_receive(struct pico_frame *); 00012 00013 00014 struct pico_eth *pico_arp_get(struct pico_frame *f); 00015 int pico_arp_query(struct pico_device *dev, struct pico_ip4 *dst); 00016 00017 #define PICO_ARP_STATUS_REACHABLE 0x00 00018 #define PICO_ARP_STATUS_PERMANENT 0x01 00019 #define PICO_ARP_STATUS_STALE 0x02 00020 00021 00022 struct pico_eth *pico_arp_lookup(struct pico_ip4 *dst); 00023 struct pico_ip4 *pico_arp_reverse_lookup(struct pico_eth *dst); 00024 int pico_arp_create_entry(uint8_t* hwaddr, struct pico_ip4 ipv4, struct pico_device* dev); 00025 #endif
Generated on Wed Jul 13 2022 02:20:45 by
1.7.2
