adding marshal funcs for ethernet headers