Motr  M0
m0_rpc_frm_ops Struct Reference

#include <formation2_internal.h>

Collaboration diagram for m0_rpc_frm_ops:
Collaboration graph

Data Fields

int(* fo_packet_ready )(struct m0_rpc_packet *p)
 

Detailed Description

Events reported by formation to rest of RPC layer.

See also
m0_rpc_frm_default_ops

Definition at line 241 of file formation2_internal.h.

Field Documentation

◆ fo_packet_ready

int(* fo_packet_ready) (struct m0_rpc_packet *p)

A packet is ready to be sent over network.

Returns
0 iff packet has been submitted to network layer. Otherwise the items in packet p are moved to FAILED state and are removed from p. m0_rpc_packet instance pointed by p is freed.
Note
through there is only one implementation instance of this routine in the real code, the UTs code still implement its own version of this routine also and heavily depend on it - that's why we still have this vector here.

Definition at line 254 of file formation2_internal.h.


The documentation for this struct was generated from the following file: