Searched refs:msg_code (Results 1 – 4 of 4) sorted by relevance
/smoltcp-0.9.1/src/wire/ |
D | icmpv4.rs | 230 pub fn msg_code(&self) -> u8 { in msg_code() method 407 match (packet.msg_type(), packet.msg_code()) { in parse() 565 write!(f, " code={:?}", DstUnreachable::from(self.msg_code())) in fmt() 568 write!(f, " code={:?}", TimeExceeded::from(self.msg_code())) in fmt() 570 _ => write!(f, " code={}", self.msg_code()), in fmt() 650 assert_eq!(packet.msg_code(), 0); in test_echo_deconstruct()
|
D | icmpv6.rs | 289 pub fn msg_code(&self) -> u8 { in msg_code() method 576 match (packet.msg_type(), packet.msg_code()) { in parse() 810 assert_eq!(packet.msg_code(), 0); in test_echo_deconstruct() 865 assert_eq!(packet.msg_code(), 0); in test_too_big_deconstruct()
|
D | mld.rs | 447 assert_eq!(packet.msg_code(), 0); in test_query_deconstruct() 488 assert_eq!(packet.msg_code(), 0); in test_record_deconstruct()
|
D | ndisc.rs | 535 assert_eq!(packet.msg_code(), 0); in test_router_advert_deconstruct()
|