-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added code to send rhizome announce packets to ARP-detected peers. #24
- Loading branch information
Showing
3 changed files
with
39 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ee418d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is the direction we want to be going in.
The arp table will contain peers who have moved out of range. Sending unicast packets to people who aren't there will waste significant available airtime due to retry behaviour.
In a crowded room this would cause n^2 packets to be sent every second. Even to neighbours that don't need to be poked via unicast.
If we're going to send unicast packets, we must know that they are required. We must be able to send any payload types, not just rhizome announcements.
Any solution probably belongs in the link state tracking layer of our routing protocol.
ee418d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.