66MODULE_INFO(
"Networking",
"Kai Norberg",
"Provides networking and socket IPC functionality", OS_VERSION,
"MIT",
#define MODULE_INFO(_name, _author, _description, _version, _licence, _deviceTypes)
Macro to define module information.
#define REF(ptr)
Increment reference count.
#define UNREF(ptr)
Decrement reference count.
@ MOUNT_PROPAGATE_PARENT
Propagate the mount to parent namespaces.
@ MOUNT_PROPAGATE_CHILDREN
Propagate the mount to child namespaces.
#define NULL
Pointer error value.
#define ERR
Integer error value.
void net_local_deinit(void)
Deinitialize the local networking subsystem.
uint64_t net_local_init(void)
Initialize the local networking subsystem.
void socket_family_unregister_all(void)
Unregister all socket families.
mount_t * net_get_mount(void)
Retrieve the mount for the networking subsystem.
static void net_deinit(void)
uint64_t _module_procedure(const module_event_t *event)
static uint64_t net_init(void)
mount_t * sysfs_mount_new(const path_t *parent, const char *name, namespace_t *ns, mount_flags_t flags, mode_t mode, const superblock_ops_t *superblockOps)
Mount a new instance of SysFS.