2002-07-11 02:10:23 +04:00
|
|
|
/* icmp_module.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ICMP_MODULE_H
|
|
|
|
#define ICMP_MODULE_H
|
|
|
|
|
2002-08-27 11:59:57 +04:00
|
|
|
#include "net_module.h"
|
2002-07-11 02:10:23 +04:00
|
|
|
|
2002-10-30 04:21:54 +03:00
|
|
|
#ifdef _KERNEL_MODE
|
2002-08-27 11:59:57 +04:00
|
|
|
#include <KernelExport.h>
|
2002-07-11 02:10:23 +04:00
|
|
|
#define ICMP_MODULE_PATH "network/protocol/icmp"
|
2002-10-30 04:21:54 +03:00
|
|
|
#else /* _KERNEL_MODE */
|
2002-08-27 11:59:57 +04:00
|
|
|
#define ICMP_MODULE_PATH "modules/protocol/icmp"
|
2002-10-30 04:21:54 +03:00
|
|
|
#endif /* _KERNEL_MODE */
|
2002-07-11 02:10:23 +04:00
|
|
|
|
|
|
|
struct icmp_module_info {
|
|
|
|
struct kernel_net_module_info info;
|
2002-08-27 11:59:57 +04:00
|
|
|
|
2002-10-30 04:21:54 +03:00
|
|
|
#ifndef _KERNEL_MODE
|
2002-08-27 11:59:57 +04:00
|
|
|
void (*set_core)(struct core_module_info *);
|
|
|
|
#endif
|
|
|
|
|
2002-07-11 02:10:23 +04:00
|
|
|
void (*error)(struct mbuf *, int, int, n_long, struct ifnet *);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* ICMP_MODULE_H */
|