Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Ethernet.Packet
SourceEthernet protocols.
pp_proto ppf proto
pretty-prints the ethernet protocol proto
on ppf
.
The type of an Ethernet packet.
sizeof_ethernet
is the byte size of the ethernet header.
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.