diff options
Diffstat (limited to 'node/Packet.hpp')
-rw-r--r-- | node/Packet.hpp | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/node/Packet.hpp b/node/Packet.hpp index ade44bf5..e2de9f57 100644 --- a/node/Packet.hpp +++ b/node/Packet.hpp @@ -497,8 +497,22 @@ public: */ VERB_FRAME = 6, - /* TODO: not implemented yet */ - VERB_BRIDGED_FRAME = 7, + /* + * An ethernet frame to or from specified MAC addresses: + * <[8] 64-bit network ID> + * <[6] destination MAC or all zero for destination node> + * <[6] source MAC or all zero for node of origin> + * <[2] 16-bit ethertype> + * <[...] ethernet payload> + * + * Extended frames include full MAC addressing and are used for bridged + * configurations. Theoretically they could carry multicast as well but + * currently they're not used for that. + * + * ERROR may be generated if a membership certificate is needed for a + * closed network. Payload will be network ID. + */ + VERB_EXT_FRAME = 7, /* A multicast frame: * <[2] 16-bit propagation depth or 0xffff for "do not forward"> @@ -543,6 +557,9 @@ public: * set in the bloom filter and addresses outside the propagation restrict * prefix. * + * Active bridges on a network are always added as next hops for all + * multicast and broadcast traffic, as if they "like" all groups. + * * Algorithm for setting bits in bloom filter: * * (1) Place the address in the least significant 40 bits of a 64-bit int. |