Home
last modified time | relevance | path

Searched refs:typ (Results 1 – 25 of 74) sorted by relevance

123

/webrtc/dtls/src/handshake/handshake_cache/
H A Dhandshake_cache_test.rs9 typ: 0.into(), in test_handshake_cache_single_push()
16 typ: 0.into(), in test_handshake_cache_single_push()
27 typ: 0.into(), in test_handshake_cache_single_push()
34 typ: 1.into(), in test_handshake_cache_single_push()
41 typ: 2.into(), in test_handshake_cache_single_push()
50 typ: 0.into(), in test_handshake_cache_single_push()
56 typ: 1.into(), in test_handshake_cache_single_push()
62 typ: 2.into(), in test_handshake_cache_single_push()
74 typ: 2.into(), in test_handshake_cache_single_push()
81 typ: 0.into(), in test_handshake_cache_single_push()
[all …]
/webrtc/dtls/src/handshake/
H A Dhandshake_cache.rs16 typ: HandshakeType, field
25 pub(crate) typ: HandshakeType, field
48 typ: HandshakeType, in push()
60 typ, in push()
80 if c.typ == r.typ && c.is_client == r.is_client && c.epoch == r.epoch { in pull()
111 if c.typ == r.typ && c.is_client == r.is_client && c.epoch == r.epoch { in full_pull_map()
127 ci.insert(r.typ, c); in full_pull_map()
134 let t = r.typ; in full_pull_map()
177 typ: HandshakeType::ClientHello, in session_hash()
183 typ: HandshakeType::ServerHello, in session_hash()
[all …]
/webrtc/webrtc/src/api/media_engine/
H A Dmod.rs158 typ: "ccm".to_owned(), in register_default_codecs()
162 typ: "nack".to_owned(), in register_default_codecs()
166 typ: "nack".to_owned(), in register_default_codecs()
318 typ: RTPCodecType, in register_codec()
327 match typ { in register_codec()
349 typ: RTPCodecType, in register_header_extension()
375 if typ == RTPCodecType::Audio { in register_header_extension()
392 match typ { in register_feedback()
480 typ: RTPCodecType, in match_remote_codec()
535 typ: RTPCodecType, in update_header_extension()
[all …]
/webrtc/dtls/src/flight/
H A Dflight6.rs38 typ: HandshakeType::Finished, in parse()
90 typ: HandshakeType::ClientHello, in generate()
96 typ: HandshakeType::ServerHello, in generate()
102 typ: HandshakeType::Certificate, in generate()
108 typ: HandshakeType::ServerKeyExchange, in generate()
114 typ: HandshakeType::CertificateRequest, in generate()
120 typ: HandshakeType::ServerHelloDone, in generate()
126 typ: HandshakeType::Certificate, in generate()
132 typ: HandshakeType::ClientKeyExchange, in generate()
138 typ: HandshakeType::CertificateVerify, in generate()
[all …]
H A Dflight5.rs50 typ: HandshakeType::Finished, in parse()
78 typ: HandshakeType::ClientHello, in parse()
84 typ: HandshakeType::ServerHello, in parse()
90 typ: HandshakeType::Certificate, in parse()
96 typ: HandshakeType::ServerKeyExchange, in parse()
108 typ: HandshakeType::ServerHelloDone, in parse()
114 typ: HandshakeType::Certificate, in parse()
120 typ: HandshakeType::ClientKeyExchange, in parse()
132 typ: HandshakeType::Finished, in parse()
247 typ: HandshakeType::ServerKeyExchange, in generate()
[all …]
H A Dflight3.rs55 typ: HandshakeType::HelloVerifyRequest, in parse()
103 typ: HandshakeType::ServerHello, in parse()
109 typ: HandshakeType::ServerKeyExchange, in parse()
115 typ: HandshakeType::ServerHelloDone, in parse()
129 typ: HandshakeType::ServerHello, in parse()
135 typ: HandshakeType::Certificate, in parse()
141 typ: HandshakeType::ServerKeyExchange, in parse()
147 typ: HandshakeType::CertificateRequest, in parse()
153 typ: HandshakeType::ServerHelloDone, in parse()
/webrtc/sctp/src/param/
H A Dparam_header.rs8 pub(crate) typ: ParamType, field
17 write!(f, "{}", self.typ) in fmt()
33 let typ: ParamType = reader.get_u16().into(); in unmarshal() localVariable
41 typ, in unmarshal()
47 writer.put_u16(self.typ.into()); in marshal_to()
H A Dparam_unknown.rs15 typ: u16, field
28 typ: ParamType::Unknown { in header()
29 param_type: self.typ, in header()
46 typ: header.typ.into(), in unmarshal()
/webrtc/sctp/src/chunk/
H A Dchunk_header.rs23 pub(crate) typ: ChunkType, field
33 write!(f, "{}", self.typ) in fmt()
49 let typ = ChunkType(reader.get_u8()); in unmarshal() localVariable
85 typ, in unmarshal()
92 writer.put_u8(self.typ.0); in marshal_to()
H A Dchunk_heartbeat_ack.rs50 typ: CT_HEARTBEAT_ACK, in header()
59 if header.typ != CT_HEARTBEAT_ACK { in unmarshal()
69 if p.header().typ != ParamType::HeartbeatInfo { in unmarshal()
81 if self.params[0].header().typ != ParamType::HeartbeatInfo { in marshal_to()
H A Dchunk_heartbeat.rs48 typ: CT_HEARTBEAT, in header()
57 if header.typ != CT_HEARTBEAT { in unmarshal()
67 if p.header().typ != ParamType::HeartbeatInfo { in unmarshal()
H A Dchunk_cookie_ack.rs26 typ: CT_COOKIE_ACK, in header()
35 if header.typ != CT_COOKIE_ACK { in unmarshal()
H A Dchunk_shutdown_complete.rs26 typ: CT_SHUTDOWN_COMPLETE, in header()
35 if header.typ != CT_SHUTDOWN_COMPLETE { in unmarshal()
H A Dchunk_shutdown_ack.rs26 typ: CT_SHUTDOWN_ACK, in header()
35 if header.typ != CT_SHUTDOWN_ACK { in unmarshal()
H A Dchunk_init.rs122 typ: if self.is_ack { CT_INIT_ACK } else { CT_INIT }, in header()
147 if !(header.typ == CT_INIT || header.typ == CT_INIT_ACK) { in unmarshal()
182 is_ack: header.typ == CT_INIT_ACK, in unmarshal()
/webrtc/mdns/src/message/
H A Dquestion.rs12 pub typ: DnsType, field
21 self.name, self.typ, self.class in fmt()
35 msg = self.typ.pack(msg); in pack()
H A Dmessage_test.rs27 typ: DnsType::A, in small_test_msg()
33 typ: DnsType::A, in small_test_msg()
42 typ: DnsType::A, in small_test_msg()
51 typ: DnsType::A, in small_test_msg()
70 typ: DnsType::A, in large_test_msg()
77 typ: DnsType::A, in large_test_msg()
86 typ: DnsType::A, in large_test_msg()
145 typ: DnsType::Mx, in large_test_msg()
251 typ: DnsType::A, in test_question_pack_unpack()
761 typ: DnsType::Txt, in test_very_long_txt()
[all …]
/webrtc/stun/src/message/
H A Dmessage_test.rs12 m.typ = MessageType { in test_message_buffer()
139 m.typ = MessageType { in test_message_write_to()
189 typ: m_type, in test_message_bad_length()
214 typ: AttrType(0x1), in test_message_attr_length_less_than_header()
218 typ: m_type, in test_message_attr_length_less_than_header()
244 typ: AttrType(0x1), in test_message_attr_size_less_than_length()
248 typ: m_type, in test_message_attr_size_less_than_length()
399 typ: AttrType(0x1), in test_message_equal()
447 typ: AttrType(0x1), in test_message_equal()
462 typ: AttrType(0x2), in test_message_equal()
[all …]
/webrtc/mdns/src/message/resource/
H A Dmod.rs69 self.header.typ = body.real_type(); in pack()
85 unpack_resource_body(self.header.typ, msg, off, self.header.length as usize)?; in unpack()
114 pub typ: DnsType, field
136 self.name, self.typ, self.class, self.ttl, self.length, in fmt()
152 msg = self.typ.pack(msg); in pack()
163 new_off = self.typ.unpack(msg, new_off)?; in unpack()
206 self.typ = DnsType::Opt; in set_edns0()
251 typ: DnsType, in unpack_resource_body()
256 let mut rb: Box<dyn ResourceBody> = match typ { in unpack_resource_body()
/webrtc/webrtc/src/api/interceptor_registry/
H A Dmod.rs43 typ: "nack".to_owned(), in configure_nack()
50 typ: "nack".to_owned(), in configure_nack()
68 typ: TYPE_RTCP_FB_TRANSPORT_CC.to_owned(), in configure_twcc()
83 typ: TYPE_RTCP_FB_TRANSPORT_CC.to_owned(), in configure_twcc()
137 typ: TYPE_RTCP_FB_TRANSPORT_CC.to_owned(), in configure_twcc_receiver_only()
152 typ: TYPE_RTCP_FB_TRANSPORT_CC.to_owned(), in configure_twcc_receiver_only()
/webrtc/stun/src/
H A Dmessage.rs58 pub typ: MessageType, field
71 self.typ, in fmt()
83 if self.typ != other.typ { in eq()
195 typ: t, // T in add()
246 self.add(a.typ, &a.value); in write_attributes()
254 self.raw[..2].copy_from_slice(&self.typ.value().to_be_bytes()); // message type in write_type()
259 self.typ = t; in set_type()
298 self.typ.read_value(t); in decode()
319 typ: compat_attr_type(u16::from_be_bytes([b[0], b[1]])), // first 2 bytes in decode()
334 a.typ in decode()
[all …]
H A Dattributes.rs20 if candidate.typ == t { in get()
163 pub typ: AttrType, field
170 write!(f, "{}: {:?}", self.typ, self.value) in fmt()
178 m.add(self.typ, &self.value); in add_to()
/webrtc/rtp/src/codecs/h265/
H A Dh265_test.rs10 typ: u8, in test_h265_nalu_header() field
23 typ: 0, in test_h265_nalu_header()
32 typ: 32, in test_h265_nalu_header()
40 typ: 33, in test_h265_nalu_header()
48 typ: 34, in test_h265_nalu_header()
56 typ: 39, in test_h265_nalu_header()
110 typ: u8, in test_h265_fu_header() field
119 typ: 19, in test_h265_fu_header()
140 typ: 1, in test_h265_fu_header()
147 typ: 1, in test_h265_fu_header()
[all …]
/webrtc/stun/benches/
H A Dbench.rs294 let typ = MessageType { in benchmark_message() localVariable
299 typ, in benchmark_message()
318 let typ = MessageType { in benchmark_message() localVariable
323 typ, in benchmark_message()
340 let typ = MessageType { in benchmark_message() localVariable
345 typ, in benchmark_message()
361 let typ = MessageType { in benchmark_message() localVariable
366 typ, in benchmark_message()
428 let typ = MessageType { in benchmark_message() localVariable
433 typ, in benchmark_message()
[all …]
/webrtc/webrtc/src/ice_transport/
H A Dice_candidate.rs25 pub typ: RTCIceCandidateType, field
41 let typ: RTCIceCandidateType = c.candidate_type().into(); in from() localVariable
57 typ, in from()
68 let c = match self.typ { in to_ice()
163 self.protocol, self.typ, self.address, self.port, self.related_address, in fmt()

123