#ifndef ETHERLINK_H
#define ETHERLINK_H

#include "etherboot.h"

struct  _etherlink
{
	union {
		in_addr device_ip;
		in_addr device_netmask;
		int		use_dhcp;
};

typedef union {
	struct {
		in_addr device_ip;			// Device ip address
		in_addr device_netmask;		// Device net mask
		uint8_t	use_dhcp;			// Use DHCP or static IP configuration
	} config PACKED;		

	uint8_t data[9];
} etherlink;


