PatchworkOS
Loading...
Searching...
No Matches
socket_family.h File Reference
#include <kernel/fs/sysfs.h>
#include <kernel/net/socket_type.h>
#include <stdint.h>
#include <sys/io.h>
#include <sys/list.h>

Go to the source code of this file.

Data Structures

struct  socket_factory_t
 Socket Factory structure. More...
 
struct  socket_family_ops_t
 Socket Family operations structure. More...
 
struct  socket_family_t
 Socket Family structure. More...
 

Typedefs

typedef struct socket socket_t
 
typedef struct socket_family socket_family_t
 

Functions

uint64_t socket_family_register (const socket_family_ops_t *ops, const char *name, socket_type_t supportedTypes)
 Register a socket family.
 
void socket_family_unregister (const char *name)
 Unregister a socket family.
 
socket_family_tsocket_family_get (const char *name)
 Get a socket family by name.
 
uint64_t socket_family_get_dir (socket_family_t *family, path_t *outPath)
 Get the directory of a socket family.
 

Typedef Documentation

◆ socket_family_t

typedef struct socket_family socket_family_t

Definition at line 11 of file socket_family.h.

◆ socket_t

typedef struct socket socket_t

Definition at line 10 of file socket_family.h.