Crate dhcp_protocol

Source

Modules§

identifier

Structs§

AtLeast
AtLeast encodes a lower bound on the inner container’s number of elements.
AtMostBytes
AtMostBytes encodes an upper bound on the inner container’s size in bytes.
Message
A DHCP protocol message as defined in RFC 2131.

Enums§

DhcpOption
A DHCP Option as defined in RFC 2132. DHCP Options provide a mechanism for transmitting configuration parameters between the Server and Client and vice-versa. DHCP Options also include some control and meta information needed for the operation of the DHCP protocol but which could not be included in the DHCP header because of the backwards compatibility requirement with the older BOOTP protocol.
MessageType
A DHCP Message Type.
NodeType
A NetBIOS over TCP/IP Node Type.
OpCode
A DHCP protocol op-code as defined in RFC 2131.
OptionCode
A DHCP option code.
Overload
The DHCP message fields to use for storing additional options.
ProtocolError
SizeConstrainedError

Constants§

CLIENT_IDENTIFIER_MINIMUM_LENGTH
The minimum length, in bytes, of the Client Identifier option.
CLIENT_PORT
The port on which DHCP clients receive messages from DHCP servers.
SERVER_PORT
The port on which DHCP servers receive messages from DHCP clients.
U8_MAX_AS_USIZE

Traits§

FidlCompatible
A type which can be converted to and from a FIDL type F.
FromFidlExt
Utility trait for infallible FIDL conversion.
IntoFidlExt
Utility trait for infallible FIDL conversion.

Functions§

ip_addr_from_buf_at