Protocol.Ethernet (expcap v0.1.2) View Source

A parsed ethernet packet

Link to this section Summary

Functions

Returns a parsed ethernet packet.

Returns a parsed ethernet header from an ethernet packet.

Link to this section Types

Specs

t() :: %Protocol.Ethernet{data: binary(), header: Protocol.Ethernet.Header.t()}

Link to this section Functions

Specs

from_data(binary()) :: t()

Returns a parsed ethernet packet.

Specs

Returns a parsed ethernet header from an ethernet packet.