17 panic(
NULL,
"Failed to create /net filesystem");
22 LOG_INFO(
"networking initialized\n");
NORETURN void panic(const interrupt_frame_t *frame, const char *format,...)
Panic the kernel, printing a message and halting.
#define LOG_INFO(format,...)
void net_local_init(void)
Initialize the local networking subsystem.
void net_init(void)
Initialize the networking subsystem.
mount_t * net_get_mount(void)
Retrieve the mount for the networking subsystem.
#define REF(ptr)
Increment reference count.
#define NULL
Pointer error value.
mount_t * sysfs_mount_new(const path_t *parent, const char *name, namespace_t *ns, const superblock_ops_t *superblockOps)
Mount a new instance of SysFS.