summaryrefslogtreecommitdiff
path: root/nicutils.h
blob: b72d073a0f20eaae596730f3ced25b989382810c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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_ */