2003-10-23 21:50:45 +04:00
|
|
|
/*
|
|
|
|
ethernet_module.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ETHERNET_MODULE_H
|
|
|
|
#define ETHERNET_MODULE_H
|
|
|
|
|
|
|
|
#include "net_module.h"
|
|
|
|
|
|
|
|
#include <KernelExport.h>
|
2004-01-13 02:28:41 +03:00
|
|
|
|
|
|
|
#define NET_ETHERNET_MODULE_NAME NETWORK_MODULES_ROOT "interfaces/ethernet"
|
2003-10-23 21:50:45 +04:00
|
|
|
|
|
|
|
typedef void (*ethernet_receiver_func)(struct mbuf *buf);
|
|
|
|
|
|
|
|
struct ethernet_module_info {
|
|
|
|
struct kernel_net_module_info info;
|
|
|
|
|
|
|
|
void (*set_pppoe_receiver)(ethernet_receiver_func func);
|
|
|
|
void (*unset_pppoe_receiver)(void);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* ETHERNET_MODULE_H */
|