Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/secdev/scapy
/ int2ip
Method
int2ip
scapy/base_classes.py:209–211 ·
view source on GitHub ↗
(val)
Source
from the content-addressed store, hash-verified
207
208
@staticmethod
209
def
int2ip(val):
210
# type: (int) -> str
211
return
socket.inet_ntoa(struct.pack(
'!I'
, val))
212
213
def
__init__(self, net, stop=None, scope=None):
214
# type: (str, Optional[str], Optional[str]) -> None
Callers
3
__iter__
Method · 0.95
choice
Method · 0.95
__repr__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected