Prepare for native installation on Haiku. The net_stack is located under dev/net_stack to avoid recursive lookup, the network core is at add-ons/kernel/network instead of obos_network.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12292 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -17,7 +17,11 @@
|
||||
|
||||
#include <module.h>
|
||||
|
||||
#ifndef __HAIKU__
|
||||
#define NETWORK_MODULES_ROOT "obos_network/"
|
||||
#else
|
||||
#define NETWORK_MODULES_ROOT "network/"
|
||||
#endif
|
||||
|
||||
struct kernel_net_module_info {
|
||||
module_info info;
|
||||
|
||||
@@ -11,7 +11,12 @@
|
||||
// Forward declaration
|
||||
struct sockaddr;
|
||||
|
||||
#ifndef __HAIKU__
|
||||
#define NET_STACK_DRIVER_DEV "net/stack"
|
||||
#else
|
||||
#define NET_STACK_DRIVER_DEV "net_stack/stack"
|
||||
#endif
|
||||
|
||||
#define NET_STACK_DRIVER_PATH "/dev/" ## NET_STACK_DRIVER_DEV
|
||||
|
||||
enum {
|
||||
|
||||
Reference in New Issue
Block a user