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

Socket Factory structure. More...

#include <socket_family.h>

Data Fields

list_entry_t entry
 
socket_type_t type
 
socket_family_tfamily
 
dentry_tfile
 

Detailed Description

Socket Factory structure.

A socket factory is used to create sockets of a specific type within a socket family.

Each factory is exposed as /net/<family_name>/<socket_type>/.

Definition at line 35 of file socket_family.h.

Field Documentation

◆ entry

list_entry_t socket_factory_t::entry

Definition at line 37 of file socket_family.h.

Referenced by socket_family_register().

◆ family

socket_family_t* socket_factory_t::family

Definition at line 39 of file socket_family.h.

Referenced by socket_factory_open(), and socket_family_register().

◆ file

dentry_t* socket_factory_t::file

Definition at line 40 of file socket_family.h.

Referenced by socket_family_register(), and socket_family_unregister().

◆ type

socket_type_t socket_factory_t::type

Definition at line 38 of file socket_family.h.

Referenced by socket_factory_open(), and socket_family_register().


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