Home
last modified time | relevance | path

Searched refs:Chunk (Results 1 – 25 of 37) sorted by relevance

12

/webrtc/rtcp/src/extended_report/
H A Dextended_report_test.rs14 chunks: vec![Chunk(0x4006), Chunk(0x0006), Chunk(0x8765), Chunk(0x0000)], in decoded_packet()
23 chunks: vec![Chunk(0x4123), Chunk(0x3FFF), Chunk(0xFFFF), Chunk(0x0000)], in decoded_packet()
H A Drle.rs40 pub struct Chunk(pub u16); struct
42 impl fmt::Display for Chunk { implementation
54 impl Chunk { impl
115 pub chunks: Vec<Chunk>,
234 chunks.push(Chunk(raw_packet.get_u16())); in unmarshal()
/webrtc/util/src/vnet/
H A Dchunk_queue.rs11 chunks: RwLock<VecDeque<Box<dyn Chunk + Send + Sync>>>,
23 pub(crate) async fn push(&self, c: Box<dyn Chunk + Send + Sync>) -> bool { in push()
34 pub(crate) async fn pop(&self) -> Option<Box<dyn Chunk + Send + Sync>> { in pop()
39 pub(crate) async fn peek(&self) -> Option<Box<dyn Chunk + Send + Sync>> { in peek()
H A Dconn.rs7 use crate::vnet::chunk::{Chunk, ChunkUdp};
21 async fn write(&self, c: Box<dyn Chunk + Send + Sync>) -> Result<()>; in write()
26 pub(crate) type ChunkChTx = mpsc::Sender<Box<dyn Chunk + Send + Sync>>;
34 read_ch_rx: Mutex<mpsc::Receiver<Box<dyn Chunk + Send + Sync>>>,
127 let c: Box<dyn Chunk + Send + Sync> = Box::new(chunk); in send_to()
H A Dchunk.rs93 pub trait Chunk: fmt::Display + fmt::Debug { interface
106 fn clone_to(&self) -> Box<dyn Chunk + Send + Sync>; in clone_to()
161 impl Chunk for ChunkUdp {
194 fn clone_to(&self) -> Box<dyn Chunk + Send + Sync> { in clone_to()
268 impl Chunk for ChunkTcp {
301 fn clone_to(&self) -> Box<dyn Chunk + Send + Sync> { in clone_to()
H A Dnat.rs5 use crate::vnet::chunk::Chunk;
158 from: &(dyn Chunk + Send + Sync), in translate_outbound()
159 ) -> Result<Option<Box<dyn Chunk + Send + Sync>>> { in translate_outbound()
289 from: &(dyn Chunk + Send + Sync), in translate_inbound()
290 ) -> Result<Option<Box<dyn Chunk + Send + Sync>>> { in translate_inbound()
H A Drouter.rs67 async fn on_inbound_chunk(&self, c: Box<dyn Chunk + Send + Sync>); in on_inbound_chunk()
74 pub type ChunkFilterFn = Box<dyn (Fn(&(dyn Chunk + Send + Sync)) -> bool) + Send + Sync>;
129 async fn on_inbound_chunk(&self, c: Box<dyn Chunk + Send + Sync>) { in on_inbound_chunk()
130 let from_parent: Box<dyn Chunk + Send + Sync> = { in on_inbound_chunk()
410 pub(crate) async fn push(&self, mut c: Box<dyn Chunk + Send + Sync>) { in push()
/webrtc/sctp/src/chunk/
H A Dchunk_unknown.rs2 use crate::chunk::Chunk;
19 impl Chunk for ChunkUnknown {
H A Dchunk_forward_tsn.rs50 impl Chunk for ChunkForwardTsn {
140 impl Chunk for ChunkForwardTsnStream {
H A Dchunk_cookie_ack.rs23 impl Chunk for ChunkCookieAck {
H A Dchunk_shutdown_complete.rs23 impl Chunk for ChunkShutdownComplete {
H A Dchunk_shutdown_ack.rs23 impl Chunk for ChunkShutdownAck {
H A Dmod.rs29 pub(crate) trait Chunk: fmt::Display + fmt::Debug { interface
H A Dchunk_cookie_echo.rs28 impl Chunk for ChunkCookieEcho {
H A Dchunk_shutdown.rs29 impl Chunk for ChunkShutdown {
H A Dchunk_error.rs46 impl Chunk for ChunkError {
H A Dchunk_heartbeat.rs45 impl Chunk for ChunkHeartbeat {
H A Dchunk_abort.rs44 impl Chunk for ChunkAbort {
H A Dchunk_header.rs37 impl Chunk for ChunkHeader {
H A Dchunk_heartbeat_ack.rs47 impl Chunk for ChunkHeartbeatAck {
/webrtc/sctp/src/
H A Dpacket.rs1 use crate::chunk::Chunk;
60 pub(crate) chunks: Vec<Box<dyn Chunk + Send + Sync>>,
117 let c: Box<dyn Chunk + Send + Sync> = match ct { in unmarshal()
/webrtc/interceptor/src/twcc/
H A Dmod.rs102 last_chunk: Chunk,
188 struct Chunk { struct
194 impl Chunk { argument
H A Dtwcc_test.rs10 let mut c = Chunk::default(); in test_chunk_add()
35 let mut c = Chunk::default(); in test_chunk_add()
64 let mut c = Chunk::default(); in test_chunk_add()
94 let mut c = Chunk::default(); in test_chunk_add()
126 let mut c = Chunk::default(); in test_chunk_add()
/webrtc/util/src/vnet/chunk_queue/
H A Dchunk_queue_test.rs12 let c: Box<dyn Chunk> = Box::new(ChunkUdp::new( in test_chunk_queue()
/webrtc/util/src/vnet/conn/
H A Dconn_test.rs9 read_ch_tx: Arc<Mutex<Option<mpsc::Sender<Box<dyn Chunk + Send + Sync>>>>>,
14 async fn write(&self, c: Box<dyn Chunk + Send + Sync>) -> Result<()> { in write()

12