|
error_t | ipSendDatagram (NetInterface *interface, const IpPseudoHeader *pseudoHeader, NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary) |
| Send an IP datagram. More...
|
|
error_t | ipSelectSourceAddr (NetInterface **interface, const IpAddr *destAddr, IpAddr *srcAddr) |
| IP source address selection. More...
|
|
bool_t | ipIsUnspecifiedAddr (const IpAddr *ipAddr) |
| Compare an IP address against the unspecified address. More...
|
|
bool_t | ipIsLinkLocalAddr (const IpAddr *ipAddr) |
| Determine whether an IP address is a link-local address. More...
|
|
bool_t | ipIsMulticastAddr (const IpAddr *ipAddr) |
| Determine whether an IP address is a multicast address. More...
|
|
bool_t | ipIsBroadcastAddr (const IpAddr *ipAddr) |
| Determine whether an IP address is a broadcast address. More...
|
|
bool_t | ipCompAddr (const IpAddr *ipAddr1, const IpAddr *ipAddr2) |
| Compare IP addresses. More...
|
|
bool_t | ipCompPrefix (const IpAddr *ipAddr1, const IpAddr *ipAddr2, size_t length) |
| Compare IP address prefixes. More...
|
|
error_t | ipJoinMulticastGroup (NetInterface *interface, const IpAddr *groupAddr) |
| Join the specified host group. More...
|
|
error_t | ipLeaveMulticastGroup (NetInterface *interface, const IpAddr *groupAddr) |
| Leave the specified host group. More...
|
|
uint16_t | ipCalcChecksum (const void *data, size_t length) |
| IP checksum calculation. More...
|
|
uint16_t | ipCalcChecksumEx (const NetBuffer *buffer, size_t offset, size_t length) |
| Calculate IP checksum over a multi-part buffer. More...
|
|
uint16_t | ipCalcUpperLayerChecksum (const void *pseudoHeader, size_t pseudoHeaderLen, const void *data, size_t dataLen) |
| Calculate IP upper-layer checksum. More...
|
|
uint16_t | ipCalcUpperLayerChecksumEx (const void *pseudoHeader, size_t pseudoHeaderLen, const NetBuffer *buffer, size_t offset, size_t length) |
| Calculate IP upper-layer checksum over a multi-part buffer. More...
|
|
NetBuffer * | ipAllocBuffer (size_t length, size_t *offset) |
| Allocate a buffer to hold an IP packet. More...
|
|
error_t | ipStringToAddr (const char_t *str, IpAddr *ipAddr) |
| Convert a string representation of an IP address to a binary IP address. More...
|
|
char_t * | ipAddrToString (const IpAddr *ipAddr, char_t *str) |
| Convert a binary IP address to a string representation. More...
|
|
IPv4 and IPv6 common routines.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2023 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.
- Author
- Oryx Embedded SARL (www.oryx-embedded.com)
- Version
- 2.3.2
Definition in file ip.h.