about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--include/netinet/ether.h6
-rw-r--r--src/network/ether.c15
2 files changed, 18 insertions, 3 deletions
diff --git a/include/netinet/ether.h b/include/netinet/ether.h
index c5179d5e..d64c9ef5 100644
--- a/include/netinet/ether.h
+++ b/include/netinet/ether.h
@@ -4,11 +4,11 @@
 #include <netinet/if_ether.h>
 
 char *ether_ntoa (const struct ether_addr *);
-
 struct ether_addr *ether_aton (const char *);
-
 char *ether_ntoa_r (const struct ether_addr *, char *);
-
 struct ether_addr *ether_aton_r (const char *, struct ether_addr *);
+int ether_line(const char *, struct ether_addr *, char *);
+int ether_ntohost(char *, const struct ether_addr *);
+int ether_hostton(const char *, struct ether_addr *);
 
 #endif
diff --git a/src/network/ether.c b/src/network/ether.c
index ac55411a..4304a972 100644
--- a/src/network/ether.c
+++ b/src/network/ether.c
@@ -41,3 +41,18 @@ char *ether_ntoa (const struct ether_addr *p_a) {
 	static char x[18];
 	return ether_ntoa_r (p_a, x);
 }
+
+int ether_line(const char *l, struct ether_addr *e, char *hostname)
+{
+	return -1;
+}
+
+int ether_ntohost(char *hostname, const struct ether_addr *e)
+{
+	return -1;
+}
+
+int ether_hostton(const char *hostname, struct ether_addr *e)
+{
+	return -1;
+}