| /webrtc/mdns/src/message/ |
| H A D | mod.rs | 26 pub enum DnsType { enum 50 impl From<u16> for DnsType { implementation 53 1 => DnsType::A, in from() 54 2 => DnsType::Ns, in from() 56 6 => DnsType::Soa, in from() 57 12 => DnsType::Ptr, in from() 58 15 => DnsType::Mx, in from() 59 16 => DnsType::Txt, in from() 61 33 => DnsType::Srv, in from() 79 DnsType::A => "A", in fmt() [all …]
|
| H A D | message_test.rs | 27 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 …]
|
| H A D | question.rs | 12 pub typ: DnsType,
|
| H A D | parser.rs | 6 use crate::message::{DnsClass, DnsType}; 110 let mut typ = DnsType::Unsupported; in question() 146 off = DnsType::skip(self.msg, off)?; in skip_question()
|
| /webrtc/mdns/src/message/resource/ |
| H A D | mod.rs | 92 new_off = DnsType::skip(msg, new_off)?; in skip() 114 pub typ: DnsType, 206 self.typ = DnsType::Opt; in set_edns0() 237 fn real_type(&self) -> DnsType; in real_type() argument 251 typ: DnsType, in unpack_resource_body() argument 257 DnsType::A => Box::<AResource>::default(), in unpack_resource_body() 258 DnsType::Ns => Box::<NsResource>::default(), in unpack_resource_body() 260 DnsType::Soa => Box::<SoaResource>::default(), in unpack_resource_body() 261 DnsType::Ptr => Box::<PtrResource>::default(), in unpack_resource_body() 262 DnsType::Mx => Box::<MxResource>::default(), in unpack_resource_body() [all …]
|
| H A D | a.rs | 17 fn real_type(&self) -> DnsType { in real_type() argument 18 DnsType::A in real_type()
|
| H A D | ptr.rs | 18 fn real_type(&self) -> DnsType { in real_type() argument 19 DnsType::Ptr in real_type()
|
| H A D | aaaa.rs | 17 fn real_type(&self) -> DnsType { in real_type() argument 18 DnsType::Aaaa in real_type()
|
| H A D | cname.rs | 17 fn real_type(&self) -> DnsType { in real_type() argument 18 DnsType::Cname in real_type()
|
| H A D | ns.rs | 18 fn real_type(&self) -> DnsType { in real_type() argument 19 DnsType::Ns in real_type()
|
| H A D | mx.rs | 24 fn real_type(&self) -> DnsType { in real_type() argument 25 DnsType::Mx in real_type()
|
| H A D | txt.rs | 22 fn real_type(&self) -> DnsType { in real_type() argument 23 DnsType::Txt in real_type()
|
| H A D | srv.rs | 26 fn real_type(&self) -> DnsType { in real_type() argument 27 DnsType::Srv in real_type()
|
| H A D | soa.rs | 39 fn real_type(&self) -> DnsType { in real_type() argument 40 DnsType::Soa in real_type()
|
| H A D | opt.rs | 43 fn real_type(&self) -> DnsType { in real_type() argument 44 DnsType::Opt in real_type()
|
| /webrtc/mdns/src/conn/ |
| H A D | mod.rs | 221 typ: DnsType::A, in send_question() 362 if a.typ != DnsType::A && a.typ != DnsType::Aaaa { in run() 399 typ: DnsType::A, in send_answer()
|