Moving the net kit private includes files to /current tree.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@897 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2002-08-27 07:59:57 +00:00
parent a225fd0942
commit 35682cc6b3
13 changed files with 909 additions and 14 deletions
+11 -7
View File
@@ -5,20 +5,26 @@
#ifndef IPV4_MODULE_H
#define IPV4_MODULE_H
#ifndef _KERNEL_MODE
#error "This is a kernel ONLY file"
#endif
#include "net/net_module.h"
#include "net_module.h"
#ifdef _KERNEL_
#include <KernelExport.h>
#define IPV4_MODULE_PATH "network/protocol/ipv4"
#else /* _KERNEL_ */
#define IPV4_MODULE_PATH "modules/protocol/ipv4"
#endif /* _KERNEL_ */
struct ipv4_module_info {
struct kernel_net_module_info info;
#ifndef _KERNEL_
void (*set_core)(struct core_module_info *);
#endif
int (*output)(struct mbuf *,
struct mbuf *,
struct route *,
int, void *);
uint16 (*ip_id)(void);
int (*ctloutput)(int,
struct socket *,
int, int,
@@ -29,6 +35,4 @@ struct ipv4_module_info {
struct mbuf *(*srcroute)(void);
};
extern uint16 ip_id;
#endif /* IPV4_MODULE_H */