(self)
| 52 | Thread.__init__(self) |
| 53 | |
| 54 | def run(self): |
| 55 | # Sniff ad infinitum. |
| 56 | # PacketHandler shall be invoked by pcap for every packet. |
| 57 | self.pcap.loop(0, self.packetHandler) |
| 58 | |
| 59 | def packetHandler(self, hdr, data): |
| 60 | # Use the ImpactDecoder to turn the rawpacket into a hierarchy |
nothing calls this directly
no outgoing calls
no test coverage detected