|
Open Model Railroad Network (OpenMRN)
|
#include <netinet/in.h>Go to the source code of this file.
Functions | |
| int | inet_aton (const char *name, struct in_addr *addr) |
| Converts a number-and-dot notation internet address to binary form. | |
| uint32_t | inet_addr (const char *name) |
| Converts a number-and-dot notation internet address to network byte order form. | |
| char * | inet_ntoa (struct in_addr addr) |
| Converts an address to textual representation. | |
| const char * | inet_ntop (int af, const void *src, char *dst, socklen_t size) |
| Convert the network address in src to a character string in src. | |
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file implements POSIX arpa/inet.h prototypes.
Definition in file inet.h.
| uint32_t inet_addr | ( | const char * | name | ) |
Converts a number-and-dot notation internet address to network byte order form.
| name | is the text representation. |
Converts a number-and-dot notation internet address to network byte order form.
| name | string containing dotted decimal representation |
Definition at line 999 of file FreeRTOSTCPSocket.cxx.
| int inet_aton | ( | const char * | name, |
| struct in_addr * | addr | ||
| ) |
Converts a number-and-dot notation internet address to binary form.
| name | standard argument |
| addr | standard argument |
| char * inet_ntoa | ( | struct in_addr | addr | ) |
Converts an address to textual representation.
Not reentrant.
| addr | is the address. |
Converts an address to textual representation.
| addr | an in_addr structure containing the IP address |
Definition at line 987 of file FreeRTOSTCPSocket.cxx.
| const char * inet_ntop | ( | int | af, |
| const void * | src, | ||
| char * | dst, | ||
| socklen_t | size | ||
| ) |
Convert the network address in src to a character string in src.
| af | address family, AF_INET or AF_INET6 |
| src | source address in network byte order |
| dst | resulting address string |
| size | max number characters allowed for the result |
Definition at line 1244 of file net_cc3220/CC32xxSocket.cxx.