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

Method randval

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

Source from the content-addressed store, hash-verified

1999 return s[len_pkt:], self.m2i(pkt, s[:len_pkt])
2000
2001 def randval(self):
2002 # type: () -> RandBin
2003 return RandBin(RandNum(0, self.max_length or 1200))
2004
2005
2006class _XStrField(Field[bytes, bytes]):

Callers

nothing calls this directly

Calls 2

RandBinClass · 0.90
RandNumClass · 0.90

Tested by

no test coverage detected