|
error_t | arpInit (NetInterface *interface) |
| ARP cache initialization. More...
|
|
error_t | arpEnable (NetInterface *interface, bool_t enable) |
| Enable address resolution using ARP. More...
|
|
error_t | arpAddStaticEntry (NetInterface *interface, Ipv4Addr ipAddr, const MacAddr *macAddr) |
| Add a static entry in the ARP cache. More...
|
|
error_t | arpRemoveStaticEntry (NetInterface *interface, Ipv4Addr ipAddr) |
| Remove a static entry from the ARP cache. More...
|
|
error_t | arpResolve (NetInterface *interface, Ipv4Addr ipAddr, MacAddr *macAddr) |
| Address resolution using ARP protocol. More...
|
|
error_t | arpEnqueuePacket (NetInterface *interface, Ipv4Addr ipAddr, NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary) |
| Enqueue an IPv4 packet waiting for address resolution. More...
|
|
void | arpTick (NetInterface *interface) |
| ARP timer handler. More...
|
|
void | arpProcessPacket (NetInterface *interface, ArpPacket *arpPacket, size_t length) |
| Incoming ARP packet processing. More...
|
|
void | arpProcessRequest (NetInterface *interface, ArpPacket *arpRequest) |
| Incoming ARP request processing. More...
|
|
void | arpProcessReply (NetInterface *interface, ArpPacket *arpReply) |
| Incoming ARP reply processing. More...
|
|
error_t | arpSendProbe (NetInterface *interface, Ipv4Addr targetIpAddr) |
| Send ARP probe. More...
|
|
error_t | arpSendRequest (NetInterface *interface, Ipv4Addr targetIpAddr, const MacAddr *destMacAddr) |
| Send ARP request. More...
|
|
error_t | arpSendReply (NetInterface *interface, Ipv4Addr senderIpAddr, Ipv4Addr targetIpAddr, const MacAddr *targetMacAddr) |
| Send ARP reply. More...
|
|
void | arpDumpPacket (const ArpPacket *arpPacket) |
| Dump ARP packet for debugging purpose. More...
|
|
ARP (Address Resolution Protocol)
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneTCP Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Description
Address Resolution Protocol is used to determine the hardware address of a specific host when only its IPv4 address is known. Refer to RFC 826
- Author
- Oryx Embedded SARL (www.oryx-embedded.com)
- Version
- 2.4.4
Definition in file arp.c.