Home
last modified time | relevance | path

Searched refs:is_client (Results 1 – 21 of 21) sorted by relevance

/webrtc/dtls/src/handshake/handshake_cache/
H A Dhandshake_cache_test.rs10 is_client: true, in test_handshake_cache_single_push()
18 is_client: true, in test_handshake_cache_single_push()
28 is_client: true, in test_handshake_cache_single_push()
35 is_client: true, in test_handshake_cache_single_push()
42 is_client: true, in test_handshake_cache_single_push()
52 is_client: true, in test_handshake_cache_single_push()
58 is_client: true, in test_handshake_cache_single_push()
64 is_client: true, in test_handshake_cache_single_push()
75 is_client: true, in test_handshake_cache_single_push()
82 is_client: true, in test_handshake_cache_single_push()
[all …]
/webrtc/dtls/src/handshake/
H A Dhandshake_cache.rs17 is_client: bool, field
27 pub(crate) is_client: bool, field
49 is_client: bool, in push()
54 if i.message_sequence == message_sequence && i.is_client == is_client { in push()
61 is_client, 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()
179 is_client: true, in session_hash()
185 is_client: false, in session_hash()
215 is_client: true, in session_hash()
[all …]
/webrtc/dtls/src/flight/
H A Dflight6.rs40 is_client: true, in parse()
92 is_client: true, in generate()
98 is_client: false, in generate()
104 is_client: false, in generate()
110 is_client: false, in generate()
116 is_client: false, in generate()
122 is_client: false, in generate()
128 is_client: true, in generate()
134 is_client: true, in generate()
140 is_client: true, in generate()
[all …]
H A Dflight5.rs52 is_client: false, in parse()
80 is_client: true, in parse()
86 is_client: false, in parse()
92 is_client: false, in parse()
98 is_client: false, in parse()
104 is_client: false, in parse()
116 is_client: true, in parse()
122 is_client: true, in parse()
128 is_client: true, in parse()
134 is_client: true, in parse()
[all …]
H A Dflight3.rs57 is_client: false, in parse()
105 is_client: false, in parse()
111 is_client: false, in parse()
117 is_client: false, in parse()
131 is_client: false, in parse()
137 is_client: false, in parse()
143 is_client: false, in parse()
149 is_client: false, in parse()
155 is_client: false, in parse()
248 srv_cli_str(state.is_client), in parse()
[all …]
H A Dflight4.rs59 is_client: true, in parse()
65 is_client: true, in parse()
71 is_client: true, in parse()
146 is_client: true, in parse()
152 is_client: false, in parse()
158 is_client: false, in parse()
164 is_client: false, in parse()
170 is_client: false, in parse()
182 is_client: true, in parse()
188 is_client: true, in parse()
[all …]
H A Dflight1.rs53 is_client: false, in parse()
59 is_client: false, in parse()
H A Dflight0.rs40 is_client: true, in parse()
85 srv_cli_str(state.is_client), in parse()
H A Dflight2.rs41 is_client: true, in parse()
/webrtc/dtls/src/
H A Dstate.rs33 pub(crate) is_client: bool, field
64 is_client: bool, field
82 is_client: false, in default()
157 is_client: self.is_client, in serialize()
182 self.is_client = serialized.is_client; in deserialize()
219 if self.is_client { in init_cipher_suite()
286 if self.is_client { in export_keying_material()
H A Dhandshaker.rs192 pub(crate) fn srv_cli_str(is_client: bool) -> String { in srv_cli_str()
193 if is_client { in srv_cli_str()
204 srv_cli_str(self.state.is_client), in handshake()
286 srv_cli_str(self.state.is_client), in prepare()
314 …ce!("[handshake:{}] {} handshake_tx is dropped", srv_cli_str(self.state.is_client), self.current_f… in wait()
324 srv_cli_str(self.state.is_client), in wait()
343 …trace!("[handshake:{}] {} -> {}", srv_cli_str(self.state.is_client), self.current_flight.to_string… in wait()
354 …trace!("[handshake:{}] {} retransmit_timer", srv_cli_str(self.state.is_client), self.current_fligh… in wait()
374 …ce!("[handshake:{}] {} handshake_tx is dropped", srv_cli_str(self.state.is_client), self.current_f… in finish()
H A Dconfig.rs157 pub(crate) fn validate_config(is_client: bool, config: &Config) -> Result<()> { in validate_config()
158 if is_client && config.psk.is_some() && config.psk_identity_hint.is_none() { in validate_config()
162 if !is_client && config.psk.is_none() && config.certificates.is_empty() { in validate_config()
/webrtc/dtls/src/conn/
H A Dmod.rs56 is_client: bool, field
147 is_client: bool, in new()
150 validate_config(is_client, &config)?; in new()
230 let flight = if is_client { in new()
238 let flight = if is_client { in new()
246 is_client, in new()
304 is_client, in new()
328 is_client, in new()
527 is_client: bool, in handle_outgoing_packets()
553 is_client, in handle_outgoing_packets()
[all …]
H A Dconn_test.rs491 c.state.is_client = true; in test_export_keying_material()
/webrtc/srtp/src/
H A Dconfig.rs42 is_client: bool, in extract_session_keys_from_dtls()
67 if is_client { in extract_session_keys_from_dtls()
/webrtc/dtls/src/cipher_suite/
H A Dcipher_suite_tls_psk_with_aes_128_gcm_sha256.rs46 is_client: bool, in init()
58 if is_client { in init()
H A Dcipher_suite_aes_128_gcm_sha256.rs63 is_client: bool, in init()
75 if is_client { in init()
H A Dcipher_suite_aes_256_cbc_sha.rs63 is_client: bool, in init()
75 if is_client { in init()
H A Dcipher_suite_aes_128_ccm.rs66 is_client: bool, in init()
78 if is_client { in init()
H A Dmod.rs131 is_client: bool, in init()
/webrtc/sctp/src/association/
H A Dmod.rs285 async fn new(config: Config, is_client: bool) -> Result<(Self, mpsc::Receiver<Option<Error>>)> { in new()
393 if is_client { in new()