PatchworkOS  19e446b
A non-POSIX operating system.
Loading...
Searching...
No Matches
socket_t Struct Reference

Socket structure. More...

#include <netfs.h>

Collaboration diagram for socket_t:

Data Fields

ref_t ref
 
list_entry_t listEntry
 
char id [MAX_NAME]
 
char address [MAX_PATH]
 
netfs_family_tfamily
 
socket_type_t type
 
socket_state_t state
 
weak_ptr_t ownerNs
 A weak pointer to the namespace that created the socket.
 
void * data
 
mutex_t mutex
 

Detailed Description

Socket structure.

Definition at line 125 of file netfs.h.

Field Documentation

◆ ref

ref_t socket_t::ref

Definition at line 127 of file netfs.h.

◆ listEntry

list_entry_t socket_t::listEntry

Definition at line 128 of file netfs.h.

◆ id

char socket_t::id[MAX_NAME]

Definition at line 129 of file netfs.h.

◆ address

char socket_t::address[MAX_PATH]

Definition at line 130 of file netfs.h.

◆ family

netfs_family_t* socket_t::family

Definition at line 131 of file netfs.h.

◆ type

socket_type_t socket_t::type

Definition at line 132 of file netfs.h.

◆ state

socket_state_t socket_t::state

Definition at line 133 of file netfs.h.

◆ ownerNs

weak_ptr_t socket_t::ownerNs

A weak pointer to the namespace that created the socket.

Definition at line 134 of file netfs.h.

◆ data

void* socket_t::data

Definition at line 135 of file netfs.h.

◆ mutex

mutex_t socket_t::mutex

Definition at line 136 of file netfs.h.


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