diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-17 08:15:13 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-17 08:15:13 -0400 |
commit | b7d456868f90f6c6f763d18922be9f8fe6ce15e6 (patch) | |
tree | dc3f5955011415f5aa127b288e1f16a4f7837290 /nicutils.h | |
parent | 54bbd8c592c1679c182dd7aad7860331ea8b4868 (diff) |
implemented Go_sys_net_91
Diffstat (limited to 'nicutils.h')
-rw-r--r-- | nicutils.h | 21 |
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_ */ |