refactoring cleanup of Flowlog_Packets