23322333233423352336233723382339234023412342
int match = 0; int delivered = 0; int ackno = 0; for (int i=0; i < total; i ++) { PacketReference ref = (PacketReference)pfers.get(i); if (ref.matches(sid)) { match ++; if (ref.isAcknowledged(sid)) ackno ++; if (ref.isDelivered(sid)) delivered ++;