|
@@ -1,6 +1,10 @@
|
|
#ifndef _NETINET_ETHER_H
|
|
#ifndef _NETINET_ETHER_H
|
|
#define _NETINET_ETHER_H
|
|
#define _NETINET_ETHER_H
|
|
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
+extern "C" {
|
|
|
|
+#endif
|
|
|
|
+
|
|
#include <netinet/if_ether.h>
|
|
#include <netinet/if_ether.h>
|
|
|
|
|
|
char *ether_ntoa (const struct ether_addr *);
|
|
char *ether_ntoa (const struct ether_addr *);
|
|
@@ -11,4 +15,8 @@ int ether_line(const char *, struct ether_addr *, char *);
|
|
int ether_ntohost(char *, const struct ether_addr *);
|
|
int ether_ntohost(char *, const struct ether_addr *);
|
|
int ether_hostton(const char *, struct ether_addr *);
|
|
int ether_hostton(const char *, struct ether_addr *);
|
|
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
+
|
|
#endif
|
|
#endif
|