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

Data Fields

uint64_t bs_link_magic
 
enum m0_net_queue_type bs_q
 
int bs_errno
 
struct m0_net_buffer_event bs_ev
 
m0_time_t bs_time
 
uint64_t bs_seq
 
m0_time_t bs_deadline
 
uint64_t bs_cb_nr
 
size_t bs_index_pair
 
struct m0_tlink bs_link
 

Detailed Description

Buffer state

Definition at line 83 of file node_ping.c.

Field Documentation

◆ bs_cb_nr

uint64_t bs_cb_nr

Number of executed callbacks for the test message (sent and received) on the test client.

Definition at line 110 of file node_ping.c.

◆ bs_deadline

m0_time_t bs_deadline

Deadline for messages on the test client

Definition at line 105 of file node_ping.c.

◆ bs_errno

int bs_errno

Result of last buffer enqueue operation. Have non-zero value at the start of test.

Definition at line 92 of file node_ping.c.

◆ bs_ev

struct m0_net_buffer_event bs_ev

Copy of network buffer event. Makes no sense if bs_errno != 0. m0_net_buffer_event.nbe_ep will be set in buffer callback using m0_net_end_point_get().

Definition at line 99 of file node_ping.c.

◆ bs_index_pair

size_t bs_index_pair

Index of corresponding recv buffer for send buffer and send buffer for recv buffer; (test client only).

Definition at line 116 of file node_ping.c.

◆ bs_link

struct m0_tlink bs_link

Link for messages timeout list

Definition at line 118 of file node_ping.c.

◆ bs_link_magic

uint64_t bs_link_magic

Magic for messages timeout list

Definition at line 85 of file node_ping.c.

◆ bs_q

enum m0_net_queue_type bs_q

Queue type

Definition at line 87 of file node_ping.c.

◆ bs_seq

uint64_t bs_seq

Sequence number for test client messages

Definition at line 103 of file node_ping.c.

◆ bs_time

m0_time_t bs_time

Callback executing time

Definition at line 101 of file node_ping.c.


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