summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpdw <>2014-01-05 20:04:12 +0000
committerpdw <>2014-01-05 20:04:12 +0000
commit40add9566d8a4bd97c5c299391984c095861b3fb (patch)
tree6572b6967c0f4b4d35bdd08acf75d78ec8a8f4d4
parent836733ba143c8dd4032934297460cccf46d3c018 (diff)
downloadiftop-40add9566d8a4bd97c5c299391984c095861b3fb.zip
Fixing warnings.
-rw-r--r--addrs_ioctl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/addrs_ioctl.h b/addrs_ioctl.h
new file mode 100644
index 0000000..f93a0b4
--- /dev/null
+++ b/addrs_ioctl.h
@@ -0,0 +1,12 @@
+/*
+ * iftop.h:
+ *
+ */
+
+#ifndef __ADDRS_IOCTL_H_ /* include guard */
+#define __ADDRS_IOCTL_H_
+
+int
+get_addrs_ioctl(char *interface, char if_hw_addr[], struct in_addr *if_ip_addr, struct in6_addr *if_ip6_addr);
+
+#endif /* __ADDRS_IOCTL_H_ */