after many changes, the network stack can now be build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1776 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -145,8 +145,9 @@ struct protosw {
|
||||
NET_LAYER3,
|
||||
NET_LAYER4
|
||||
};
|
||||
|
||||
void add_protosw (struct protosw *prt[], int);
|
||||
|
||||
//XXX conflicts with src/add-ons/kernel/network/core/core.c:69
|
||||
// void add_protosw (struct protosw *prt[], int);
|
||||
void add_protocol (struct protosw *, int);
|
||||
void remove_protocol (struct protosw *);
|
||||
#endif
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
#define _SYS_SOCKETVAR_H
|
||||
|
||||
#include <OS.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
struct mbuf;
|
||||
|
||||
struct sockbuf {
|
||||
uint32 sb_cc; /* actual chars in buffer */
|
||||
uint32 sb_hiwat; /* max actual char count (high water mark) */
|
||||
|
||||
Reference in New Issue
Block a user