MCPcopy 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

i2lenMethod · 0.95
post_buildMethod · 0.45
addfieldMethod · 0.45
addfieldMethod · 0.45
post_buildMethod · 0.45
current_smb_timeMethod · 0.45
addfieldMethod · 0.45
i2reprMethod · 0.45

Calls 1

dns_encodeFunction · 0.85

Tested by

no test coverage detected