Lines Matching refs:DstUnreachable
16 DstUnreachable = 0x01,
84 Message::DstUnreachable => write!(f, "destination unreachable"), in fmt()
104 pub enum DstUnreachable(u8) {
122 impl fmt::Display for DstUnreachable { implementation
125 DstUnreachable::NoRoute => write!(f, "no route to destination"), in fmt()
126 DstUnreachable::AdminProhibit => write!( in fmt()
130 DstUnreachable::BeyondScope => write!(f, "beyond scope of source address"), in fmt()
131 DstUnreachable::AddrUnreachable => write!(f, "address unreachable"), in fmt()
132 DstUnreachable::PortUnreachable => write!(f, "port unreachable"), in fmt()
133 DstUnreachable::FailedPolicy => { in fmt()
136 DstUnreachable::RejectRoute => write!(f, "reject route to destination"), in fmt()
137 DstUnreachable::Unknown(id) => write!(f, "{id}"), in fmt()
333 Message::DstUnreachable => field::UNUSED.end, in header_len()
504 DstUnreachable { enumerator
505 reason: DstUnreachable,
577 (Message::DstUnreachable, code) => { in parse()
579 Ok(Repr::DstUnreachable { in parse()
580 reason: DstUnreachable::from(code), in parse()
630 &Repr::DstUnreachable { header, data, .. } in buffer_len()
664 Repr::DstUnreachable { in emit()
669 packet.set_msg_type(Message::DstUnreachable); in emit()