wut v1.8.0
Wii U Toolchain
Loading...
Searching...
No Matches
inet.h
Go to the documentation of this file.
1#pragma once
2#include <netinet/in.h>
3#include <stdint.h>
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9uint32_t
10htonl(uint32_t hostlong);
11
12uint16_t
13htons(uint16_t hostshort);
14
15uint32_t
16ntohl(uint32_t netlong);
17
18uint16_t
19ntohs(uint16_t netshort);
20
22inet_addr(const char *cp);
23
24int
25inet_aton(const char *cp,
26 struct in_addr *inp);
27
28char *
29inet_ntoa(struct in_addr in);
30
31char *
33 char *buf);
34
35const char *
36inet_ntop(int af,
37 const void *src,
38 char *dst,
39 socklen_t size);
40
41int
42inet_pton(int af,
43 const char *src,
44 void *dst);
45
46#ifdef __cplusplus
47}
48#endif
uint32_t in_addr_t
Definition in.h:26
Definition in.h:29
int inet_aton(const char *cp, struct in_addr *inp)
in_addr_t inet_addr(const char *cp)
char * inet_ntoa_r(struct in_addr in, char *buf)
uint32_t ntohl(uint32_t netlong)
uint32_t htonl(uint32_t hostlong)
uint16_t htons(uint16_t hostshort)
char * inet_ntoa(struct in_addr in)
uint16_t ntohs(uint16_t netshort)
const char * inet_ntop(int af, const void *src, char *dst, socklen_t size)
int inet_pton(int af, const char *src, void *dst)
uint32_t socklen_t
Definition socket.h:56