1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

9 Commits

Author SHA1 Message Date
benpicco
32def76a3c
Merge pull request #17338 from benpicco/tools/zep_dispatch-mac_pin
tools/zep_dispatch: allow to pin nodes to MAC address
2022-05-06 21:52:13 +02:00
Benjamin Valentin
ce9017e71b tools/zep_dispatch: allow to pin nodes to MAC address
Positions in the topology are handed out first come first serve.
This makes it hard to have a reproducable setup if the ZEP dispatcher is
restarted (e.g. to modify the topology).

Fix this by allowing to specify a MAC address for each node.
If a node with a pinned MAC address connects, it will always be assigned to
the same topology node.
2022-02-22 17:35:04 +01:00
benpicco
120e840b42
Merge pull request #16889 from benpicco/tools/zep_dispatch-topogen
tools/zep_dispatch: add topology generator
2022-01-05 13:47:23 +01:00
Benjamin Valentin
5ef70dbee9 tools/zep_dispatch: replace sniffer instead of ignoring it
There can only be a single sniffer, but instead of ignoring any subsequent
sniffers, replace the existing one.

This avoids the silly behaviour that you can't attach the sniffer anymore
should you ever quit it.
2021-12-07 11:59:42 +01:00
Benjamin Valentin
a711208a75 tools/zep_dispatch: add support for foren6 sniffer 2021-10-27 14:15:31 +02:00
Benjamin Valentin
00868f85ce tools/zep_dispatch: forward based on source addr, not MAC addr
Forward data soly based on the real source IPv6 address, not the virtual
MAC address.

ACK frames don't have a MAC address and should still be forwarded to all
nodes in range.
2021-10-06 17:53:15 +02:00
Benjamin Valentin
3e7999387c tools/zep_dispatch: don't graph links with weight 0 2021-09-24 16:26:36 +02:00
Benjamin Valentin
c81e4d3a2c tools/zep_dispatch: uncrustify 2021-07-06 18:29:25 +02:00
Benjamin Valentin
aa3dfd9b88 tools/zep_dispatch: add support for topologies 2021-07-06 18:21:52 +02:00