inet Reference
File
lib/posix/include/posix/arpa/inet.h
Date
Wednesday, June 25, 2014
Includes
-
<netinet/in.h>
-
<inttypes.h>
- <system/types/in_port_t.h>
- <system/types/in_addr_t.h>
- <system/types/struct_in_addr.h>
- <system/types/uint32_t.h>
- <system/types/uint16_t.h>
- <system/types/socklen_t.h>
- <system/types/inet_addrstrlen.h>
- <system/types/inet6_addrstrlen.h>
Tasks
uint32_t htonl(
uint32_t hostlong );
uint16_t htons(
uint16_t hostshort );
inet_addr
Top
in_addr_t inet_addr(
const char *cp );
inet_ntoa
Top
char * inet_ntoa(
struct in_addr in );
inet_ntop
Top
const char * inet_ntop(
int af,
const void *restrict src,
char *restrict dst,
socklen_t size );
inet_pton
Top
int inet_pton(
int af,
const char *restrict src,
void *restrict dst );
uint32_t ntohl(
uint32_t netlong );
uint16_t ntohs(
uint16_t netshort );
Macros
__XEOS_LIB_POSIX_ARPA_INET_H__
Top
#define __XEOS_LIB_POSIX_ARPA_INET_H__