Home
last modified time | relevance | path

Searched refs:RandNum (Results 1 – 9 of 9) sorted by relevance

/external/scapy/scapy/
Dvolatile.py100 class RandNum(RandField): class
130 class RandNumGamma(RandNum):
137 class RandNumGauss(RandNum):
144 class RandNumExpo(RandNum):
151 class RandEnum(RandNum):
158 class RandByte(RandNum):
160 RandNum.__init__(self, 0, 2**8-1)
162 class RandSByte(RandNum):
164 RandNum.__init__(self, -2**7, 2**7-1)
166 class RandShort(RandNum):
[all …]
Dasn1fields.py168 return RandNum(-2**64, 2**64-1)
208 return RandString(RandNum(0, 1000))
213 return RandString(RandNum(0, 1000))
Dfields.py415 return RandBin(RandNum(0,1200))
608 l = RandNum(0,200)
694 return RandBin(RandNum(self.minlen, self.maxlen))
786 return RandTermString(RandNum(0,1200),b"\x00")
802 return RandTermString(RandNum(0,1200),self.stop)
889 return RandNum(0,2**self.size-1)
/external/scapy/test/
Dfields.uts847 assert(f.i2repr_one(None, RandNum(0, 10)) == '<RandNum>')
848 assert(rf.i2repr_one(None, RandNum(0, 10)) == '<RandNum>')
849 assert(lf.i2repr_one(None, RandNum(0, 10)) == '<RandNum>')
850 assert(fcb.i2repr_one(None, RandNum(0, 10)) == '<RandNum>')
903 assert(f.i2repr_one(None, RandNum(0, 10)) == '<RandNum>')
904 assert(rf.i2repr_one(None, RandNum(0, 10)) == '<RandNum>')
905 assert(lf.i2repr_one(None, RandNum(0, 10)) == '<RandNum>')
906 assert(fcb.i2repr_one(None, RandNum(0, 10)) == '<RandNum>')
Dx509.uts205 assert(isinstance(r, RandNum))
/external/scapy/scapy/modules/
Dp0f.py24 from scapy.volatile import RandInt, RandByte, RandChoice, RandNum, RandShort, RandString
448 'WScale', coef*RandNum(min=1, max=(2**8-1)//coef)))
504 pkt.payload.window = coef * RandNum(min=1, max=(2**16-1)//coef)
/external/scapy/scapy/contrib/
Dgtp.py284 TBCDByteField("imsi", str(RandNum(0, 999999999999999)), 8)]
341 XBitField("NSAPI", RandNum(0, 15), 4) ]
/external/scapy/scapy/layers/
Ddhcp.py178 rndstr = RandBin(RandNum(0,255))
/external/scapy/doc/scapy/
Dusage.rst1080 Dot11Elt(ID="SSID", info=RandString(RandNum(1,50)))/
1212 inter=RandNum(10,40), loop=1 )
1218 inter=RandNum(10,40), loop=1 )