summaryrefslogtreecommitdiff
path: root/nicutils.h
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-17 08:15:13 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-17 08:15:13 -0400
commitb7d456868f90f6c6f763d18922be9f8fe6ce15e6 (patch)
treedc3f5955011415f5aa127b288e1f16a4f7837290 /nicutils.h
parent54bbd8c592c1679c182dd7aad7860331ea8b4868 (diff)
implemented Go_sys_net_91
Diffstat (limited to 'nicutils.h')
-rw-r--r--nicutils.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/nicutils.h b/nicutils.h
new file mode 100644
index 0000000..b72d073
--- /dev/null
+++ b/nicutils.h
@@ -0,0 +1,21 @@
+/*
+ * nicutils.h
+ *
+ * Created on: 16 Aug 2012
+ * Author: daniel
+ */
+
+#ifndef NICUTILS_H_
+#define NICUTILS_H_
+
+#include <stdbool.h>
+#include <netinet/in.h>
+
+typedef struct {
+ char ip[INET6_ADDRSTRLEN];
+ char mac[18];
+} nicinfo;
+
+bool nicutils_infofordefaultroute(nicinfo* result);
+
+#endif /* NICUTILS_H_ */