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:
beveloper
2002-10-30 01:21:54 +00:00
parent 7d9ef5af20
commit 42415555d3
68 changed files with 390 additions and 611 deletions
+3 -2
View File
@@ -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
+2 -1
View File
@@ -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) */