[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.227.46.105: ~ $
#ifndef PHP_SOCKADR_CONV_H
#define PHP_SOCKADR_CONV_H

#include <php_network.h>
#include "php_sockets.h" /* php_socket */

#ifndef PHP_WIN32
# include <netinet/in.h>
#else
# include <Winsock2.h>
#endif


/*
 * Convert an IPv6 literal or a hostname info a sockaddr_in6.
 * The IPv6 literal can be a IPv4 mapped address (like ::ffff:127.0.0.1).
 * If the hostname yields no IPv6 addresses, a mapped IPv4 address may be returned (AI_V4MAPPED)
 */
int php_set_inet6_addr(struct sockaddr_in6 *sin6, char *string, php_socket *php_sock TSRMLS_DC);

/*
 * Convert an IPv4 literal or a hostname into a sockaddr_in.
 */
int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock TSRMLS_DC);

/*
 * Calls either php_set_inet6_addr() or php_set_inet_addr(), depending on the type of the socket.
 */
int php_set_inet46_addr(php_sockaddr_storage *ss, socklen_t *ss_len, char *string, php_socket *php_sock TSRMLS_DC);

#endif

Filemanager

Name Type Size Permission Actions
conversions.c File 43.47 KB 0644
conversions.h File 2.51 KB 0644
multicast.c File 21.06 KB 0644
multicast.h File 3.8 KB 0644
php_sockets.h File 3.27 KB 0644
sendrecvmsg.c File 12.37 KB 0644
sendrecvmsg.h File 1.06 KB 0644
sockaddr_conv.c File 3.84 KB 0644
sockaddr_conv.h File 934 B 0644
sockets.c File 61.34 KB 0644
unix_socket_constants.h File 14.45 KB 0644