Crate ppp_packet

Source
Expand description

Utilities for parsing and serializing PPP packets.

Currently supports parsing and serialization of LCP, IPCP, and IPV6CP packets and their configuration options.

Modules§

ipv4
Utilities for parsing and serializing IPCP options.
ipv6
Utilities for parsing and serializing IPV6CP options.
link
Utilities for parsing and serializing LCP options.
records
Utilities for parsing sequential records.

Structs§

CodeRejectPacket
Wrapper around a parsed on-the-wire code reject packet header and the rest of the packet.
CodeRejectPacketBuilder
Builder for a code reject packet.
ConfigurationPacket
Wrapper around a parsed on-the-wire configuration packet header and the rest of the packet.
ConfigurationPacketBuilder
Builder for a configuration packet.
ControlProtocolPacket
Wrapper around a parsed on-the-wire control protocol header and the rest of the packet.
ControlProtocolPacketBuilder
Builder for a control protocol packet.
EchoDiscardPacket
Wrapper around a parsed on-the-wire echo-discard packet header and the rest of the packet.
EchoDiscardPacketBuilder
Builder for an echo-discard packet.
PppPacket
Wrapper around a parsed on-the-wire PPP header and the rest of the packet.
PppPacketBuilder
Builder for a PPP packet.
ProtocolRejectPacket
Wrapper around a parsed on-the-wire protocol reject packet header and the rest of the packet.
ProtocolRejectPacketBuilder
Builder for a protocol reject packet.
TerminationPacket
Wrapper around a parsed on-the-wire termination packet header and the rest of the packet.
TerminationPacketBuilder
Builder for a termination packet.

Enums§

ParseError
The type of error that occurred while attempting to parse a packet.