finaly implemented analyzeArp