PSPSDK 2024-10-31
Loading...
Searching...
No Matches
inet.h
Go to the documentation of this file.
1/* arpa/inet.h - Functions for converting IP addresses between strings and numbers */
2
3#ifndef _ARPA_INET_H_
4#define _ARPA_INET_H_
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10#include <netinet/in.h>
11
13int sceNetInetInetAton(const char *ip, struct in_addr *in);
14const char* sceNetInetInetNtop(int af, const void *src, char *dst, socklen_t cnt);
15int sceNetInetInetPton(int af, const char *src, void *dst);
16
17char *inet_ntoa(struct in_addr in);
18#define inet_addr sceNetInetInetAddr
19#define inet_aton sceNetInetInetAton
20#define inet_ntop sceNetInetInetNtop
21#define inet_pton sceNetInetInetPton
22
23#ifdef __cplusplus
24}
25#endif
26#endif /* _ARPA_INET_H_ */
uint32_t in_addr_t
Definition in.h:48
char * inet_ntoa(struct in_addr in)
in_addr_t sceNetInetInetAddr(const char *ip)
int sceNetInetInetAton(const char *ip, struct in_addr *in)
int sceNetInetInetPton(int af, const char *src, void *dst)
const char * sceNetInetInetNtop(int af, const void *src, char *dst, socklen_t cnt)
float x
Definition psptypes.h:0
uint32_t socklen_t
Definition socket.h:75
Definition in.h:133