Searched refs:type_ (Results 1 – 5 of 5) sorted by relevance
/smoltcp-0.9.1/src/wire/ |
D | dns.rs | 291 pub type_: Type, field 302 let type_ = NetworkEndian::read_u16(&rest[0..2]).into(); in parse() localVariable 310 Ok((rest, Question { name, type_ })) in parse() 322 NetworkEndian::write_u16(&mut rest[0..2], self.type_.into()); in emit() 336 pub fn parse(type_: Type, data: &'a [u8]) -> Result<RecordData<'a>> { in parse() 337 match type_ { in parse() 377 let type_ = NetworkEndian::read_u16(&rest[0..2]).into(); in parse() localVariable 395 data: RecordData::parse(type_, data)?, in parse() 569 assert_eq!(p.questions[0].type_, Type::A); in test_parse_request() 602 assert_eq!(p.questions[0].type_, Type::A); in test_parse_response() [all …]
|
D | ipv6option.rs | 224 type_: Type, 240 type_: unknown_type, in parse() 269 type_, in emit() 273 opt.set_option_type(type_); in emit() 347 Repr::Unknown { type_, length, .. } => write!(f, "{type_} length={length} "), in fmt() 463 type_: Type::Unknown(255), in test_option_parse() 486 type_: Type::Unknown(255), in test_option_emit() 531 type_: Type::Unknown(0x11), in test_options_iter()
|
D | ndiscoption.rs | 422 type_: u8, 490 type_: id, in parse() 569 type_: id, in emit() 603 type_: id, length, .. in fmt()
|
/smoltcp-0.9.1/src/socket/ |
D | dns.rs | 80 type_: Type, field 268 type_: query_type, in start_query_raw() 411 if question.type_ != pq.type_ { in process() 482 RecordData::Other(type_, data) => { in process() 483 net_trace!("unknown: {:?} {:?}", type_, data) in process() 568 type_: pq.type_, in dispatch()
|
/smoltcp-0.9.1/src/iface/interface/ |
D | ipv6.rs | 264 Ipv6OptionRepr::Unknown { type_, .. } => { in process_hopbyhop() 265 match Ipv6OptionFailureType::from(type_) { in process_hopbyhop()
|