PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
socket_t Struct Reference

Socket structure. More...

#include <socket.h>

Collaboration diagram for socket_t:

Data Fields

ref_t ref
 
char id [MAX_NAME]
 
char address [MAX_NAME]
 
socket_family_tfamily
 
socket_type_t type
 
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 81 of file socket.h.

Field Documentation

◆ ref

ref_t socket_t::ref

Definition at line 83 of file socket.h.

◆ id

char socket_t::id[MAX_NAME]

Definition at line 84 of file socket.h.

◆ address

char socket_t::address[MAX_NAME]

Definition at line 85 of file socket.h.

◆ family

socket_family_t* socket_t::family

Definition at line 86 of file socket.h.

◆ type

socket_type_t socket_t::type

Definition at line 87 of file socket.h.

◆ private

void* socket_t::private

Definition at line 88 of file socket.h.

◆ currentState

socket_state_t socket_t::currentState

Definition at line 89 of file socket.h.

◆ nextState

socket_state_t socket_t::nextState

Definition at line 90 of file socket.h.

◆ mutex

rwmutex_t socket_t::mutex

Definition at line 91 of file socket.h.

◆ ctlFile

dentry_t* socket_t::ctlFile

Definition at line 92 of file socket.h.

◆ dataFile

dentry_t* socket_t::dataFile

Definition at line 93 of file socket.h.

◆ acceptFile

dentry_t* socket_t::acceptFile

Definition at line 94 of file socket.h.


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