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

Method original_length

scapy/fields.py:665–667  ·  view source on GitHub ↗
(self, pkt)

Source from the content-addressed store, hash-verified

663 alignment from its beginning"""
664
665 def original_length(self, pkt):
666 # type: (Packet) -> int
667 return len(pkt.original)
668
669 def getfield(self,
670 pkt, # type: Packet

Callers 1

getfieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected