PatchworkOS
Loading...
Searching...
No Matches
socket_t Struct Reference

Socket structure. More...

#include <socket.h>

Data Fields

ref_t ref
 
char id [MAX_NAME]
 
char address [MAX_NAME]
 
socket_family_tfamily
 
socket_type_t type
 
path_flags_t flags
 
void * private
 
socket_state_t currentState
 
socket_state_t nextState
 
rwmutex_t mutex
 
dentry_tctlFile
 
dentry_tdataFile
 
dentry_tacceptFile
 

Detailed Description

Socket structure.

Definition at line 80 of file socket.h.

Field Documentation

◆ acceptFile

dentry_t* socket_t::acceptFile

Definition at line 94 of file socket.h.

Referenced by socket_new(), and socket_unmount().

◆ address

char socket_t::address[MAX_NAME]

Definition at line 84 of file socket.h.

◆ ctlFile

dentry_t* socket_t::ctlFile

Definition at line 92 of file socket.h.

Referenced by socket_new(), and socket_unmount().

◆ currentState

◆ dataFile

dentry_t* socket_t::dataFile

Definition at line 93 of file socket.h.

Referenced by socket_new(), and socket_unmount().

◆ family

◆ flags

path_flags_t socket_t::flags

◆ id

char socket_t::id[MAX_NAME]

Definition at line 83 of file socket.h.

Referenced by socket_factory_read(), and socket_new().

◆ mutex

◆ nextState

socket_state_t socket_t::nextState

◆ private

◆ ref

ref_t socket_t::ref

Definition at line 82 of file socket.h.

Referenced by socket_new().

◆ type

socket_type_t socket_t::type

Definition at line 86 of file socket.h.

Referenced by socket_accept_open(), and socket_new().


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