MCPcopy Create free account
hub / github.com/secdev/scapy / compress

Method compress

scapy/layers/dns.py:1343–1345  ·  view source on GitHub ↗

Return the compressed DNS packet (using `dns_compress()`)

(self)

Source from the content-addressed store, hash-verified

1341 return pkt + pay
1342
1343 def compress(self):
1344 """Return the compressed DNS packet (using `dns_compress()`)"""
1345 return dns_compress(self)
1346
1347 def pre_dissect(self, s):
1348 """

Callers 4

generate_manuf.pyFile · 0.45
post_buildMethod · 0.45

Calls 1

dns_compressFunction · 0.85

Tested by

no test coverage detected