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

Data Fields

uint64_t b_magix
 
uint64_t b_cookie
 
struct m0_net_bufferb_buf
 
struct mover b_writer
 
struct m0_bitmap b_done
 
struct bdesc b_peer
 
struct epb_other
 
struct m0_tlink b_linkage
 
m0_bindex_t b_offset
 
m0_bindex_t b_length
 

Detailed Description

Sock structure for a network buffer.

Definition at line 887 of file sock.c.

Field Documentation

◆ b_buf

struct m0_net_buffer* b_buf

Generic network buffer structure.

Definition at line 892 of file sock.c.

◆ b_cookie

uint64_t b_cookie

Cookie identifying the buffer.

Definition at line 890 of file sock.c.

◆ b_done

struct m0_bitmap b_done

Bitmap of received packets.

Definition at line 896 of file sock.c.

◆ b_length

m0_bindex_t b_length

The total size of data expected to be received, copied from packet::p_totalsize.

Definition at line 909 of file sock.c.

◆ b_linkage

struct m0_tlink b_linkage

Linkage in the list of completed buffers (ma::t_done).

Definition at line 902 of file sock.c.

◆ b_magix

uint64_t b_magix

Definition at line 888 of file sock.c.

◆ b_offset

m0_bindex_t b_offset

Not currently used.

Definition at line 904 of file sock.c.

◆ b_other

struct ep* b_other

The other end-point for the transfer.

Definition at line 900 of file sock.c.

◆ b_peer

struct bdesc b_peer

Descriptor of the other buffer in the transfer operation.

Definition at line 898 of file sock.c.

◆ b_writer

struct mover b_writer

Writer moving the data from this buffer.

Definition at line 894 of file sock.c.


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