2 * Copyright 2002-2006, Haiku, Inc. All Rights Reserved.
3 * This file may be used under the terms of the MIT License.
8 /*! userland_ipc - Communication between the network driver
9 and the userland stack.
15 #include "net_stack_driver.h"
21 #define NET_STACK_PORTNAME "net_server connection"
24 NET_STACK_OPEN
= NET_STACK_IOCTL_MAX
,
26 NET_STACK_NEW_CONNECTION
,
29 #define MAX_NET_AREAS 16
42 net_area_info area
[MAX_NET_AREAS
];
45 #define CONNECTION_QUEUE_LENGTH 128
46 #define CONNECTION_COMMAND_SIZE 2048
51 thread_id socket_thread
;
53 sem_id commandSemaphore
; // command queue
54 uint32 numCommands
,bufferSize
;
58 extern status_t
init_userland_ipc(void);
59 extern void shutdown_userland_ipc(void);
63 } // end of extern "C"
66 #endif /* USERLAND_IPC_H */