haiku/headers/private/net/icmp_module.h
Philippe Houdoin 35682cc6b3 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
2002-08-27 07:59:57 +00:00

27 lines
508 B
C

/* icmp_module.h
*/
#ifndef ICMP_MODULE_H
#define ICMP_MODULE_H
#include "net_module.h"
#ifdef _KERNEL_
#include <KernelExport.h>
#define ICMP_MODULE_PATH "network/protocol/icmp"
#else /* _KERNEL_ */
#define ICMP_MODULE_PATH "modules/protocol/icmp"
#endif /* _KERNEL_ */
struct icmp_module_info {
struct kernel_net_module_info info;
#ifndef _KERNEL_
void (*set_core)(struct core_module_info *);
#endif
void (*error)(struct mbuf *, int, int, n_long, struct ifnet *);
};
#endif /* ICMP_MODULE_H */