Forgot to commit changes for control() support and some fixes.

Also added header for PPPoE support in ethernet module.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5115 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Waldemar Kornewald
2003-10-23 17:50:45 +00:00
parent 8055343f23
commit 7f015ac671
5 changed files with 40 additions and 6 deletions
+9
View File
@@ -44,6 +44,8 @@ enum {
NET_STACK_NOTIFY_SOCKET_EVENT, // notify_socket_event_args * (userland stack only)
NET_STACK_CONTROL_NET_MODULE,
NET_STACK_IOCTL_MAX
};
@@ -88,6 +90,13 @@ struct sysctl_args { // used by NET_STACK_SYSCTL
size_t newlen;
};
struct control_net_module_args { // used by NET_STACK_CONTROL_NET_MODULE
char *name;
uint32 op;
void *data;
size_t length;
};
/*
Userland stack driver on_socket_event() callback mecanism implementation:
the driver start a kernel thread waiting on a port for