summaryrefslogtreecommitdiff
path: root/net.h
blob: bcd5ca665c8b8abcbab527316086297c32f7ec88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef NET_H_
#define NET_H_
#include <stdint.h>

typedef struct {
	uint8_t ip[4];
	uint8_t net_mask[4];
} iface_info;

uint8_t get_host_address(iface_info *out);

#endif //NET_H_