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

Method randval

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

Source from the content-addressed store, hash-verified

2237 return s[len_str + len(self.DELIMITER):], self.m2i(pkt, s[:len_str])
2238
2239 def randval(self):
2240 # type: () -> RandTermString
2241 return RandTermString(RandNum(0, 1200), self.DELIMITER)
2242
2243 def i2len(self, pkt, x):
2244 # type: (Optional[Packet], Any) -> int

Callers

nothing calls this directly

Calls 2

RandTermStringClass · 0.90
RandNumClass · 0.90

Tested by

no test coverage detected