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 PicoTCP by
include/pico_arp.h@29:1a47b7151851, 2013-06-16 (annotated)
- Committer:
- daniele
- Date:
- Sun Jun 16 20:19:44 2013 +0000
- Revision:
- 29:1a47b7151851
- Parent:
- 3:b4047e8a0123
Updated from masterbranch;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
daniele | 3:b4047e8a0123 | 1 | /********************************************************************* |
daniele | 3:b4047e8a0123 | 2 | PicoTCP. Copyright (c) 2012 TASS Belgium NV. Some rights reserved. |
daniele | 3:b4047e8a0123 | 3 | See LICENSE and COPYING for usage. |
daniele | 3:b4047e8a0123 | 4 | |
daniele | 3:b4047e8a0123 | 5 | *********************************************************************/ |
daniele | 3:b4047e8a0123 | 6 | #ifndef _INCLUDE_PICO_ARP |
daniele | 3:b4047e8a0123 | 7 | #define _INCLUDE_PICO_ARP |
daniele | 3:b4047e8a0123 | 8 | #include "pico_eth.h" |
daniele | 3:b4047e8a0123 | 9 | #include "pico_device.h" |
daniele | 3:b4047e8a0123 | 10 | |
daniele | 3:b4047e8a0123 | 11 | int pico_arp_receive(struct pico_frame *); |
daniele | 3:b4047e8a0123 | 12 | |
daniele | 3:b4047e8a0123 | 13 | |
daniele | 3:b4047e8a0123 | 14 | struct pico_eth *pico_arp_get(struct pico_frame *f); |
daniele | 3:b4047e8a0123 | 15 | int pico_arp_query(struct pico_device *dev, struct pico_ip4 *dst); |
daniele | 3:b4047e8a0123 | 16 | |
daniele | 3:b4047e8a0123 | 17 | #define PICO_ARP_STATUS_REACHABLE 0x00 |
daniele | 3:b4047e8a0123 | 18 | #define PICO_ARP_STATUS_PERMANENT 0x01 |
daniele | 3:b4047e8a0123 | 19 | #define PICO_ARP_STATUS_STALE 0x02 |
daniele | 3:b4047e8a0123 | 20 | |
daniele | 3:b4047e8a0123 | 21 | |
daniele | 3:b4047e8a0123 | 22 | struct pico_eth *pico_arp_lookup(struct pico_ip4 *dst); |
daniele | 3:b4047e8a0123 | 23 | struct pico_ip4 *pico_arp_reverse_lookup(struct pico_eth *dst); |
daniele | 3:b4047e8a0123 | 24 | int pico_arp_create_entry(uint8_t* hwaddr, struct pico_ip4 ipv4, struct pico_device* dev); |
daniele | 3:b4047e8a0123 | 25 | #endif |