MCPcopy Index your code
hub / github.com/secdev/scapy / print_reply

Method print_reply

scapy/ansmachine.py:158–164  ·  view source on GitHub ↗
(self, req, reply)

Source from the content-addressed store, hash-verified

156 self.send_function(reply, **self.optsend)
157
158 def print_reply(self, req, reply):
159 # type: (Packet, _T) -> None
160 if isinstance(reply, PacketList):
161 print("%s ==> %s" % (req.summary(),
162 [res.summary() for res in reply]))
163 else:
164 print("%s ==> %s" % (req.summary(), reply.summary()))
165
166 def reply(self, pkt, send_function=None, address=None):
167 # type: (Packet, Optional[Callable[..., None]], Optional[Any]) -> None

Callers 1

replyMethod · 0.95

Calls 1

summaryMethod · 0.45

Tested by

no test coverage detected