ff3cf53035
to help avoiding conflict with BONE one for example... Update each network module name to use this prefix. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6035 a95241bf-73f2-0310-859d-f6bbb57e9c96
24 lines
466 B
C
24 lines
466 B
C
/*
|
|
ethernet_module.h
|
|
*/
|
|
|
|
#ifndef ETHERNET_MODULE_H
|
|
#define ETHERNET_MODULE_H
|
|
|
|
#include "net_module.h"
|
|
|
|
#include <KernelExport.h>
|
|
|
|
#define NET_ETHERNET_MODULE_NAME NETWORK_MODULES_ROOT "interfaces/ethernet"
|
|
|
|
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 */
|