Adding ethernet code.