Module fcp_switching::operation
[−]
[src]
Implements switching operations described in the Whitepaper: shifting routes and reversing bits.
Enums
RoutingDecision |
Representation of where the packet should be sent, according to the label. |
Functions
label_from_u64 | |
reverse_label |
Reverse the bits in a label. |
switch |
Performs a switch operation on the label (using constant director length), as defined by https://github.com/cjdelisle/cjdns/blob/cjdns-v17.4/doc/Whitepaper.md#operation : extracts the director and shifts the other bits to the right, and put the reversed origin interface at the left of the label |
u64_from_label |
Type Definitions
Director |
An interface identifier, unique to a node. |
Label |
An encoding of a path in the network |