Searched refs:content_type (Results 1 – 18 of 18) sorted by relevance
| /webrtc/dtls/src/ |
| H A D | content.rs | 41 pub fn content_type(&self) -> ContentType { in content_type() method 43 Content::ChangeCipherSpec(c) => c.content_type(), in content_type() 44 Content::Alert(c) => c.content_type(), in content_type() 45 Content::Handshake(c) => c.content_type(), in content_type() 46 Content::ApplicationData(c) => c.content_type(), in content_type() 68 pub fn unmarshal<R: Read>(content_type: ContentType, reader: &mut R) -> Result<Self> { in unmarshal() 69 match content_type { in unmarshal()
|
| H A D | listener.rs | 37 let content_type = h.content_type; in listen() localVariable 38 Box::pin(async move { content_type == ContentType::Handshake }) in listen()
|
| H A D | application_data.rs | 17 pub fn content_type(&self) -> ContentType { in content_type() method
|
| /webrtc/dtls/src/record_layer/ |
| H A D | record_layer_header.rs | 39 pub content_type: ContentType, field 52 writer.write_u8(self.content_type as u8)?; in marshal() 66 let content_type = reader.read_u8()?.into(); in unmarshal() localVariable 83 content_type, in unmarshal()
|
| H A D | mod.rs | 42 content_type: content.content_type(), in new() 60 let content = match record_layer_header.content_type { in unmarshal()
|
| H A D | record_layer_test.rs | 84 content_type: ContentType::ChangeCipherSpec, in test_record_layer_round_trip()
|
| /webrtc/dtls/src/crypto/ |
| H A D | crypto_cbc.rs | 66 h.content_type, in encrypt() 95 if h.content_type == ContentType::ChangeCipherSpec { in decrypt() 114 h.content_type, in decrypt()
|
| H A D | crypto_test.rs | 118 content_type: ContentType::ApplicationData, in test_ccm_encryption_and_decryption()
|
| H A D | crypto_gcm.rs | 89 if h.content_type == ContentType::ChangeCipherSpec { in decrypt()
|
| H A D | crypto_ccm.rs | 149 if h.content_type == ContentType::ChangeCipherSpec { in decrypt()
|
| H A D | mod.rs | 510 additional_data[8] = h.content_type as u8; in generate_aead_additional_data()
|
| /webrtc/dtls/src/change_cipher_spec/ |
| H A D | mod.rs | 19 pub fn content_type(&self) -> ContentType { in content_type() method
|
| /webrtc/dtls/src/prf/ |
| H A D | mod.rs | 296 content_type: ContentType, in prf_mac() 306 msg[8] = content_type as u8; in prf_mac()
|
| /webrtc/dtls/src/fragment_buffer/ |
| H A D | mod.rs | 52 if record_layer_header.content_type != ContentType::Handshake { in push()
|
| /webrtc/dtls/src/alert/ |
| H A D | mod.rs | 157 pub fn content_type(&self) -> ContentType { in content_type() method
|
| /webrtc/dtls/src/handshake/ |
| H A D | mod.rs | 182 pub fn content_type(&self) -> ContentType { in content_type() method
|
| /webrtc/dtls/src/conn/ |
| H A D | mod.rs | 662 content_type: p.record.record_layer_header.content_type, in process_handshake_packet()
|
| H A D | conn_test.rs | 2090 h.content_type, in test_protocol_version_validation() 2232 h.content_type, in test_protocol_version_validation()
|