Motr  M0
m0_addb2_net Struct Reference
Collaboration diagram for m0_addb2_net:
Collaboration graph

Data Fields

struct m0_mutex ne_lock
 
struct m0_tl ne_queue
 
struct m0_tl ne_src
 
m0_time_t ne_last
 
void(* ne_callback )(struct m0_addb2_net *, void *)
 
void * ne_datum
 

Detailed Description

Addb2 network machine.

Definition at line 61 of file net.c.

Field Documentation

◆ ne_callback

void(* ne_callback) (struct m0_addb2_net *, void *)

Call-back invoked when the machine goes idle.

Definition at line 82 of file net.c.

◆ ne_datum

void* ne_datum

Datum passed to the m0_addb2_net::ne_callback() callback.

Definition at line 86 of file net.c.

◆ ne_last

m0_time_t ne_last

Time when a trace was sent out last time.

Used by m0_addb2_net_tick() to decide when to push traces out.

Definition at line 78 of file net.c.

◆ ne_lock

struct m0_mutex ne_lock

Lock serialising all operations.

Definition at line 63 of file net.c.

◆ ne_queue

struct m0_tl ne_queue

Queue of pending trace objects, linked via m0_addb2_trace_obj::o_linkage.

Definition at line 68 of file net.c.

◆ ne_src

struct m0_tl ne_src

List of connections linked via source::s_linkage.

Definition at line 72 of file net.c.


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