view net.h @ 1997:e08c489d5602

Fix regressions from most recent address/cd latch change. Need to do more research still, but probably good enough for now
author Mike Pavone <pavone@retrodev.com>
date Sun, 28 Jun 2020 21:31:09 -0700
parents 4f94e0f90c83
children
line wrap: on
line source

#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_