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

Method hashret

scapy/layers/inet.py:1222–1225  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1220 return p
1221
1222 def hashret(self):
1223 if self.type in icmp_id_seq_types:
1224 return struct.pack("HH", self.id, self.seq) + self.payload.hashret() # noqa: E501
1225 return self.payload.hashret()
1226
1227 def answers(self, other):
1228 if not isinstance(other, ICMP):

Callers

nothing calls this directly

Calls 1

hashretMethod · 0.45

Tested by

no test coverage detected