In order to switch to a faster data structure for searching, the
current algorithm needs to be understood.
In this step the mix of full qualified entries (real data flow) and
general ones (i.e. port forwardings) is separated. This allows to
simplify the search procedures and factor out the common, relevant
search fields.