Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 20 of 20) sorted by relevance

/webrtc/turn/src/allocation/five_tuple/
H A Dfive_tuple_test.rs37 protocol: PROTO_UDP, in test_five_tuple_equal()
42 protocol: PROTO_UDP, in test_five_tuple_equal()
51 protocol: PROTO_TCP, in test_five_tuple_equal()
56 protocol: PROTO_UDP, in test_five_tuple_equal()
65 protocol: PROTO_UDP, in test_five_tuple_equal()
70 protocol: PROTO_UDP, in test_five_tuple_equal()
79 protocol: PROTO_UDP, in test_five_tuple_equal()
84 protocol: PROTO_UDP, in test_five_tuple_equal()
/webrtc/turn/src/allocation/
H A Dfive_tuple.rs17 pub protocol: Protocol, field
25 protocol: PROTO_UDP, in default()
34 write!(f, "{}_{}_{}", self.protocol, self.src_addr, self.dst_addr) in fmt()
41 .field("protocol", &self.protocol) in fmt()
H A Dmod.rs72 protocol: Protocol, field
104 protocol: PROTO_UDP, in new()
/webrtc/turn/src/proto/
H A Dreqtrans.rs20 pub protocol: Protocol, field
25 write!(f, "protocol: {}", self.protocol) in fmt()
35 v[0] = self.protocol.0; in add_to()
50 self.protocol = Protocol(v[0]); in get_from()
/webrtc/turn/src/proto/reqtrans/
H A Dreqtrans_test.rs6 protocol: PROTO_UDP, in test_requested_transport_string()
15 r.protocol = Protocol(254); in test_requested_transport_string()
33 protocol: PROTO_UDP, in test_requested_transport_add_to()
43 protocol: PROTO_UDP, in test_requested_transport_add_to()
/webrtc/webrtc/src/ice_transport/
H A Dice_candidate.rs23 pub protocol: RTCIceProtocol, field
42 let protocol = RTCIceProtocol::from(c.network_type().network_short().as_str()); in from() localVariable
54 protocol, in from()
73 network: self.protocol.to_string(), in to_ice()
90 network: self.protocol.to_string(), in to_ice()
107 network: self.protocol.to_string(), in to_ice()
124 network: self.protocol.to_string(), in to_ice()
163 self.protocol, self.typ, self.address, self.port, self.related_address, in fmt()
/webrtc/data/src/message/
H A Dmessage_channel_open.rs151 pub protocol: Vec<u8>, field
157 let protocol_len = self.protocol.len(); in marshal_size()
179 buf.put_u16(self.protocol.len() as u16); in marshal_to()
181 buf.put_slice(self.protocol.as_slice()); in marshal_to()
216 let mut protocol = vec![0; protocol_len]; in unmarshal() localVariable
219 buf.copy_to_slice(&mut protocol[..]); in unmarshal()
226 protocol, in unmarshal()
327 assert_eq!(channel_open.protocol, b"protocol"); in test_channel_open_unmarshal_success()
412 protocol: b"protocol".to_vec(), in test_channel_open_marshal_size()
428 protocol: b"protocol".to_vec(), in test_channel_open_marshal()
H A Dmessage_test.rs27 protocol: b"protocol".to_vec(), in test_message_unmarshal_open_success()
75 protocol: b"protocol".to_vec(), in test_message_marshal()
/webrtc/webrtc/src/data_channel/
H A Ddata_channel_init.rs20 pub protocol: Option<String>, field
H A Ddata_channel_parameters.rs7 pub protocol: String, field
H A Dmod.rs62 pub(crate) protocol: String, field
106 protocol: params.protocol, in new()
165 protocol: self.protocol.clone(), in open()
466 pub fn protocol(&self) -> &str { in protocol() method
467 self.protocol.as_str() in protocol()
H A Ddata_channel_test.rs463 let protocol = "json".to_owned(); in test_data_channel_parameters_protocol_exchange() localVariable
465 protocol: Some(protocol.clone()), in test_data_channel_parameters_protocol_exchange()
474 protocol, in test_data_channel_parameters_protocol_exchange()
475 dc.protocol(), in test_data_channel_parameters_protocol_exchange()
488 protocol, in test_data_channel_parameters_protocol_exchange()
489 d.protocol(), in test_data_channel_parameters_protocol_exchange()
784 protocol: "myprotocol".to_owned(), in test_data_channel_parameters_go()
791 assert_eq!(dc.protocol, dc.protocol(), "should match"); in test_data_channel_parameters_go()
/webrtc/examples/examples/ortc/
H A DREADME.md4 …ommunicate ORTC provides APIs. Users then can implement signaling with whatever protocol they wish.
8 In this example we have defined a simple JSON based signaling protocol.
/webrtc/turn/src/server/
H A Drequest.rs300 protocol: PROTO_UDP, in handle_allocate_request()
349 } else if requested_transport.protocol != PROTO_UDP { in handle_allocate_request()
569 protocol: PROTO_UDP, in handle_refresh_request()
603 protocol: PROTO_UDP, in handle_create_permission_request()
670 protocol: PROTO_UDP, in handle_send_indication()
711 protocol: PROTO_UDP, in handle_channel_bind_request()
780 protocol: PROTO_UDP, in handle_channel_data()
/webrtc/data/src/data_channel/
H A Dmod.rs36 pub protocol: String, field
110 protocol: config.protocol.bytes().collect(), in client()
139 config.protocol = String::from_utf8(dco.protocol)?; in server()
/webrtc/turn/src/server/request/
H A Drequest_test.rs85 protocol: PROTO_UDP, in test_allocation_lifetime_deletion_zero_lifetime()
/webrtc/webrtc/src/stats/
H A Dmod.rs366 pub protocol: String, field
396 protocol: data_channel.protocol.clone(), in from()
/webrtc/webrtc/src/sctp_transport/
H A Dmod.rs287 protocol: dc.config.protocol.clone(), in accept_data_channels()
/webrtc/turn/src/client/
H A Dmod.rs498 protocol: PROTO_UDP, in allocate()
524 protocol: PROTO_UDP, in allocate()
/webrtc/webrtc/src/peer_connection/
H A Dmod.rs1823 if let Some(protocol) = options.protocol { in create_data_channel()
1824 params.protocol = protocol; in create_data_channel()
1828 if params.protocol.len() > 65535 { in create_data_channel()