Searched refs:RCode (Results 1 – 4 of 4) sorted by relevance
| /webrtc/mdns/src/message/ |
| H A D | mod.rs | 166 pub enum RCode { enum 178 impl From<u8> for RCode { implementation 181 0 => RCode::Success, in from() 182 1 => RCode::FormatError, in from() 183 2 => RCode::ServerFailure, in from() 184 3 => RCode::NameError, in from() 185 4 => RCode::NotImplemented, in from() 186 5 => RCode::Refused, in from() 187 _ => RCode::Unsupported, in from() 192 impl fmt::Display for RCode { implementation [all …]
|
| H A D | header.rs | 13 pub rcode: RCode, 162 rcode: RCode::from((self.bits & 0xF) as u8), in header()
|
| H A D | message_test.rs | 217 header: must_edns0_resource_header(4096, 0xfe0 | (RCode::Success as u32), false)?, in large_test_msg() 1175 rcode: RCode::FormatError, in test_option_pack_unpack() 1186 0xfe0 | RCode::FormatError as u32, in test_option_pack_unpack() 1204 rcode: RCode::ServerFailure, in test_option_pack_unpack() 1215 0xff0 | RCode::ServerFailure as u32, in test_option_pack_unpack() 1248 rcode: RCode::NameError, in test_option_pack_unpack() 1260 0xff0 | RCode::NameError as u32, in test_option_pack_unpack() 1273 0xff0 | RCode::NameError as u32, in test_option_pack_unpack()
|
| /webrtc/mdns/src/message/resource/ |
| H A D | mod.rs | 223 pub fn extended_rcode(&self, rcode: RCode) -> RCode { in extended_rcode() argument 227 return RCode::from(ttl); in extended_rcode()
|