Function to pointer in db.c [master]

This functionality will be used and externed (maybe) on other modules of
the project.
Packet analyzed (early ver.)and with switching queues [master]

Packets are analyzed with switching queues a very early version of it.
The next step is to analyze the most common TCP/UDP port (src & dst )
and IP source.