PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
net.c File Reference
#include "net.h"
#include "local/local.h"
#include "socket_family.h"
#include <kernel/fs/dentry.h>
#include <kernel/fs/mount.h>
#include <kernel/fs/path.h>
#include <kernel/fs/sysfs.h>
#include <kernel/log/log.h>
#include <kernel/log/panic.h>
#include <kernel/module/module.h>
#include <sys/io.h>
Include dependency graph for net.c:

Go to the source code of this file.

Functions

mount_tnet_get_mount (void)
 Retrieve the mount for the networking subsystem.
 
static uint64_t net_init (void)
 
static void net_deinit (void)
 
uint64_t _module_procedure (const module_event_t *event)
 
 MODULE_INFO ("Networking", "Kai Norberg", "Provides networking and socket IPC functionality", OS_VERSION, "MIT", "BOOT_ALWAYS")
 

Variables

static mount_tmount
 

Function Documentation

◆ net_init()

static uint64_t net_init ( void  )
static

Definition at line 22 of file net.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ net_deinit()

static void net_deinit ( void  )
static

Definition at line 40 of file net.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _module_procedure()

uint64_t _module_procedure ( const module_event_t event)

Definition at line 49 of file net.c.

Here is the call graph for this function:

◆ MODULE_INFO()

MODULE_INFO ( "Networking"  ,
"Kai Norberg"  ,
"Provides networking and socket IPC functionality"  ,
OS_VERSION  ,
"MIT"  ,
"BOOT_ALWAYS"   
)

Variable Documentation

◆ mount

mount_t* mount
static

Definition at line 15 of file net.c.