rem: module_list = open_module_list(NET_LAYER_MODULES_ROOT);
add: module_list = open_module_list(NET_MODULES_ROOT);
context: status_t start_layers_manager(){	void 		*module_list;	net_layer 	*layer;	g_layers.first = NULL;		g_layers.lock = create_sem(1, "net_layers list lock");	if (g_layers.lock < B_OK)		return B_ERROR;#ifdef _KERNEL_MODE	set_sem_owner(g_layers.lock, B_SYSTEM_TEAM);#endif	// Load all network/interfaces/* modules and let them	// register any layer they may support by calling init()	module_list = open_module_list(NET_LAYER_MODULES_ROOT);	if (module_list) {		size_t sz;		char module_name[256];		struct net_layer_module_info *nlmi;				sz = sizeof(module_name);		while(read_next_module_name(module_list, module_name, &sz) == B_OK) {			sz = sizeof(module_name);			if (!strlen(module_name))				continue;			dprintf("layers_manager: loading %s layer(s) module\n", module_name);			if (get_module(module_name, (module_info **) &nlmi) != B_OK)				continue;							// this module may have been acquire more time by calling register_layer()			// or have B_KEEP_LOADED flag, so we don't care...			put_module(module_name);		};		close_module_list(module_list);	};	// auto-start layer(s)	acquire_sem(g_layers.lock);	layer = g_layers.first;	while (layer) {		layer->module->init(layer);		layer->module->enable(layer, true);		layer = layer->next;	};	release_sem(g_layers.lock);	puts("net layers manager started.");	return B_OK;}