PayloadParser protocol (expcap v0.1.2) View Source

This protocol indicates a module that is aware of how to convert binary data to a parsed packet.

Link to this section Summary

Functions

Parses the body of a packet into a new packet (presumably of another protocol) For example a UDP packet body may contain a DNS packet.

Link to this section Types

Link to this section Functions

Specs

from_data(binary()) :: any()

Parses the body of a packet into a new packet (presumably of another protocol) For example a UDP packet body may contain a DNS packet.