Protocol.Udp (expcap v0.1.2) View Source

A parsed UDP packet

Link to this section Summary

Functions

Returns a parsed UDP packet

Parses the header of a UDP packet

Link to this section Types

Specs

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

Link to this section Functions

Specs

from_data(binary()) :: t()

Returns a parsed UDP packet

Specs

header(binary()) :: Protocol.Udp.Header.t()

Parses the header of a UDP packet