def METHOD_NAME(cls):
    cnt = 0
    for pkt in cls.packet_cap1:
        if IP in pkt:
            if pkt[IP].src == cls.inner_src_ip and pkt[IP].dst == cls.inner_dst_ip:
                cnt = cnt + 1
    return cnt