Webserver+3d print
ndp_cache.c File Reference
Neighbor and destination cache management. More...
Go to the source code of this file.
Functions | |
NdpNeighborCacheEntry * | ndpCreateNeighborCacheEntry (NetInterface *interface) |
Create a new entry in the Neighbor cache. | |
NdpNeighborCacheEntry * | ndpFindNeighborCacheEntry (NetInterface *interface, const Ipv6Addr *ipAddr) |
Search the Neighbor cache for a given IPv6 address. | |
void | ndpUpdateNeighborCache (NetInterface *interface) |
Periodically update Neighbor cache. | |
void | ndpFlushNeighborCache (NetInterface *interface) |
Flush Neighbor cache. | |
uint_t | ndpSendQueuedPackets (NetInterface *interface, NdpNeighborCacheEntry *entry) |
Send packets that are waiting for address resolution. | |
void | ndpFlushQueuedPackets (NetInterface *interface, NdpNeighborCacheEntry *entry) |
Flush packet queue. | |
NdpDestCacheEntry * | ndpCreateDestCacheEntry (NetInterface *interface) |
Create a new entry in the Destination Cache. | |
NdpDestCacheEntry * | ndpFindDestCacheEntry (NetInterface *interface, const Ipv6Addr *destAddr) |
Search the Destination Cache for a given destination address. | |
void | ndpFlushDestCache (NetInterface *interface) |
Flush Destination Cache. |
Detailed Description
Neighbor and destination cache management.
License
Copyright (C) 2010-2017 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.
- Version:
- 1.7.6
Definition in file ndp_cache.c.
Function Documentation
NdpDestCacheEntry* ndpCreateDestCacheEntry | ( | NetInterface * | interface ) |
Create a new entry in the Destination Cache.
- Parameters:
-
[in] interface Underlying network interface
- Returns:
- Pointer to the newly created entry
Definition at line 372 of file ndp_cache.c.
NdpNeighborCacheEntry* ndpCreateNeighborCacheEntry | ( | NetInterface * | interface ) |
Create a new entry in the Neighbor cache.
- Parameters:
-
[in] interface Underlying network interface
- Returns:
- Pointer to the newly created entry
Definition at line 50 of file ndp_cache.c.
NdpDestCacheEntry* ndpFindDestCacheEntry | ( | NetInterface * | interface, |
const Ipv6Addr * | destAddr | ||
) |
Search the Destination Cache for a given destination address.
- Parameters:
-
[in] interface Underlying network interface [in] destAddr Destination IPv6 address
- Returns:
- A pointer to the matching entry is returned. NULL is returned if the specified address could not be found in the Destination cache
Definition at line 417 of file ndp_cache.c.
NdpNeighborCacheEntry* ndpFindNeighborCacheEntry | ( | NetInterface * | interface, |
const Ipv6Addr * | ipAddr | ||
) |
Search the Neighbor cache for a given IPv6 address.
- Parameters:
-
[in] interface Underlying network interface [in] ipAddr IPv6 address
- Returns:
- A pointer to the matching entry is returned. NULL is returned if the specified IPv6 address could not be found in the Neighbor cache
Definition at line 97 of file ndp_cache.c.
void ndpFlushDestCache | ( | NetInterface * | interface ) |
Flush Destination Cache.
- Parameters:
-
[in] interface Underlying network interface
Definition at line 443 of file ndp_cache.c.
void ndpFlushNeighborCache | ( | NetInterface * | interface ) |
Flush Neighbor cache.
- Parameters:
-
[in] interface Underlying network interface
Definition at line 258 of file ndp_cache.c.
void ndpFlushQueuedPackets | ( | NetInterface * | interface, |
NdpNeighborCacheEntry * | entry | ||
) |
Flush packet queue.
- Parameters:
-
[in] interface Underlying network interface [in] entry Pointer to a Neighbor cache entry
Definition at line 329 of file ndp_cache.c.
uint_t ndpSendQueuedPackets | ( | NetInterface * | interface, |
NdpNeighborCacheEntry * | entry | ||
) |
Send packets that are waiting for address resolution.
- Parameters:
-
[in] interface Underlying network interface [in] entry Pointer to a Neighbor cache entry
- Returns:
- The number of packets that have been sent
Definition at line 284 of file ndp_cache.c.
void ndpUpdateNeighborCache | ( | NetInterface * | interface ) |
Periodically update Neighbor cache.
- Parameters:
-
[in] interface Underlying network interface
Definition at line 127 of file ndp_cache.c.
Generated on Tue Jul 12 2022 17:10:21 by
