php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
sockaddr_conv.c File Reference
#include <php.h>
#include <php_network.h>
#include "php_sockets.h"
#include <netdb.h>
#include <arpa/inet.h>

Go to the source code of this file.

Functions

zend_result php_string_to_if_index (const char *val, unsigned *out)
 
int php_set_inet_addr (struct sockaddr_in *sin, char *string, php_socket *php_sock)
 
int php_set_inet46_addr (php_sockaddr_storage *ss, socklen_t *ss_len, char *string, php_socket *php_sock)
 

Function Documentation

◆ php_set_inet46_addr()

int php_set_inet46_addr ( php_sockaddr_storage * ss,
socklen_t * ss_len,
char * string,
php_socket * php_sock )

Definition at line 117 of file sockaddr_conv.c.

◆ php_set_inet_addr()

int php_set_inet_addr ( struct sockaddr_in * sin,
char * string,
php_socket * php_sock )

Definition at line 87 of file sockaddr_conv.c.

◆ php_string_to_if_index()

zend_result php_string_to_if_index ( const char * val,
unsigned * out )
extern

Definition at line 62 of file multicast.c.