copied BSD's ether structs and ntoa to hopefully enable this to work with linux