Ethernet header + payload

In reply to UvmSv:

Did you mean to declare eh as a dynamic array of bytes and not a single bit?

bit[7:0] eh []

If you meant a struct, where is that struct defined and what does it look like?