API published in:
API deprecated in:
#include <sys/cdefs.h>
#include <sys/_types.h>
#include <machine/endian.h>
Go to the source code of this file.
Data Structures |
|
| struct | in_addr |
| struct | sockaddr_in |
Defines |
|
| #define | IPPROTO_IP 0 |
| #define | IPPROTO_ICMP 1 |
| #define | IPPROTO_TCP 6 |
| #define | IPPROTO_UDP 17 |
| #define | INADDR_ANY (u_int32_t)0x00000000 |
| #define | INADDR_BROADCAST (u_int32_t)0xffffffff |
| #define | htonl(x) __htonl(x) |
| #define | htons(x) __htons(x) |
| #define | ntohl(x) __ntohl(x) |
| #define | ntohs(x) __ntohs(x) |
Typedefs |
|
| typedef __uint8_t | uint8_t |
| typedef __uint16_t | uint16_t |
| typedef __uint32_t | uint32_t |
| typedef uint32_t | in_addr_t |
| typedef uint16_t | in_port_t |
| typedef __sa_family_t | sa_family_t |
Functions |
|
| __BEGIN_DECLS IMPORT_C uint32_t | htonl (uint32_t) |
| IMPORT_C uint16_t | htons (uint16_t) |
| uint32_t | ntohl (uint32_t) |
| uint16_t | ntohs (uint16_t) |
| __BEGIN_DECLS IMPORT_C int | bindresvport (int __sockfd, struct sockaddr_in *__sock_in) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|