Motr  M0
Motr-keepalive

Data Structures

struct  m0_ha_msg_keepalive_req
 
struct  m0_ha_msg_keepalive_rep
 
struct  m0_ha_keepalive_handler
 

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_HA
 

Functions

static void ha_keepalive_msg_received_cb (struct m0_ha_handler *hh, struct m0_ha *ha, struct m0_ha_link *hl, struct m0_ha_msg *msg, uint64_t tag, void *data)
 
M0_INTERNAL int m0_ha_keepalive_handler_init (struct m0_ha_keepalive_handler *ka, struct m0_ha_dispatcher *hd)
 
M0_INTERNAL void m0_ha_keepalive_handler_fini (struct m0_ha_keepalive_handler *ka)
 
struct m0_ha_msg_keepalive_req M0_XCA_DOMAIN (rpc)
 

Variables

struct m0_ha_keepalive_handler M0_XCA_DOMAIN
 

Detailed Description

TODO s/M0_AMB/bob_of/g

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_HA

Definition at line 31 of file keepalive.c.

Function Documentation

◆ ha_keepalive_msg_received_cb()

static void ha_keepalive_msg_received_cb ( struct m0_ha_handler hh,
struct m0_ha ha,
struct m0_ha_link hl,
struct m0_ha_msg msg,
uint64_t  tag,
void *  data 
)
static

Definition at line 41 of file keepalive.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_ha_keepalive_handler_fini()

M0_INTERNAL void m0_ha_keepalive_handler_fini ( struct m0_ha_keepalive_handler ka)

Definition at line 96 of file keepalive.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_ha_keepalive_handler_init()

M0_INTERNAL int m0_ha_keepalive_handler_init ( struct m0_ha_keepalive_handler ka,
struct m0_ha_dispatcher hd 
)

Definition at line 80 of file keepalive.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ M0_XCA_DOMAIN()

struct m0_ha_msg_keepalive_req M0_XCA_DOMAIN ( rpc  )

Variable Documentation

◆ M0_XCA_DOMAIN

struct m0_ha_keepalive_handler M0_XCA_DOMAIN