Handling NET_STACK_CONTROL_NET_MODULE: work in progress...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7452 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c814e51224
commit
b541da436f
@ -50,6 +50,9 @@ commands_info g_commands_info[] = {
|
|||||||
C2N(NET_STACK_GET_COOKIE),
|
C2N(NET_STACK_GET_COOKIE),
|
||||||
C2N(NET_STACK_STOP),
|
C2N(NET_STACK_STOP),
|
||||||
C2N(NET_STACK_NOTIFY_SOCKET_EVENT),
|
C2N(NET_STACK_NOTIFY_SOCKET_EVENT),
|
||||||
|
C2N(NET_STACK_CONTROL_NET_MODULE),
|
||||||
|
|
||||||
|
// Userland IPC-specific opcodes
|
||||||
C2N(NET_STACK_OPEN),
|
C2N(NET_STACK_OPEN),
|
||||||
C2N(NET_STACK_CLOSE),
|
C2N(NET_STACK_CLOSE),
|
||||||
C2N(NET_STACK_NEW_CONNECTION),
|
C2N(NET_STACK_NEW_CONNECTION),
|
||||||
@ -395,6 +398,10 @@ connection_runner(void *_cookie)
|
|||||||
case NET_STACK_STOP:
|
case NET_STACK_STOP:
|
||||||
core->stop();
|
core->stop();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case NET_STACK_CONTROL_NET_MODULE:
|
||||||
|
// TODO!
|
||||||
|
break;
|
||||||
|
|
||||||
case B_SET_BLOCKING_IO:
|
case B_SET_BLOCKING_IO:
|
||||||
cookie->openFlags &= ~O_NONBLOCK;
|
cookie->openFlags &= ~O_NONBLOCK;
|
||||||
|
Loading…
Reference in New Issue
Block a user