MCPcopy Index your code
hub / github.com/secdev/scapy / randval

Method randval

scapy/fields.py:2079–2081  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2077 self.maxlen = maxlen
2078
2079 def randval(self):
2080 # type: () -> RandBin
2081 return RandBin(RandNum(self.minlen, self.maxlen))
2082
2083
2084class FieldListField(Field[List[Any], List[Any]]):

Callers

nothing calls this directly

Calls 2

RandBinClass · 0.90
RandNumClass · 0.90

Tested by

no test coverage detected