Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/secdev/scapy
/ randval
Method
randval
scapy/contrib/pfcp.py:447–448 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
445
return
s[length:], self.m2i(pkt, s[:length])
446
447
def
randval(self):
448
return
RandBin(RandNum(0, 2))
449
450
451
class
Int40Field(Field):
Callers
nothing calls this directly
Calls
2
RandBin
Class · 0.90
RandNum
Class · 0.90
Tested by
no test coverage detected