Lines Matching refs:InvalidPacket
110 _ => Err(Error::InvalidPacket), in to_epoch()
224 _ => return Err(Error::InvalidPacket), in from_bytes()
230 return Err(Error::InvalidPacket); in from_bytes()
236 return Err(Error::InvalidPacket); in from_bytes()
253 return Err(Error::InvalidPacket); in from_bytes()
320 _ => return Err(Error::InvalidPacket), in to_bytes()
417 return Err(Error::InvalidPacket); in pkt_num_len()
463 _ => return Err(Error::InvalidPacket), in decrypt_hdr()
510 .ok_or(Error::InvalidPacket)?; in decrypt_pkt()
572 _ => return Err(Error::InvalidPacket), in encode_pkt_num()
893 assert_eq!(Header::from_bytes(&mut b, 21), Err(Error::InvalidPacket)); in initial_v1_dcid_too_long()
919 assert_eq!(Header::from_bytes(&mut b, 9), Err(Error::InvalidPacket)); in initial_v1_scid_too_long()
2201 Err(Error::InvalidPacket) in decrypt_pkt_underflow()