Home
last modified time | relevance | path

Searched refs:corrupt_bits (Results 1 – 3 of 3) sorted by relevance

/external/scapy/scapy/
Dvolatile.py14 from scapy.utils import corrupt_bits,corrupt_bytes
734 return corrupt_bits(self.s, self.p, self.n)
Dutils.py675 def corrupt_bits(s, p=0.01, n=None): function
/external/scapy/test/
Dregression.uts346 assert(corrupt_bits("ABCDE") in [b"EBCDE", b"ABCDG"])
347 assert(sane(corrupt_bits("ABCDE", n=3)) in ["AF.EE", "QB.TE"])