Do not retransmit Repair responses (#6284)

* Do not retransmit Repair responses

* Add a test

* Refactor neighboring functionality
This commit is contained in:
Sagar Dhawan
2019-10-09 13:11:19 -07:00
committed by GitHub
parent 95d15dc720
commit 32312f3c16
6 changed files with 163 additions and 31 deletions

View File

@@ -41,6 +41,7 @@ pub const PACKETS_BATCH_SIZE: usize = (PACKETS_PER_BATCH * PACKET_DATA_SIZE);
pub struct Meta {
pub size: usize,
pub forward: bool,
pub repair: bool,
pub addr: [u16; 8],
pub port: u16,
pub v6: bool,