php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
fpm_sockets.c File Reference
#include "fpm_config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/un.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include "zlog.h"
#include "fpm_arrays.h"
#include "fpm_sockets.h"
#include "fpm_worker_pool.h"
#include "fpm_unix.h"
#include "fpm_str.h"
#include "fpm_env.h"
#include "fpm_cleanup.h"
#include "fpm_scoreboard.h"

Go to the source code of this file.

Data Structures

struct  listening_socket_s
 

Enumerations

enum  { FPM_GET_USE_SOCKET = 1 , FPM_STORE_SOCKET = 2 , FPM_STORE_USE_SOCKET = 3 }
 

Functions

enum fpm_address_domain fpm_sockets_domain_from_address (char *address)
 
int fpm_sockets_init_main (void)
 
int fpm_socket_get_listening_queue (int sock, unsigned *cur_lq, unsigned *max_lq)
 
int fpm_socket_unix_test_connect (struct sockaddr_un *sock, size_t socklen)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
FPM_GET_USE_SOCKET 
FPM_STORE_SOCKET 
FPM_STORE_USE_SOCKET 

Definition at line 40 of file fpm_sockets.c.

Function Documentation

◆ fpm_socket_get_listening_queue()

int fpm_socket_get_listening_queue ( int sock,
unsigned * cur_lq,
unsigned * max_lq )

Definition at line 644 of file fpm_sockets.c.

◆ fpm_socket_unix_test_connect()

int fpm_socket_unix_test_connect ( struct sockaddr_un * sock,
size_t socklen )

Definition at line 651 of file fpm_sockets.c.

◆ fpm_sockets_domain_from_address()

enum fpm_address_domain fpm_sockets_domain_from_address ( char * address)

Definition at line 292 of file fpm_sockets.c.

◆ fpm_sockets_init_main()

int fpm_sockets_init_main ( void )

Definition at line 438 of file fpm_sockets.c.