Ethernet.PacketThe type of an Ethernet packet.
of_cstruct buffer attempts to decode the buffer as ethernet packet. It may result an error if the buffer is too small, or the protocol is not supported.
into_cstruct t cs attempts to encode the ethernet packet t into the buffer cs (at offset 0). This may fail if the buffer is not big enough.