Module mac_command

Module mac_command 

Source

Modules§

identity_filter
Option keys carried in an MacCommand::IdentityRequest payload.
peer_repeater_entry
Option keys carried in one peer-repeater entry.
peer_repeaters_request
Option keys carried in a MacCommand::PeerRepeatersRequest payload.
peer_repeaters_response
Option keys carried in a MacCommand::PeerRepeatersResponse’s leading option block, before the 0xFF that introduces the entries.

Structs§

IdentityRequestBuilder
Builds the option block for an MacCommand::IdentityRequest.
IdentityRequestFilters
Interprets the option block of an MacCommand::IdentityRequest.
PeerRepeaterEntries
Iterator over the entries of a PeerRepeatersResponseView.
PeerRepeaterEntry
One peer repeater to encode into a response, with every field the responder happens to know.
PeerRepeaterEntryView
One peer repeater, as a lazily decoded option list.
PeerRepeatersRequestBuilder
Builds the option block for a MacCommand::PeerRepeatersRequest.
PeerRepeatersRequestView
Interprets the option block of a MacCommand::PeerRepeatersRequest.
PeerRepeatersResponseBuilder
Builds the body of a MacCommand::PeerRepeatersResponse within a byte budget, so a responder packs whatever fits and pages the rest.
PeerRepeatersResponseView
Interprets the body of a MacCommand::PeerRepeatersResponse: the page’s own options, then the entries that follow the end marker.

Enums§

CommandId
MacCommand
OwnedMacCommand

Constants§

PEER_REPEATER_NAME_MAX_LEN
Longest peer name a peer-repeater entry carries.

Functions§

encode
parse