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

Method randval

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

Source from the content-addressed store, hash-verified

2441 return s, b2
2442
2443 def randval(self):
2444 # type: () -> RandNum
2445 return RandNum(0, 2**self.size - 1)
2446
2447 def i2len(self, pkt, x): # type: ignore
2448 # type: (Optional[Packet], Optional[float]) -> float

Callers

nothing calls this directly

Calls 1

RandNumClass · 0.90

Tested by

no test coverage detected