Home
last modified time | relevance | path

Searched refs:msg_code (Results 1 – 4 of 4) sorted by relevance

/smoltcp-0.9.1/src/wire/
Dicmpv4.rs230 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()
Dicmpv6.rs289 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()
Dmld.rs447 assert_eq!(packet.msg_code(), 0); in test_query_deconstruct()
488 assert_eq!(packet.msg_code(), 0); in test_record_deconstruct()
Dndisc.rs535 assert_eq!(packet.msg_code(), 0); in test_router_advert_deconstruct()