Remove ether_driver.h API from the should-be-POSIX-only if.h.
Still some sem_id depedency, thought. Will be split into private and posix files soon. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6038 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -13,7 +13,6 @@
|
|||||||
http://www.opengroup.org/onlinepubs/007904975/basedefs/net/if.h.html
|
http://www.opengroup.org/onlinepubs/007904975/basedefs/net/if.h.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <Drivers.h> /* FIXME */
|
|
||||||
#include <OS.h> /* FIXME */
|
#include <OS.h> /* FIXME */
|
||||||
#include <net/if_types.h>
|
#include <net/if_types.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
@@ -26,16 +25,6 @@ extern "C" {
|
|||||||
/* Forward reference... */
|
/* Forward reference... */
|
||||||
struct socket;
|
struct socket;
|
||||||
|
|
||||||
enum {
|
|
||||||
IF_GETADDR = B_DEVICE_OP_CODES_END,
|
|
||||||
IF_INIT,
|
|
||||||
IF_NONBLOCK,
|
|
||||||
IF_ADDMULTI,
|
|
||||||
IF_REMMULTI,
|
|
||||||
IF_SETPROMISC,
|
|
||||||
IF_GETFRAMESIZE
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Media types are now listed in net/if_types.h */
|
/* Media types are now listed in net/if_types.h */
|
||||||
|
|
||||||
/* Interface flags */
|
/* Interface flags */
|
||||||
|
|||||||
Reference in New Issue
Block a user