Don't forward packets received from TPU forwards port (backport #22078) (#22180)

* Don't forward packets received from TPU forwards port (#22078)

* resolve conflicts
This commit is contained in:
Justin Starry
2022-01-10 14:36:56 +08:00
committed by GitHub
parent a7aa5202ab
commit 05e75ae937
13 changed files with 211 additions and 49 deletions

View File

@@ -18,7 +18,7 @@ pub const PACKET_DATA_SIZE: usize = 1280 - 40 - 8;
#[repr(C)]
pub struct Meta {
pub size: usize,
pub forward: bool,
pub forwarded: bool,
pub repair: bool,
pub discard: bool,
pub addr: [u16; 8],