* support proxy tcp stream with kcp to improve experience of tcp over udp
* update rust version
* make subnet proxy route metrics lower in windows.
This commit is contained in:
Sijie.Sun
2025-01-26 00:41:15 +08:00
committed by GitHub
parent 1194ee1c2d
commit 55a39491cb
19 changed files with 723 additions and 164 deletions

View File

@@ -33,7 +33,7 @@ pub trait PeerPacketFilter {
#[async_trait::async_trait]
#[auto_impl::auto_impl(Arc)]
pub trait NicPacketFilter {
async fn try_process_packet_from_nic(&self, data: &mut ZCPacket);
async fn try_process_packet_from_nic(&self, data: &mut ZCPacket) -> bool;
}
type BoxPeerPacketFilter = Box<dyn PeerPacketFilter + Send + Sync>;