PatchworkOS
Loading...
Searching...
No Matches
Networking

Networking and Sockets. More...

Modules

 Local Sockets
 Local Sockets.
 
 Sockets
 Sockets.
 
 Socket Families
 Socket Families.
 

Functions

void net_init (void)
 Initialize the networking subsystem.
 
mount_tnet_get_mount (void)
 Retrieve the mount for the networking subsystem.
 

Detailed Description

Networking and Sockets.

The networking subsystem is exposed as /net and is responsible for providing networking and IPC through sockets.

See also
Sockets for information about sockets.

Function Documentation

◆ net_get_mount()

mount_t * net_get_mount ( void  )

Retrieve the mount for the networking subsystem.

Returns
The mount for the networking subsystem (/net).

Definition at line 25 of file net.c.

References mount, and REF.

Referenced by socket_family_get_dir(), and socket_family_register().

◆ net_init()

void net_init ( void  )

Initialize the networking subsystem.

Definition at line 12 of file net.c.

References LOG_INFO, mount, net_local_init(), NULL, panic(), and sysfs_mount_new().

Referenced by init_finalize().