parse into ethernet header