adding ethernet struct to ip struct