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

Data Fields

uint64_t s_magix
 
int s_fd
 
uint64_t s_flags
 
struct m0_sm s_sm
 
struct eps_ep
 
struct mover s_reader
 
struct m0_tlink s_linkage
 
m0_time_t s_last
 

Detailed Description

A socket: connection to an end-point.

Definition at line 913 of file sock.c.

Field Documentation

◆ s_ep

struct ep* s_ep

The end-point to which this socket connects.

Definition at line 921 of file sock.c.

◆ s_fd

int s_fd

File descriptor.

Definition at line 916 of file sock.c.

◆ s_flags

uint64_t s_flags

Bit-field of flags taken from enum sock_flags.

Definition at line 918 of file sock.c.

◆ s_last

m0_time_t s_last

Not currently used. Will be used to garbage collect idle sockets.

Definition at line 927 of file sock.c.

◆ s_linkage

struct m0_tlink s_linkage

Linkage in the list of finalised sockets (ma::t_deathrow).

Definition at line 925 of file sock.c.

◆ s_magix

uint64_t s_magix

Definition at line 914 of file sock.c.

◆ s_reader

struct mover s_reader

The reader that handles packets incoming to this socket.

Definition at line 923 of file sock.c.

◆ s_sm

struct m0_sm s_sm

Definition at line 919 of file sock.c.


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