'called if packet is IPv4/IPv6
check packets using filterfn here'

def IPHandler(self, addr, pkt, ts, **kwargs):

    self.decodedbytes += len(str(pkt))
    self.count += 1
    if (self.isPacketHandlerPresent and self.filterfn(addr)):
        return self.packetHandler(ip=Packet(self, addr, pkt=str(pkt), ts=ts, **kwargs))
