Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/secdev/scapy
/ i2m
Method
i2m
scapy/layers/dns.py:361–362 ·
view source on GitHub ↗
(self, pkt, x)
Source
from the content-addressed store, hash-verified
359
return
x
360
361
def
i2m(self, pkt, x):
362
return
dns_encode(x, check_built=True)
363
364
def
i2len(self, pkt, x):
365
return
len(self.i2m(pkt, x))
Callers
9
i2len
Method · 0.95
post_build
Method · 0.45
addfield
Method · 0.45
addfield
Method · 0.45
post_build
Method · 0.45
current_smb_time
Method · 0.45
addfield
Method · 0.45
i2repr
Method · 0.45
NetflowOptionsFlowset10
Class · 0.45
Calls
1
dns_encode
Function · 0.85
Tested by
no test coverage detected