pacemaker  2.1.9-49aab99839
Scalable High-Availability cluster resource manager
Macros | Functions
ipc_common.c File Reference
#include <crm_internal.h>
#include <stdio.h>
#include <stdint.h>
#include <sys/types.h>
#include <crm/common/xml.h>
#include "crmcommon_private.h"
Include dependency graph for ipc_common.c:

Go to the source code of this file.

Macros

#define MIN_MSG_SIZE   12336
 
#define MAX_MSG_SIZE   128*1024
 

Functions

unsigned int pcmk__ipc_buffer_size (unsigned int max)
 
unsigned int crm_ipc_default_buffer_size (void)
 Return pacemaker's default IPC buffer size. More...
 
bool pcmk__valid_ipc_header (const pcmk__ipc_header_t *header)
 
const char * pcmk__client_type_str (uint64_t client_type)
 

Macro Definition Documentation

◆ MAX_MSG_SIZE

#define MAX_MSG_SIZE   128*1024

Definition at line 20 of file ipc_common.c.

◆ MIN_MSG_SIZE

#define MIN_MSG_SIZE   12336

Definition at line 19 of file ipc_common.c.

Function Documentation

◆ crm_ipc_default_buffer_size()

unsigned int crm_ipc_default_buffer_size ( void  )

Return pacemaker's default IPC buffer size.

Returns
IPC buffer size in bytes

Definition at line 88 of file ipc_common.c.

◆ pcmk__client_type_str()

const char* pcmk__client_type_str ( uint64_t  client_type)

Definition at line 122 of file ipc_common.c.

◆ pcmk__ipc_buffer_size()

unsigned int pcmk__ipc_buffer_size ( unsigned int  max)

Definition at line 31 of file ipc_common.c.

◆ pcmk__valid_ipc_header()

bool pcmk__valid_ipc_header ( const pcmk__ipc_header_t header)

Definition at line 107 of file ipc_common.c.