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

Method randval

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

Source from the content-addressed store, hash-verified

1467 return s[-self.remain:], self.m2i(pkt, s[:-self.remain])
1468
1469 def randval(self):
1470 # type: () -> RandBin
1471 return RandBin(RandNum(0, 1200))
1472
1473
1474class StrField(_StrField[bytes]):

Callers

nothing calls this directly

Calls 2

RandBinClass · 0.90
RandNumClass · 0.90

Tested by

no test coverage detected