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

Method randval

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

Source from the content-addressed store, hash-verified

1584
1585class PacketField(_PacketFieldSingle[BasePacket]):
1586 def randval(self): # type: ignore
1587 # type: () -> Packet
1588 from scapy.packet import fuzz
1589 return fuzz(self.cls()) # type: ignore
1590
1591
1592class PacketLenField(_PacketFieldSingle[Optional[BasePacket]]):

Callers

nothing calls this directly

Calls 1

fuzzFunction · 0.90

Tested by

no test coverage detected